Apache问题解决:httpd: Could not reliably determine the server's fully qualified domain name
2016-04-06 15:12
381 查看
在Linux下
启动Apache时,出现:httpd: Could not reliably determine the server's fully qualified domain name
解决方案:
进入apache的安装目录:
linux : /usr/local/apache/conf
用vi打开httpd.conf
将里面的#ServerName localhost:80注释去掉即可。
再启动httpd
然后可以通过浏览器访问http://localhost:80,如果页面显示正常显示测试页面,即表示apache已安装并启动成功。
启动Apache时,出现:httpd: Could not reliably determine the server's fully qualified domain name
解决方案:
进入apache的安装目录:
linux : /usr/local/apache/conf
用vi打开httpd.conf
将里面的#ServerName localhost:80注释去掉即可。
再启动httpd
然后可以通过浏览器访问http://localhost:80,如果页面显示正常显示测试页面,即表示apache已安装并启动成功。
相关文章推荐
- canvas.drawText(string, xPos, yPos, paint)文本居中的办法
- Mac OS 安装tensorflow RuntimeError: Broken toolchain: cannot link a simple C program
- 1106. Lowest Price in Supply Chain (25) 树的遍历,DFS
- 解决"initialization failure:0×0000000c"和"txwebserver遇到未知错误"
- 51nod1305 Pairwise Sum and Divide
- AIDL 实现 IPC(进程间通信)
- Assertion failure layoutSublayersOfLayer:], /SourceCache
- dubbo服务无法注册问题 Failed to subscribe consumer:// 解决方法
- 随记(十)--'xxx' does not contain bitcode报错
- LeetCode Container With Most Water
- http://jingyan.baidu.com/article/0eb457e5208cbb03f0a9054c.html
- 将一句话里的单词进行倒置,标点符号不倒换。比如将“I come from Shanghai.”倒换后变为“Shanghai. from come I”
- Grails在xx.gsp页面获取配置文件信息
- DELL R710服务器做RAID5磁盘阵列图文教程
- AirbnB uses R to scale data science
- bzoj 4320: ShangHai2006 Homework
- RAID的简单介绍
- RAID基础知识
- 使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATI
- mysql主从监控脚本含自动配置发Gmail邮件客户端