How to install Joomla 3.8.11 on Ubuntu 18.04

To install Joomla 3.8.11 on Ubuntu 18.04

Joomla is a free, open-source, and popular content management system (CMS) that can be used to build online applications and websites. It uses a PHP application and back-end databases such as MySQL or MariaDB. The main benefit of using Joomla CMS is that it does not require significant technical skill or knowledge to manage. In this tutorial, we will cover the installation of Joomla on Ubuntu 18.04.

Prerequisites

Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt 
php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  
php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Installation

Download a Joomla CMS package using the following URL

root@linuxhelp1:~# wget https://downloads.joomla.org/cms/joomla3/3-8-11/Joomla\_3-8-11-Stable-Full\_Package.zip?format=zip
--2018-08-18 00:10:06--  https://downloads.joomla.org/cms/joomla3/3-8-11/Joomla\_3-8-11-Stable-Full\_Package.zip?format=zip
Resolving downloads.joomla.org (downloads.joomla.org)... 72.29.124.146
Connecting to downloads.joomla.org (downloads.joomla.org)|72.29.124.146|:443... connected.
.
.
HTTP request sent, awaiting response... 200 OK
Length: 13489214 (13M) \[application/zip\]
Saving to: ‘Joomla\_3-8-11-Stable-Full\_Package.zip?format=zip’

Joomla\_3-8-11-Stable-Fu 100%\[==============================>\]  12.86M  1.10MB/s    in 13s     

2018-08-18 00:10:22 (993 KB/s) - ‘Joomla\_3-8-11-Stable-Full\_Package.zip?format=zip’ saved \[13489214/13489214\]

After Downloading extract the downloaded package

root@linuxhelp1:~# unzip Joomla\_3-8-11-Stable-Full\_Package.zip?format=zip -d Joomla
Archive:  Joomla\_3-8-11-Stable-Full\_Package.zip?format=zip
  inflating: Joomla/LICENSE.txt      
  inflating: Joomla/README.txt       
   creating: Joomla/administrator/
   creating: Joomla/administrator/cache/
  inflating: Joomla/administrator/cache/index.html  
   creating: Joomla/administrator/components/
.
.
extracting: Joomla/templates/system/images/j\_button2\_readmore.png  
 extracting: Joomla/templates/system/images/j\_button2\_right.png  
 extracting: Joomla/templates/system/images/selector-arrow.png  
  inflating: Joomla/templates/system/index.php  
  inflating: Joomla/templates/system/offline.php  
   creating: Joomla/tmp/
  inflating: Joomla/tmp/index.html   
  inflating: Joomla/web.config.txt  

Move the extracted file into the HTML directory

root@linuxhelp1:~# mv Joomla /var/www/

Navigate to the apache document root directory

root@linuxhelp1:~# cd /var/www/

Change ownership and permission of the as Joomla CMS follows

root@linuxhelp1:/var/www# chown -R www-data.www-data Joomla
root@linuxhelp1:/var/www# chmod -R 775 Joomla

Create a new virtual host configuration for accessing the Joomla CMS

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/joomla.conf
 ServerName www.linuxhelp1.com
DocumentRoot /var/www/Joomla/
 AllowOverride All
allow from all 

Enable site access

root@linuxhelp1:/var/www# a2ensite joomla.conf
Enabling site joomla.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service to make the changes effect

root@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://

Configure the Site information and Admin user setup as follow

Configure the Database setup as follows

Verify the compatibility for installing Joomla as shown below
Change the value inside the php.ini configuration as follows

root@linuxhelp1:/var/www# vim /etc/php/7.0/apache2/php.ini
\[..\]
Output\_buffering = Off
\[..\]

Restart the apache service to make the changes effect

root@linuxhelp1:/var/www# systemctl restart apache2

After the configuration, you will see the following page as shown below

Access the login page from the options shown below

You can log in using the admin user credentials

After the Successful login, you will see the Admin dashboard of Joomla as shown below

You will see the version of Joomla

With this, the method to install Joomla 3.8.11 on Ubuntu 18.04 comes to an end.

Tag : Joomla Ubuntu
FAQ
Q
How to unzip the zoomla file?
A
Use the following command:

#unzip Joomla_3.6.0-stable-Full_Package.zip -d /var/www/html/joomla
Q
How to restart the services?
A
After that start and enable the Apache service and MySQL.

# systemctl restart apache

#systemctl restart mysql.service
Q
How can I extract the Joomla package?
A
Run the following command:

#unzip Joomla_3.6.0-stable-Full_Package.zip -d /var/www/html/joomla
Q
How to create a directory on Joomla?
A
Run the following command:

# cd /var/www/html/

#mkdir joomla
Q
How to download the Joomla package?
A
Run the following command:

# wget https://downloads.joomla.org/cms/joomla3/3-7-2/Joomla_3-7.2-Stable-Full_Package.zip?format=zip