Wednesday, April 10, 2013

Ubuntu 12.04 Joomla 3

I recently setup an Ubuntu server with Joomla 3.  I used the instructions found here with a few modifications.  I did not want the joomla site to be under the /joomla subdirectory so I skipped the first three commands under step 2.  The steps I used are as follows:

  1. sudo apt-get install lamp-server^
    mysql -u root -p
    CREATE DATABASE dbjoomla;
    CREATE USER joomlauser;
    (Change <password> to the password of your choice)
    SET PASSWORD FOR joomlauser = PASSWORD("<password>");
    GRANT ALL PRIVILEGES ON dbjoomla.* TO joomlauser@localhost IDENTIFIED BY '<password>';
    sudo unzip -q -d /var/www
    You will want to remove the index.html that exists in /var/www by default
    sudo chown -R www-data.www-data /var/www
    Install joomla 3.0 from a browser by typing http://[hostname]