解决apache启动错误"httpd:Could not reliably determine..."
来源:互联网 发布:淘宝分销商品怎么上架 编辑:程序博客网 时间:2024/05/17 02:22
启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
1)进入apache的安装目录:(视个人安装情况而不同) [root@server ~]# cd /usr/local/apache/conf
2)编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80
[root@server conf]# ls
extra httpd.conf magic mime.types original
[root@server conf]# vi httpd.conf
#ServerName www.example.com:80
ServerName localhost:80
3)再重新启动apache 即可。
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
1)进入apache的安装目录:(视个人安装情况而不同) [root@server ~]# cd /usr/local/apache/conf
2)编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80
[root@server conf]# ls
extra httpd.conf magic mime.types original
[root@server conf]# vi httpd.conf
#ServerName www.example.com:80
ServerName localhost:80
3)再重新启动apache 即可。
[root@server ~]# /usr/local/apache/bin/apachectl restart
本文出自 “300second的蜗居” 博客
阅读全文
0 0
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决apache启动错误 AH00558: httpd: Could not reliably determine...
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决apache启动错误"httpd:Could not reliably determine
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决apache启动错误"httpd:Could not reliably determine..."
- 解决apache启动错误"httpd:Could not reliably determine..."
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- 解决apache启动错误:Could not reliably determine the server's fully qualified domain name
- apache无法启动starting httpd: httpd:could not reliably determine the server\'s fully qualified
- 算法设计与应用基础系列10
- Angular程序架构
- JQuery 的跨域方法 可跨新浪、腾讯、经网等任意网站
- Android开发该学习哪些东西?
- Android源码目录结构
- 解决apache启动错误"httpd:Could not reliably determine..."
- 理解 Android Build 系统
- XSS挑战赛记录
- Azkaban实战,Command类型单一job示例,任务中执行外部shell脚本,Command类型多job工作flow,HDFS操作任务,MapReduce任务,HIVE任务
- 单链表某一元素的删除
- 卷积神经网络
- Windows下使用xShell向远程Linux上传文件或下载文件
- html5新特性
- x-code 创建pch文件,