免責聲明

Disclaimer (免責聲明)
繼續閱覽代表您接受以上的免責聲明.
To continue reading means you accept the above disclaimer.

2011年3月1日 星期二

Start/stop apache in Ubuntu

[try]
sudo /etc/init.d/apache2 stop/start/restart
or
sudo /usr/sbin/apache2ctl stop/start/restart



[Symptom]
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

[try]
create a file named "fqdn" under directory /etc/apache2/conf.d/
by, for example,
sudo nano /etc/apache2/conf.d/fqdn

add "ServerName localhost" to the above newly created file



[ref]
http://ubuntuforums.org/showthread.php?t=364242
https://help.ubuntu.com/community/ApacheMySQLPHP

沒有留言:

張貼留言