find -name httpd.conf
1.找到这个文件
2.vi httpd.conf
3.将里面的 #ServerName localhost:80 注释去掉即可。
本文介绍了如何找到并编辑httpd.conf文件中的ServerName设置。通过去除特定行的注释来更改服务器名称。
find -name httpd.conf
1.找到这个文件
2.vi httpd.conf
3.将里面的 #ServerName localhost:80 注释去掉即可。
1716
2万+
1748

被折叠的 条评论
为什么被折叠?