码迷,mamicode.com
首页 > Web开发 > 详细

网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name

时间:2017-05-04 23:13:30      阅读:345      评论:0      收藏:0      [点我收藏+]

标签:网络yum安装httpd

Could not reliably determine the server‘s fully qualified domain name

在使用网络yum源安装httpd的时候出现了上面的报错,进入配置文件httpd.conf

[root@IP-65 ~]# cd /etc//httpd/conf

[root@IP-65 conf]# ls

httpd.conf  magic

[root@IP-65 conf]#vim httpd.conf

 276 #ServerName www.example.com:80

 277 ServerName localhost:80    添加前面一行,再执行就不会出现上述报错。


[root@IP-65 conf]# service httpd restart

Stopping httpd:                                            [  OK  ]

Starting httpd:                                            [  OK  ]


网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name

标签:网络yum安装httpd

原文地址:http://156153717.blog.51cto.com/8682719/1922044

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!