542179528 发表于 2018-11-20 11:12:26

apache检测配置时有警告apachectl

  apachectl -t
  httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
  

  解决办法
  vi /etc/httpd/conf/httpd.conf
  去除#ServerName localhost:80
  此行的#符号
  重新加载即可
  




页: [1]
查看完整版本: apache检测配置时有警告apachectl