linux下apache重启fqdn报错
重启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安装目录:cd /etc/apache2/conf-available;
2)创建fqdn.conf文件,编辑内容:ServerName localhost,保存退出;
3)load一下新创建的fqdn.conf文件:a2enconf fqdn ;
4)重启apache :service apache2 restart。