启动http服务的时候出现警告信息:
[root@goolen ~]# service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.100.50 for ServerName
解决方法:
编辑http配置文件:
[root@goolen ~]# vim /etc/httpd/conf/httpd.conf
找到如下内容:
#ServerName
修改为如下:
ServerName 192.168.100.50:80
重启服务:
[root@goolen ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23249684/viewspace-1361630/
,如需转载,请注明出处,否则将追究法律责任。