网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了网络yum 安装 httpd 出现的问题Could not reliably determine the server's fully qualified domain name相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
解决Centos7 yum 出现could not retrieve mirrorlist 错误
yum 报错 [Errno 14] Could not open/read file:///media/iso/repodata/repomd.xml
Centos7 yum 出现could not retrieve mirrorlist 最终解决方案
工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not r