WordPress on Ubuntu

First, get the LAMP stack running.

[sourcecode language=”bash”]
sudo apt-get install lamp-server^
sudo apt-get install php5 php5-gd php5-mysql php5-curl php5-cli php5-cgi php5-dev
sudo apt-get install phpmyadmin
[/sourcecode]

Now get some WordPress happening.

[sourcecode language=”bash”]
sudo apt-get install wordpress
sudo ln -s /usr/share/wordpress /var/www/wordpress
[/sourcecode]

Then a few More Commands for Setup

[sourcecode language=”bash”]
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost
[/sourcecode]

If you know this info related to your URI/Domain, doing this will get ya mapped up.

[sourcecode language=”bash”]
sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress_preciseserver blog.preciseserver.com
[/sourcecode]

Set some permissions

[sourcecode language=”bash”]
sudo chown -R www-data /usr/share/wordpress
[/sourcecode]