PAM adding faulty module: /lib64/security/pam_stack.so admin 2012.03.16 PAM adding faulty module: /lib64/security/pam_stack.so [root@localhost ~]# vi /etc/pam.d/proftpd #session required pam_stack.so service=system-auth주석처리:centos 6.2 proftpd 설치 후 ftp 접속 안되는 문제시 위에 주석 처리 후 확인 Read More..
리눅스 sysctl.conf (대량 사이트시 편집) admin 2012.03.15 inux net.ipv4.ip_local_port_range 2048 65000 다음 매개변수로 /etc/sysctl.conf를 편집하고 파일을 저장한다. 다음 명령을 실행한다. – sysctl –p net.core.rmem_default 262144 net.core.wmem_default 262144 net.core.wmem_max 33554432 net.core.rmem_max 33554432 net.core.netdev_max_backlog 5000 net.ipv4.tcp_no_metrics_save 1 net.ipv4.tcp_rmem 4096 16777216 33554432 net.ipv4.tcp_wmem 4096 16777216 33554432 net.core.optmem_max 40960vi /e... Read More..
qmail 대기 메일 삭제 (queue 삭제 ) queue-fix admin 2012.03.02 삭제하거나 메일로그에 아래와 같은 에러가 날 경우 큐디렉토리를 재성해주면 된다.Nov 21 08:17:04 mail4 qmail: 1227223024.310137 warning: trouble opening remote/3/114704; will try again laterNov 21 08:17:09 mail4 qmail: 1227223029.310112 warning: trouble opening remote/7/114708; will try again laterNov 21 08:17:16 mail4 qmail: 1227223036.310032 warning: trouble opening remote/21/114699; will try again laterNov 21 08:17:25 mail4 qmail:... Read More..
apache 설치시 에러 발생 collect2: ld returned 1 exit status admin 2012.03.02 modules/http/.libs/libmod_http.a(byterange_filter.o): In function ap_set_byterange': byterange_filter.c:(.text+0x12c1): undefined reference to apr_array_clear’ collect2: ld returned 1 exit status make[1]: *** [httpd] 오류 1 make[1]: Leaving directory `/root/install_1/httpd-2.2.22′ make: *** [all-recursive] 오류 1 config 옵션 추가 –with-included-apr Read More..
+ 웹나이트(WebKnight) 설치 및 커스터마이징 admin 2012.02.29 1. WebKnight 설치하기 WebKnight는 윈도우즈 인스톨러를 이용한 설치, install.vbs 스크립트를 이용한 설치, 수동 설치 등 3가지 방법으로 설치할 수 있다. 웹호스팅 서버 등 하나의 웹서버 내에 다수의 사이트가 운영되는 경우 웹서버 전체에 필터를 적용(글로벌 필터)할 수도 있으며, 개별 웹사이트별로 서로 다른 룰에 의해 필터를 적용(사이트 필터)할 수도 있다. 윈도우즈 인스톨러와 install.vbs 스크립트를 이용한 설치시에는 기본적으로 글로벌 필터가 적용되는데 설치 과정은 다음과 같다. (1) 아래 URL에서 Webknight 2.1 (Release date : 2007.10.08... Read More..
웹나이트 에러 부분 admin 2012.02.29 BLOCKED: Content-Type ‘application/x-java-archive’ not allowed=> ContenType -> Use Allowed Content TypesBLOCKED: URL not in allowed list ; E:\Wfolder\folder=> URL Scanning -> Use Allowed Url StartsBLOCKED: High bit characters (shellcode) not allowed in URL => URL Scanning -> Deny Url HighBitShellCodeBLOCKED: ‘<script’ not allowed in headers=> Headers -> Use Denied Headers -> value 에서 “<script” 삭제출... Read More..
+ 리눅스 시스템 모니터링 glances admin 2012.02.17 환경 centos 6.0 64bit wget ftp://rpmfind.net/linux/epel/testing/6/x86_64/pystatgrab-0.5-9.el6.x86_64.rpm wget ftp://rpmfind.net/linux/epel/testing/6/x86_64/glances-1.3.6-1.el6.noarch.rpm rpm -Uvh pystatgrab-0.5-9.el6.x86_64.rpm rpm -Uvh glances-1.3.6-1.el6.noarch.rpm 실행 glances.py Read More..
centos cmake 설치 admin 2012.02.17 간혹 컴파일시 cmake 이용하는 경우가 있다 (mysql 5.5 버전시 사용) wget http://www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz tar xvfz cmake-2.8.7.tar.gz cd cmake-2.8.7 ./bootstrap make make install Read More..
+ CentOS 5 Python 2.6 업그레이드 admin 2012.02.17 CentOS 5.6 Python 2.6 설치 OpenStack 을 설치하기 위해서는 최소한 python 2.6 이 설치되어 있어야 합니다. 이를 위해서 다음과 같이 해줍니다. rpm -ivvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum install python26 python26-tools python26-devel.x86_64 출저 : http://blog.naver.com/PostView.nhn?blogId=orion_203&logNo=130108652243&redirect=Dlog&widgetTypeCall=true [출처] 2. CentOS 5.6 Python 2.6 설치 |작성자 님프 Read More..
apache worker 방식 접속자 튜닝 admin 2012.02.08 1) 일일 Access log size 500M 이하 ( 기본설정 )MaxKeepAliveRequests 1024< IfModule mpm_worker_module > StartServers 8 ServerLimit 16 MaxClients 1024 MinSpareThreads 64 MaxSpareThreads 512 ThreadsPerChild 64 MaxRequestsPerChild 0< /IfModule > 2) 일일 Access log size 500M ~ 1G MaxKeepAliveRequests 2048< IfModule mpm_worker_module > StartServers 16 ServerLimit ... Read More..