软件发布

手机版,更便捷!

下载排行榜首页软件下载安卓下载资讯教程推荐专题装机必备
当前位置:文章资讯 > 编程开发 >

Ubuntu中安装Apache2最佳方法是什么?Ubuntu中安装Apache2教程分享。

时间:2017-01-10 浏览次数: 编辑:9upk

下载httpd-2.2.15.tar.gz,使用tar zxvf httpd-2.2.15.tar.gz解压。如解压后的路径为:/software/httpd-2.2.15。
首先安装apr apr-util (不推荐) Java代码
# cd /software/httpd-2.2.15/srclib/apr
# ./configure --prefix=/usr/local/apr
# make
# make install

#cd /software/httpd-2.2.15/srclib/apr-util
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
#make
#make install

# cd /software/httpd-2.2.15/srclib/apr
# ./configure --prefix=/usr/local/apr
# make
# make install

#cd /software/httpd-2.2.15/srclib/apr-util
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
#make

  • 返回顶部