Saturday, September 10, 2011

Installing LAMP on Ubuntu 11.04

Followed the instructions in this link to install LAMP.
If you get this message while restarting apache - “apache2: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for localhost”
Type this in the terminal to fix the problem:
echo "ServerName localhost" | sudo tee /etc/apache2/conf.d/fqdn

and reload apache
sudo /etc/init.d/apache2 reload

No comments:

Post a Comment