Ubuntu 12.04 安装Apache
Ubuntu 12.04 安装Apache
安装apr
vim configure
删除: $RM ‘$cfgfile’
./configure --prefix=/home/yeelone/usr
make && make install
安装apr-utils
./configure --prefix=/home/yeelone/usr --with-apr=/home/yeelone/usr/bin/apr-1-config
make && make install
安装pcre
(确认gcc-c++有安装 Ubuntu : apt-get install g++)
./configure --prefix=/home/yeelone/usr/pcre
安装apache
./configure --prefix=/home/yeelone/usr/apahce2 --with-apr=/home/yeelone/usr/bin/apr-1-config --enable-so --with-apr-util=/home/yeelone/usr/bin/apu-1-config --with-pcre=/home/yeelone/usr/pcre/bin/pcre-config
make && make install
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.bkjia.com/topicnews.aspx?tid=2
评论暂时关闭