Apache的编译安装

安装Apache
# useradd -M www -s /sbin/nologin (增加 Apache运行账户)
# cd /usr/local/src/
# tar zvxf httpd-2.2.11.tar.bz2
# cd httpd-2.2.11
# ./configure --prefix=/usr/local/apache2 \
--with-included-apr \
--enable-so \
--enable-deflate=shared \
--enable-expires=shared \
--enable-rewrite=shared \
--enable-static-support \
--disable-userdir
# make
# make install

添加新评论 »