For those of you who didn’t know, Joomla is a free and open source popular content management that uses a PHP and a backend database, such as MySQL. It offers a wide variety of features that make it an incredibly flexible content management system right out of the box. Furthermore, there are hundreds of free extensions written for that allows users to extend its functionality and customize it to their own objectives. A major advantage of using a content management system (CMS) is that it requires almost no technical skill or knowledge to manage.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Joomla on Ubuntu 14.04 server.
Install Joomla on Ubuntu 14.04
Step 1. Install required packages.
sudo apt-get update sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-snmp php5-tidy php5-xmlrpc
Step 2.Install Joomla.
Download the latest version of Joomla.
Unzip and copy the content to Apache2 default directory in Ubuntu by running the commands below:
sudo unzip -q Joomla*.zip -d /var/www/html
Change ownership of /var/www/html:
sudo chown -R www-data.www-data /var/www/html sudo chmod -R 755 /var/www/html
Step 3. Configure Apache web server.
Create a new virtual host configuration file at location /etc/apache2/sites-available/idroot.us.conf:
#nano /etc/apache2/sites-available/idroot.us.conf <VirtualHost *:80> ServerAdmin email@example.com DocumentRoot /var/www/html ServerName www.idroot.us ErrorLog /var/log/apache2/error.log </VirtualHost>
Step 4. Create MySQL database and user.
# mysql -u root -p mysql> CREATE DATABASE joomla; mysql> GRANT ALL PRIVILEGES on joomla.* to 'joomlauser'@'localhost' identified by 'your_password'; mysql> FLUSH PRIVILEGES;
Step 5. Start Apache and MySQL services.
sudo service apache2 restart sudo service mysql restart
Step 6. Access the Joomla Installer.
Now you can finish your Joomla installation by opening your favorite web browser and navigate to: http://your_ip_address.
Once you have finished going through the installer, delete the installation folder per Joomla’s instructions and change the permissions on the config file:
sudo rm -rf /var/www/installation/ sudo chmod 755 /var/www/configuration.php
Congratulation’s! You have successfully installed Joomla. Thanks for using this tutorial for installing Joomla content management system on Ubuntu 14.04 systems. For additional help or useful information, we recommend you to check the official Joomla website.