Apache-2.2.31编译安装
环境参数:Linux:Centos6.5,Apache:2.2.311.Apache下载:wget http://mirrors.hust.edu.cn/apache//httpd/httpd-2.2.31.tar.gz2.安装必要软件yum install zlib zlib-devel -y3.解压软件tar xf httpd-2.2.31.tar.gzcd htt
·
环境参数:Linux:Centos6.5,Apache:2.2.31
1.Apache下载:wget http://mirrors.hust.edu.cn/apache//httpd/httpd-2.2.31.tar.gz
2.安装必要软件
yum install zlib zlib-devel -y
3.解压软件
tar xf httpd-2.2.31.tar.gz
cd httpd-2.2.31
4.编译软件
./configure \
--prefix=/application/apache2.2.31 \
--enable-deflate \
--enable-expires \
--enable-headers \
--enable-modules=most \
--enable-so \
--with-mpm=worker \
--enable-rewrite
5.安装软件
make && make install
6.做软连接
ln -s /application/apache2.2.31/ /application/apache
更多推荐
已为社区贡献1条内容
所有评论(0)