zoukankan      html  css  js  c++  java
  • Linux安装Apache常见报错(一)

    启动Apache提示报错:Could not reliably determine the server's fully qualified domain name, using localhost,localdomain . Set the 'ServerName' directive globally to suppress this message.

    解决办法:

    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 即可。

  • 相关阅读:
    8.26 树状数组
    8.27 神异之旅
    8.26 雇佣
    8.28 Jack与Rose
    8.28 ISN
    保存和加载网络
    快速搭建网络
    分类网络
    torch中的回归
    pytorch中的Variable
  • 原文地址:https://www.cnblogs.com/phperlinxinlan/p/8600348.html
Copyright © 2011-2022 走看看