您的位置:首页 > 理论基础 > 计算机网络

httpd: Could not reliably determine the server's fully .......

2016-06-12 14:57 323 查看
错误: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
解决方案:

用记事本打开 httpd.conf将里面的 #ServerName localhost:80 注释去掉即可。再执行 httpd然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。
++++++++++++++++++++++++++++++++++++++++++++ using localhost.localdomain for ServerName 说不能确认服务器完全确认域名 localhost.localdoman 这个问题怎么解决
最佳答案:
vim /usr/local/apache/conf/httpd.conf
vi /etc/httpd/conf/httpd.conf 加入一句 ServerName localhost:80
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: