Could not reliably determine the server‘s fully qualified domain name
在使用网络yum源安装httpd的时候出现了上面的报错,进入配置文件httpd.conf
[[email protected] ~]# cd /etc//httpd/conf
[[email protected] conf]# ls
httpd.conf magic
[[email protected] conf]#vim httpd.conf
276 #ServerName www.example.com:80
277 ServerName localhost:80 添加前面一行,再执行就不会出现上述报错。
[[email protected] conf]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name
时间: 2024-10-12 10:15:51