[研究] Apache Web Server (httpd-2.4.46.tar.gz) 安裝 (CentOS 8.2)
2020-10-03
安裝參考
http://httpd.apache.org/docs/2.4/en/install.html
yum -y install apr apr-util pcre apr-devel apr-util-devel pcre-devel gcc make redhat-rpm-config
cd /usr/local/src
wget http://apache.stu.edu.tw//httpd/httpd-2.4.46.tar.gz
tar xvfz httpd-2.4.46.tar.gz
cd httpd-2.4.46
./configure
make
make install
啟動
/usr/local/apache2/bin/apachectl -k start
測試 ( 若 IP 為 192.168.128.130)
http://192.168.128.130/
停止
/usr/local/apache2/bin/apachectl -k stop
設定檔案在
/usr/local/apache2/conf/httpd.conf
(完)
沒有留言:
張貼留言