|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!启动apache碰到毛病:httpd:Couldnotreliablydeterminetheserversfullyqualifieddomainname
[root@serverhttpd-2.2.4]#/usr/local/apache/bin/apachectlstart
httpd:Couldnotreliablydeterminetheserversfullyqualifieddomainname,using127.0.0.1forServerName
1)进进apache的装置目次:(视团体装置情形而分歧)[root@server~]#cd/usr/local/apache/conf
2)编纂httpd.conf文件,搜刮"#ServerName",增加ServerNamelocalhost:80
[root@serverconf]#ls
extrahttpd.confmagicmime.typesoriginal
[root@serverconf]#vihttpd.conf
#ServerNamewww.ckuyun.com:80
ServerNamelocalhost:803)再从头启动apache便可。
[root@server~]#/usr/local/apache/bin/apachectlrestart欢迎大家来到仓酷云论坛! |
|