网络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

时间: 2024-10-12 10:15:51

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

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name

一.解决APR和APR-util错误: 1.1.安装APR: [[email protected] httpd-2.2.23]# cd srclib/apr [[email protected] apr]# ./configure --prefix=/usr/local/apr root@ganglia apr]# make && make install 1.2.安装APR-util: [[email protected] apr]# cd ../apr-util/ [[email pr

httpd: Could not reliably determine the server's fully qualified domain name(转)

ttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 解决办法非常简单: #vim /web/apache/conf/httpd.conf (在这里/web/apahce是我安装apache的目录,你默认安装的话应该是/usr/local/apache2/icons) 找到#ServerName www.example.com:80  

解决httpd: Could not reliably determine the server's fully qualified domain name

用vim打开 /usr/local/apache2/cong/httpd.conf 将里面的 #ServerName localhost:80 注释去掉即可. 再执行 /usr/local/apache2/bin/apachectl start 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功. 解决httpd: Could not reliably determine the server's full

linux启动httpd服务出现 Could not reliably determine the server`s fully qualified domain name.

安装好apache启动httpd服务时,出现httpd: Could not reliably determine the server's fully qualified domain name, using XXX for ServerName. 网上找了不少资料,叫修改安装apache根目录下的httpd/conf/httpd.conf配置文件 1.打开apache_home/httpd/conf/httpd.conf 2.找到 #ServerName www.example.com:80

httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name

安装完apache-httpd后,启动时报错如下: [[email protected] app]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for ppt httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName  [  OK  

httpd: Could not reliably determine the server's fully qualified domain name

[[email protected]~]# /usr/local/apache2/bin/apachectl start httpd: Could not reliably determine the server's fully qualified domain name, usinglocalhost.localdomain for ServerName 分析:该错误信息表示Apache无法彻底确定服务器的完全限定域名只好用using localhost.localdomain for Se

解决方案:httpd: Could not reliably determine the server's fully qualified domain name

(1)一开始学习php的人都会安装wamp或者xamp或者phpstudy等集成环境软件.但是在现实中,公司服务器端的apache.php.mysql都是自己一个个安装的. (2)我们说的安装apache,其实是说的安装apache http server软件,所以下载的软件一般名字是httpd-2.2.22-win32-x86之类的. --官网下载很坑爹,各种网页打不开.还是百度了以下,在华为网盘下载的,是2.2.22版本,此时官方已到2.4.12版本.不过,一样用. --安装过程,很简单.安

测试Apache服务器及httpd: Could not reliably determine the server's fully qualified domain name解决办法

测试Apache服务器: 重启apache: sudo /usr/local/apache/bin/apachectl restart 若出现错误: httpd: Could not reliably determine the server's fully qualified domain name...... 解决办法: 1)进入apache的安装目录:(视个人安装情况而不同) [[email protected]]# cd /usr/local/apache/conf 2)编辑httpd.

解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this messagehttpd (pid 1068) already running 编辑httpd.conf文件,搜索"#ServerName",添