httpd source 로 설치하기.

ITWeb/서버관리 2011. 9. 7. 13:29

# GNU SW 설치

    http://mirror.yongbok.net/gnu

 

# Apache configure 참고 문서

    http://httpd.apache.org/docs/2.0/programs/configure.html

    설치 경로에서 configure 하면 나오는 내용 참고 (본 문서 하단에 첨부함.)

 

1. tar -xvzf httpd-2.2.17.tar.gz

2. cd /home/계정/app

3. mkdir httpd-2.2.17

4. cd /home/계정/dist/httpd-2.2.17

5. ./configure --prefix=/home/계정/app/httpd-2.2.17 --enable-auth-dbm --enable-dav --enable-dav-fs --enable-deflate --enable-cache --enable-disk-cache --enable-expires --enable-ext-filter --enable-file-cache --enable-headers --enable-info --enable-logio --enable-mem-cache --enable-mime-magic --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-proxy-balancer --enable-rewrite --enable-so --enable-speling --enable-ssl --enable-unique-id --enable-usertrack --enable-vhost-alias --enable-bucketeer --with-mpm=worker --with-ssl=/usr/local/ssl --with-z=/usr/local/zlib --enable-dumpio  

5. make

6. make install

7. ln -s /home/계정/app/httpd-2.2.17 httpd


./configure --help 를 통해서 옵션을 확인 하고 설치 하시면 됩니다.
위에 옵션들은 최적화된 옵션이 아니기 때문에 똑같이 설정 하실 경우 성능에 대한 보장은 책임 지지 않습니다.. ㅋ
 

: