Installing WordPress on Ubuntu

This guide is great. But one has to install and setup apache and mysql first (if haven’t). I follow this guide and add this line before the earlier guide and then it works perfectly. sudo apt-get install apache2 php5 mysql-server phpmyadmin But be sure to restart apache after installation. sudo /etc/init.d/apache2 restart