linux 安装apache

参考 http://www.cnblogs.com/bloghxr/p/8017652.html

下载三个依赖包
apr、apr-unit、pcre,以此编译安装
分别到各自根目录下运行
1、./configure --prefix=/u01/httpd/apr
make
make install
2、./configure --prefix=/u01/httpd/apr-util --with-apr=/u01/httpd/ap
make
make install
3、./configure --prefix=/u01/httpd/pcre
make
make install
4、./configure --prefix=/u01/httpd/apache --with-apr=/u01/httpd/apr --with-apr-util=/u01/httpd/apr-util --with-pcre=/u01/httpd/pcre

 

posted @ 2018-06-18 13:29  jamsbwo  阅读(99)  评论(0编辑  收藏  举报
©2014 to