zoukankan      html  css  js  c++  java
  • 重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting的解决方法

    启动apache提示 :

    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

    (1)、进入apache的安装目录: cd /etc/apache2/ 

    (2)、编辑http.conf文件,添加ServerName localhost:80

          sudo vim httpd.conf

    (3)、最后,再次重启apache

          sudo /etc/init.d/apache2 restart

  • 相关阅读:
    第七周作业
    第六周作业
    CSS
    12 week work
    7 week work
    6 week work 3
    6 week work 2
    6 week work 1
    常用的网络服务小总结
    网络基础设置
  • 原文地址:https://www.cnblogs.com/xixihuang/p/5161699.html
Copyright © 2011-2022 走看看