Skip to content

Latest commit

 

History

History
112 lines (64 loc) · 4.12 KB

apache-httpd.adoc

File metadata and controls

112 lines (64 loc) · 4.12 KB

Apache 설치

yum을 이용해 설치 :

$ yum install httpd httpd-devel

다운받아 설치

명령어

/configure --prefix=/home1/irteam/apache2 --enable-rewrite --enable-so --enable-mods-shared=most

service httpd start

httpd -t

httpd start

httpd status

apachectl configtest

apachectl graceful

Tomcat 연동

로그

[Apache HTTPD Log rotation(logrotate)]

에러해결

Performance Tuning

아파치 설치

설치하기

sudo apt-get install apache2

실행

sudo /etc/init.d/apache2 restart

확인

기본 설치하면 /var/www에 index.html 이 읽어진다. index.html의 내용을 바꾼후 바뀐 내용이 반영되는지 본지

apxs 설치

sudo apt-get install apache2-threaded-dev

컴파일

/configure --with-apxs=/usr/bin/apxs2 --enable-EAPI

make

make install