XRL Tech Corner

Font size: +

Install Joomla on Ubuntu

In this tutorial we will explain how to install Joomla in Ubuntu.

Joomla level of difficulty is between Wordpress and Drupal. It has a philosophy more similar to Drupal, but something more content.
The first step as usual is to open the Ubuntu virtual machine that we created in a previous tutorial: how to install Ubuntu in a VirtualBox virtual machine .

In this tutorial as in the previous ones, we already started from an Ubuntu system with Apache, PHP and MySQL installed. Check the tutorial how to install and configure Apache, PHP and MySQL in Ubuntu if you have not already done so.

The first thing we are going to do when starting the operating system is to open a terminal with the key combination Ctrl + Alt + T.
Once we are inside we will create the necessary database for the Joomla CMS.

Installing the database

Carlos @ tutorial: ~

For this we are going to connect to the database through the mysql client:
mysql -u root -p

Note: if we do not specify a password when installing the MySQL package, the password will usually be blank, so simply press the "Return" key when you ask for it.

Next we will create the database with the following statement (you can call it with the name you want):


Now we will create a user (with a password) that will be called jomuser to connect to the database from the Drupal CMS:

CREATE USER juser @ localhost IDENTIFIED BY 'juser1234';

Next we will give privileges to that user for the objects of the joomla database:

GRANT ALL PRIVILEGES ON joomla. * TO juser @ localhost;

Note: To consolidate these permits we must record them with the following command:


Once these actions are done, we will write exit to exit the mysql client.

Download Joomla

Next we will go to the official website of Joomla to download and install Joomla in its latest version 3.

Note: The Joomla 3.7.2 version is now available

We will create a jom directory in our main user directory on the Linux terminal by typing the cd statement and then mkdir jom and download the latest version available with the wget statement to the jom directory:
wget https://github.com/joomla/joomla-cms/releases/download/3.6.0/Joomla_3.6.0-Stable-Full_Package.zip
We will unpack it using the unzip command:
unzip Joomla_3.6.0-Stable-Full_Package.zip

Once this process is finished, we will delete the file Joomla_3.6.0-Stable-Full_Package.zip to free up disk space.

We will have it available in the following directory:
cd ~ / jom
Once the file is unpacked we will have to copy all that directory to the directory where we have the html files that the Apache web server uses.

In our case we will create a directory jom just below html.
In this way if we want to design and publish a web later, we would access the Joomla under the context / jom.
If instead we want our website to be just the Joomla CMS engine, then we could locate the joomla files just inside html:
sudo mkdir / var / www / html / jom

sudo cp -rp ~ / jom / * / var / www / html / jom /

Note: The sudo will ask you to enter the user password.
Now we must change the owner of the files to be www-data, which is the user that Apache habitually uses.
sudo chown -R www-data: www-data / var / www / html / jom
Now we will continue the installation from the web browser.

Installing the Joomla CMS

For this we will enter the browser specifying our IP address (or localhost) and access the Joomla installation screen.
http: // localhost / blog
In the Joomla installation screen, we will select the language "Spanish (Spanish)", we will inform the name of the Site, the user name, password and administrator's mail and click on the "Next" button.

tutorial joomla select language

Then we will have to enter the configuration of the database.
We will inform the user juser and the password juser1234 and the Joomla Database and then click on the "Next" button.

tutorial joomla configure database

In the next screen we will have to select if we want to install sample data or not, we will also see a summary of the configuration data. If we want to correct anything, we will click on "Install".

joomla tutorial install

With that we will get to the final installation screen of Joomla where we will advise to delete the installation folder, click on the "Delete installation folder" button.

tutorial joomla folder install deleted

Then we can go to see the Site by clicking on the Site button

tutorial joomla see site

or Manage it by clicking on the Administration button.

tutorial joomla admin site

The "philosophy" of Joomla is a little different from the rest of CMS as wordpress.

In the administration screen we will see that we can create contents (pages, nodes), define data structures, define the appearance, configure users, roles and permissions, and generate reports, among other things.

Upon entering we will see that we can update the Joomla version, and some Plugin. It will also ask us for permission to collect statistics.

tutorial joomla admin site3

To install the adminstration language in Spanish, click on the menu System -> Control Panel and then on the menu on the left in Languages.

tutorial joomla admin control panel

Then we will click on the Install Languages ​​button.

tutorial joomla admin install languages

We will go to the last page and look for Spanish (es-ES) we will select it and click on the Install button.

tutorial joomla admin install languages2

We will get a message ok

tutorial joomla admin install languages2 ok

We will return to the System -> Control Panel and Languages

And click on the star to default to Spanish.

tutorial joomla admin install languages2 spa ok

If we access the Languages ​​screen again in the drop-down menu we can set the Admin language to Spanish as well.

tutorial joomla admin install languages2 admin spa

With that we will see that we already have the Administration in Spanish.

tutorial joomla admin install languages2 admin spa ok

Rate this blog entry:
We analyze the Digital Ocean vps servers
Install Ubuntu Moodle

Related Posts



No comments made yet. Be the first to submit a comment
Wednesday, 18 September 2019

Captcha Image