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 ]