开发者社区> 技术小阿哥> 正文

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

简介:
+关注继续查看
解决httpd: Could not reliably determine the server's fully qualified domain name
在windows 中安装完apache,如果在检验Apache是否安装成功时(在linux下使用./apachectl start, 在dos窗中输入httpd)如果出现httpd: Could not reliably determine the server's fully qualified domain name
解决方案:
进入apache的安装目录,再进入其下的\Apache2.2\conf
用vi打开httpd.conf
将里面的#ServerName localhost:80注释去掉即可。
再执行httpd
然后可以通过浏览器访问http://localhost,如果页面显示“It works!”,即表示apache已安装并启动成功。


本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/243001,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
问题记录:The last packet sent successfully to the server was ****
集成Mybatis的项目中出现了这个问题,初看很蒙比,最近一次成功发送请求到达服务器,你报错干什么?首先必须说的是这个一个关于Mybatis的报错,那什么原因导致了这个问题呢?
142 0
k8s报错:Error from server (NotFound): the server could not find the requested resource (get services h
k8s报错:Error from server (NotFound): the server could not find the requested resource (get services h
83 0
Root-NFS: Unable to get mountd port number from server, using default
问题描述:         以前下载到开发板linux内核启动好好地,今天突然启动不了了,到达Root-NFS: Unable to get mountd port number from server, using default这个位置就停住了,过了一段时间就显示,如图:       很明显,我的nfs有问题。
1263 0
+关注
技术小阿哥
文章
问答
视频
文章排行榜
最热
最新
相关电子书
更多
Apache Wicket User Guide-Refer
立即下载
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载