이 요약은 사용할 수 없습니다. 이 글을 보려면 여기를 클릭하세요. 이 요약은 사용할 수 없습니다. 이 글을 보려면 여기를 클릭하세요. ...
IT. POST LIST
Apache 압축전송( mod_deflate ) ** 2.2.x 이하 버전에서만 DSO 모듈 추가 하기. 2.2.x 이상 버전에서는 기본으로 모듈 제공 # cd /usr/local/src/APM_Setup/httpd-2.4.3/modules/filters # /usr/local/apache/bin/apxs -cia -Wl,"-lz" mod_deflate.c ** 설치 완료후 확인 2.2.x 에서는 확인 안 되지만 정상작동 됩니다. # /usr/local/apache/bin/httpd -l mod_deflate.c ** httpd.conf 하단에 내용 추가합니다. # vi /usr/local/apache/conf/httpd.conf <IfModule mod_deflate.c> AddType text/html .html .htm AddType text/css .css AddType application/xml .xml AddType application/javascript...






* mod_url 이란? 아파치가 한글로된 파일을 인식 하게하는 모듈 예를들어 jpg파일이름이 영문이 아닌 한글 이름으로 되어있어도 그 jpg 파일을 불러드려 실행할 수 있다. * mod_url 설치전 확인 사항 DSO 방식으로 설치된 APACHE 인지 확인 해야댐 ㅇㅇ DSO 방식은 APACHE 서버가 컴파일 되었을때 구정 정보로 모듈을 컴파일 하여 APACHE EXTENSION 프 로그램인 apxs가 알아서 처리하여 Apache 모듈을 DSO(.so 파일)에 컴파일 한뒤 적절한 APACHE 구성...





mod_expires 이란 이 모듈은 서버 응답의 Expires HTTP 헤더와 Cache-Control HTTP 헤더의 max-age 지시어 설정을 조절한다. 만기일을 파일이 마직막 수정된 시간 혹은 클라이언트가 접속한 시간에 상대적으로 설정할 수 있다. 즉 디스크 상에 캐시영역을 확보하여 자주가는 사이트에 접속 할때 캐시영역에 보관되어 있지않은 사이트에 접 속 할때보다 더빨리 문서를 보여주게 되는데 이것은 부라우저가 이미 캐시역역에 사이트 문서들을 저장한 상태 에서 최종수정일자가 변경된 문서만을 요청해 브라우징...
1. JDK 설치 (Java SE Development Kit) 우선 JDK 가 필요하므로 아래 주소에서 다운로드 받습니다. http://java.sun.com/javase/downloads/index.jsp [root@ppinde /usr/local/src]# tar zxvf jdk-7u5-linux-i586.tar.gz 압축이 풀린 디렉토리를 원하는 곳으로 이동 [root@ppinde /usr/local/src]# mv jdk1.7.0_05 /usr/local/jdk1.7 `jdk1.7.0_05′ -> `/usr/local/jdk1.7 2. 톰캣 설치 톰캣을 아래 주소에서 다운로드 합니다. http://tomcat.apache.org/ 압축푼 후 원하는 곳으로 이동시켜 줍니다. [root@ppinde /usr/local/src]# tar zxvf apache-tomcat-6.0.35.tar.gz [root@ppinde /usr/local/src]# mv apache-tomcat-6.0.35 /usr/local/tomcat `apache-tomcat-6.0.35′ -> `/usr/local/tomcat’...
apaceh 구동 불가 : [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed
By 때찌때찌맴매 - 12월 04, 2013
[emerg] (28)No space left on device: Couldn’t create accept lock [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed ipcs -s | grep nobody 를 쳐보면 세마포어 배열이 잔뜩 있는 것을 확인할 수 있다 ipcs -s | grep nobody | perl -e ‘while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}’ 를 하여서 세마포어 배열들을 죽이면 임시방편으로 해결이 가능한다. 다른...
[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of ‘guguflower’
By 때찌때찌맴매 - 12월 03, 2013
Sun Mar 24 04:02:12 2013] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of ‘guguflower’ Configuration Failed hostname 이 ‘ gugu ‘ 로 해당 IP 에대한 원하는 호스트명으로 등록 되어 있지 않아 발생 하는 경우. #vi /etc/hosts 에서 해당 호스트명으로 수정 하면됩니다. ...
Apache Multi-Processing Modules(MPM, 다중처리모듈)의 Prefork 와 Worker 방식의 비교 ==> apache 서버가 클라이언트에게서 받아들인 요청을 처리하기 위해 “자식 process” 에게 분배하는 방식 Prefork 방식 – 하나의 자식 프로세스가 하나의 쓰레드를 갖는 구조로, 자식 프로세스는 1024까지 늘일 수 있다. – 한개의 자식 프로세스는 한 개의 연결을 담당한다. – 프로세스가 생성되는 구조이므로 당연히 worker보다는 많은 메모리를 사용함. – 프로세스간 메모리를 직접 공유하지 않으므로, 메모리 공간이...
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:xxx/xxx/xx…
By 때찌때찌맴매 - 12월 03, 2013
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:xxx/xxx/xxxx.html 요 관련 에러… 해당 폴더에 .htaccess 파일 찾아 보자…ㅋㅋㅋㅋㅋ 아… 일단 그거 부터..ㅋㅋㅋ 없으면 다른데서 걍 복사해서 가져다가 넣어 버리센 ...
[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed(아파치데몬안올라옴)
By 때찌때찌맴매 - 12월 03, 2013
merg] (28)No space left on device: Couldn’t create accept lock [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed ipcs -s | grep nobody 를 쳐보면 세마포어 배열이 잔뜩 있는 것을 확인할 수 있다. =_=; ipcs -s | grep nobody | perl -e ‘while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}’ 를 하여서 세마포어 배열들을 죽이면 임시방편으로 해결이 가능한다....
httpd (pid xxxx) already running or (20014)Error string not specified yet: Error retrieving pid file logs/httpd.pid
By 때찌때찌맴매 - 12월 03, 2013
[root@ logs]# /usr/local/apache/bin/apachectl start httpd (pid 2445) already running [root@yahocar logs]# ps -ef |grep httpd root 3088 1 0 15:49 ? 00:00:00 /usr/local/apache/bin/httpd -k start nobody 3089 3088 0 15:49 ? 00:00:00 /usr/local/apache/bin/httpd -k start nobody 3090 3088 2 15:49 ? 00:00:05 /usr/local/apache/bin/httpd -k start nobody 3092...
httpd (을)를 시작 중: httpd: bad user name apache [실패] vi /etc/passwd apache:x:48:48:Apache:/var/www:/sbin/nologin —>등록 vi /etc/group apache:x:48: —>등록 두곳에서 apache 가 없을 경우 등록 service httpd start 정상 확인 주의) yum 설치시 해당 소스 설치를 했을경우 절대 경로를 통해서 구동 ex) /usr/local/apache/bin/apachectl start ...