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
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/Joomla/

<Directory /var/www/Joomla/>
AllowOverride All
allow from all
</Directory>

</VirtualHost>

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://<ipaddress or domain name
browser_url

Configure the Site information and Admin user setup as follow
site_and _admin_setup

Configure the Database setup as follows
databse_setup

Verify the compatibility for installing Joomla as shown below
compitibility_check

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_changes

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

Access the login page from the options shown below
login_page

You can log in using the admin user credentials
admin_credential

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

You will see the version of Joomla
joomla_version

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


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Joomla Ubuntu
user image Author :  Michael