2016-12-28
安裝參考
http://httpd.apache.org/docs/2.4/en/install.html
yum -y install apr apr-util pcre apr-devel apr-util-devel pcre-devel
cd /usr/local/src
wget http://apache.stu.edu.tw//httpd/httpd-2.4.25.tar.gz
tar xvfz httpd-2.4.25.tar.gz
cd httpd-2.4.25
./configure
make
make install
wget http://apache.stu.edu.tw//httpd/httpd-2.4.25.tar.gz
tar xvfz httpd-2.4.25.tar.gz
cd httpd-2.4.25
./configure
make
make install
啟動
/usr/local/apache2/bin/apachectl -k start
測試
停止
/usr/local/apache2/bin/apachectl -k stop
設定檔案在
/usr/local/apache2/conf/httpd.conf
(完)
沒有留言:
張貼留言