tar -jxvf httpd-2.2.11.tar.bz2
cd httpd-2.2.11/
./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd --enable-so --enable-ssl --enable-mods-shared=all --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --with-mpm=worker --with-zlib --enable-suexec --with-suexec-caller=daemon
echo $?
make
make install
echo "/usr/local/apache/bin/httpd" >> /etc/rc.local
阅读(1457) | 评论(0) | 转发(0) |