Linux无法启动httpd_正在启动httpd

 

如果出现以下错误:
正在启动httpd:httpd:could not reliably determine the server's fully qualif domain name,
using::1 for servername
解决方法:
#vi /etc/httpd/conf/httpd.conf
找到”# ServerName www.example.com:80” ? 取消注释#,并修改为”ServerName ip或域名或localhost:80 ? wq保存退出
#service httpd restart --再次启动

 

posted @ 2019-09-28 17:12  剑存古风  阅读(920)  评论(0编辑  收藏  举报