cd /etc/httpd/conf/
cp httpd.conf httpd.conf.bak
vim httpd.conf
找到Listen 80这一行,修改为
Listen XXXXX
cd /etc/httpd/conf/
cp httpd.conf httpd.conf.bak
vim httpd.conf
找到Listen 80这一行,修改为
Listen XXXXX
本文标题:centos7安装apache2并修改默认80端口
本文链接:https://www.haomeiwen.com/subject/uuqlpftx.html
网友评论