红联Linux门户
Linux帮助

Ubuntu 12.04安装Apache

发布时间:2014-11-15 21:48:12来源:linux网站作者:yeelone

安装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