일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 쁘띠프랑스
- 이미지주소추출
- 태권브이
- MySQL
- openfire
- 특정 패키지 업데이트 중지 / 해제
- 외래키
- 리플리케이션 오류
- set foreign_key
- php-fpm
- 중독 게임
- 날짜계산
- simplexml_load_filesimplexml
- 태권v
- 재귀쿼리
- 앞으로 가기
- quota
- 워드프레스한글팩
- 훼인
- no key alg
- ssmtp
- 뒤로 가기
- security.limit_extensions
- strtotime
- php
- node.js
- mongodb
- xcache
- rsync
- node 이미지 저장
- Today
- Total
목록프로그래밍/주저리 주저리 (36)
일상 기록 창고
1. 로그의 형식이 아래와 같을 경우. query.log [Wed Apr 18 17:39:25.572 2012] 0.013 sec [ext/2/ext 174 (20,20)] [*] @nickname "^닐리리맘보$" [Wed Apr 18 17:39:25.928 2012] 0.006 sec [ext/2/ext 589 (260,20)] [*] @title "막돼 1" [Wed Apr 18 17:39:26.140 2012] 0.046 sec [ext/2/ext 18289 (1020,20)] [*] @nickname "^야생마차$" [Wed Apr 18 17:39:26.517 2012] 0.0..
rpm 설치를 하였기 때문에 Yum 으로 설치 shell> yum install mod_security modsecurity_localrules.conf 설정. ############################# # 4. 명령어 실행 방지 SecRule ARGS ";[[:space:]]*(ls|pwd|wget|cd)" "msg:'Command execution attack'" SecRule REQUEST_URI "(perl|lynx|mkdir|cmd|lwp-(download|request|mirror|rget))" "msg:'Command execution attack'" SecRule..
CPU 가 4개 일 경우 worker_processes 4; worker_cpu_affinity 0001 0010 0100 1000; CPU 8개 일 경우 worker_processes 8; worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000; 8개 프로세스 다 사용하니 좋네요..
1. 300분내에 변경된 php 파일 검색 #find /home/tomfile/public_html/ -mmin -300 -name "*.php" -print 2. 파일이름 변경(rename과 결합) #find hosts/ -name "296_292.gif" -exec rename 's/_/x/' {} \; find src/ -size +1M -exec du -lh {} \; | grep -v ".svn-base" find public_backup/ -type d -name ".svn" -print /home/www/public_html -type f -name "*.php" | xarg..
smartctl 명령을 이용하면 되는데요. 사용법은 그냥 smartctl -a 장치명 smart 가 disabled된경우 -s옵션을 추가해서 smartctl -s on -a /dev/디스크장치명 이렇게 하시면 상세한 내역이 나옵니다. 빨간색 항목은 정상적인 Hard disk 라면 반드시 0을 가지고 있어야 하는 항목들이다. 그리고 숫자가 높..
repo파일수정 # vi /etc/yum.repos.d/CentOS-Base.repo 아래와 같이 입력해서 서버를 변경 :%s/mirrorlist=/#mirrorlist=/g :%s/#baseurl=/baseurl=/g :%s/mirror.centos.org/ftp.daum.net/g
Secure CRT 대체 프로그램 Putty + Putty Connection Manager putty 매니저 다운로드 : http://puttycm.free.fr/cms/index.php?option=com_content&view=category&layout=blog&id=41&Itemid=55 putty 매니저 다운로드 : http://www.thegeekstuff.com/2009/03/putty-extreme-makeover-using-putty-connection-manager/ putty 다운 로드 : http://kldp.net/projects/iputty/ [출처] ..
은근 중독 되는 게임... 타워 게임 변종인가 ㅎㅎㅎ
또 다른 영상 출처 : http://blog.naver.com/rtkv0724/10033381822