歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 12.04 安裝Apache

Ubuntu 12.04 安裝Apache

日期:2017/2/28 15:52:31   编辑:Linux教程

安裝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.linuxidc.com/topicnews.aspx?tid=2

Copyright © Linux教程網 All Rights Reserved