1. 用记事本打开 将里面的 #ServerName localhost:80 注释去掉即可. 再执行 然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功. 或者使用 curl http://localhost:80 参考:http://www.cnblogs.com/52linux/archive/2012/03/24/2415637.html…
今天启动apache查看状态发现报错,说不能确认服务器完全确认域名,以下是报错内容: [root@localhost ~]# service httpd status Redirecting to /bin/systemctl status httpd.service ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor pr…
apache环境配置 | httpd Could not reliably determine the server's fully qualified domain name    转 https://blog.csdn.net/u012104219/article/details/79853797 前言 作为php开发者,你是否遇到这种情况.经常我们会在Linux系统上通过php do.php命令进行程序调试.有时候明明通过命令行方式调试程序成功后,却发现在浏览器请求我们的www.test.…
一.解决APR和APR-util错误: 1.1.安装APR: [root@ganglia httpd-2.2.23]# cd srclib/apr [root@ganglia apr]# ./configure --prefix=/usr/local/apr root@ganglia apr]# make && make install 1.2.安装APR-util: [root@ganglia apr]# cd ../apr-util/ [root@ganglia apr-util]#…
启动apache提示 : apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (1)…
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName sudo vim /etc/apache2/apache2.conf加入ServerName www.mypms.com即可…
错误信息:apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName 解决方法:sudo gedit /etc/apache2/apache2.conf 在文件后面加上:#Server NameServerName 127.0.0.1…
启动apache报错: [root@namenode1 ]# service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.139 for ServerName [ OK ] 解决方法: 修改配置文件 [root@namenode1 /]# vi /etc/httpd/conf/httpd.conf…
#service httpd start #Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.123 for ServerName 解决办法:vi /etc/httpd/conf/httpd.conf   加入一句  ServerName  localhost:80…
[root@rusky]# service httpd startStarting httpd: httpd: apr_sockaddr_info_get() failed for ruskyhttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName *********************** 解决方法: 修改httpd.conf配置文…