Apache2.2.9 インストール
#wget http://ftp.kddilabs.jp/infosystems/apache/httpd/httpd-2.2.9.tar.gz
#tar -xvzf httpd-2.2.9.tar.gz
#cd httpd-2.2.9
#./configure --prefix=/etc/httpd --enable-rewrite --enable-headers --enable-auth-digest --enable-ssl --enable-proxy --enable-proxy-balancer --enable-status
#make
#make install
#vi /etc/init.d/httpd
------------------------------------------------------------
#!/bin/sh
#
# chkconfig: 35 85 15
# description: apache 2.2.3
apachectl="/etc/httpd/bin/apachectl"
case "$1" in
start|stop|restart|fullstatus| \
status|graceful|graceful-stop| \
configtest|startssl)
$apachectl $@
;;
*)
;;
esac
------------------------------------------------------------
#chmod 755 /etc/init.d/httpd
#chkconfig --add httpd
#chkconfig --list httpd
Categories
latest entries
Copyright © 2008 hidamari.biz All Rights Reserved.
