启动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 ~]# /usr/local/apache/bin/apachectl restart
文章出处:http://www.2cto.com/os/201201/117797.html
分享到:
相关推荐
启动 httpd:(13)Permission denied: httpd: could not open error log file /home/wwwroot/jb51.net/logs/error_log. Unable to open logs [失败] 三、问题原因 因为新安装的系统,所以SELinux默认是开启状态,...
Linux(centos)下的Apache安装压缩包:httpd-2.2.34.tar.gz,结合我的博客http://blog.csdn.net/jing12062011/article/details/76850284使用,留存一下便于以后搭建系统用
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.2.116 for ServerName错误 在#ServerName www.example.com:80 添加 ServerName www.example.com:80
HTTPD is the main program for the Apache hypertext transfer protocol (HTTP) server
【知识目标】 掌握: Apache 服务器配置方法 【能力目标】 ...Apache版本的更新一般要快于Linux内核的更新,要下载新的Apache版本,可到网站下载: http://updates.redhat.com http://www.apache.org
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
#cp httpd.conf httpd.conf.origin //将原有配置文件备份 # more httpd.conf //查看配置文件,我们注意到以一配置: DocumentRoot"/var/www/html" //特别是要注意这个配置 //这是Apache 2.4的一个新的默认值,拒绝...
1)软件资源列表:《httpd-2.4.9.tar.gz》;《apr-1.5.1.tar.gz》;《apr-util-1.5.3.tar.gz》;《pcre-8.12.tar.gz》。 2)安装步骤详解:http://blog.csdn.net/clevercode/article/details/45438495。 3)欢迎...
版本比较新的,技术成熟,在网上找了很久才下下来,功能强大的appache服务器,适用于各种版本的linux操作系统
适合Win7下Apache开发软件压缩包:httpd-2.4.3-win64.zip
linux下Apache源码下载,centos6.8亲测可用,欢迎下载!
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
在Linux下安装Apache(httpd)的软件包,包含:apr-1.5.2.tar.gz, apr-util-1.5.4.tar.gz, httpd-2.2.31.tar.gz,pcre-8.31.tar.gz
Linux下安装Apache httpd.doc
Apache2 httpd.conf 中文版说明 # # 基于 NCSA 服务的配置文件。 # #这是Apache服务器主要配置文件。 #它包含服务器的影响服务器运行的配置指令。 #参见<URL:http://httpd.ache.org/doc-2.0/>以取得关于这些指令的...
1)安装步骤详解:http://blog.csdn.net/magicalcode/article/details/45393115 2)欢迎大家关注我博客更多的精彩内容: http://blog.csdn.net/MagicalCode
Apache ( httpd-2.4.25.tar.gz5)
ANDROID JAVAUI界面设计基本知识