1.用apache搭建web,启动HTTP时出现
- [root@vm1 ~]# /etc/init.d/httpd restart
- Stopping httpd: [ OK ]
- Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName
解决办法
- [root@vm1 ~]# vim /etc/httpd/conf/
- httpd.conf magic
- [root@vm1 ~]# vim /etc/httpd/conf/httpd.conf
- 找到#ServerName www.example.com:80 把#去掉,再重启apache
- [root@vm1 ~]# /etc/init.d/httpd restart
- Stopping httpd: [ OK ]
- Starting httpd: [ OK ]