9/25/2009

Ubuntu: Wordpress MU installation error (localhost.localdomain)

Such a frustrating problem this week.

Trying to set up a Wordpress MU installation on my home Ubuntu Linux server setup.

  • Installed LAMP.
  • Downloaded Wordpress MU.
  • Copied files to Apache root WWW folder. 
  • Created a MySQL user account.
  • Created wordpress database
  • Granted proper access to new user over wordpress database.
  • Went to: localhost
  • Got to this error message:

Warning!

Installing to http://localhost/ is not supported. Please use http://localhost.localdomain/ instead.
Looked around and around and around and finally came up with this solution:
> sudo vi /etc/hosts
 Change this line:
127.0.0.1    localhost
to read:
127.0.0.1   localhost    localhost.localdomain

Then you just browse to:
localhost.localdomain


Yeesh.

No comments :

Post a Comment