0》下载软件安装包wget http://mirror.bit.edu.cn/apache/httpd/httpd-2.4.29.tar.gz
解压压缩包tar zxvf httpd-2.4.29.tar.gz
1》生成配置文件
cdhttpd-2.4.29
./configure--prefix=/usr/local/apache --sysconfdir=/etc/httpd --enable-so--with-ssl=/usr/local/openssl --enable-cgi --enable-rewrite --with-zlib--with-pcre=/usr/local/pcre --with-apr=/usr/local/apr--with-apr-util=/usr/local/apr-util --enable-mods-shared=most--enable-mpms-shared=all ;
2》编译
make
3》安装
makeinstall
网友评论