标签:dev 信息 tar href ror color images cto ffffff
CentOS 7.4下源码安装 Apache HTTP Server(httpd-2.4.35)用YUM方式安装expat-devel 和 apr-util-devel
yum -y install expat-devel
yum -y install apr-util-devel
解压apr-1.6.3.tar.gz后进入该目录下,执行:
./configure --prefix=/usr/local/apr
make
make install
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
make
make install
上述必要的组件和包安装完成后,开始进行apache http server 的安装
wget http://mirrors.shu.edu.cn/apache/httpd/httpd-2.4.35.tar.bz2
tar -jxvf httpd-2.4.35.tar.bz2
[root@centos7 httpd-2.4.35]# ./configure \
--prefix=/opt/httpd-2.4.35 \
--enable-so \
--enable-mods-shared=most \
--enable-proxy-http=shared \
--enable-rewrite
./httpd -V
CentOS 7.4下源码安装 Apache HTTP Server(httpd-2.4.35)
标签:dev 信息 tar href ror color images cto ffffff
原文地址:http://blog.51cto.com/snowlai/2307124