How to Install Joomla on Ubuntu 18.04

Install Joomla on Ubuntu 18.04

In this tutorial we are going to learn how to install Joomla on Ubuntu 18.04. We will also install and configure its prerequisites. Joomla is a powerful content management system for building websites and programs. Written in PHP, Joomla forces a variety of websites, including portals, intranets, online books, e-commerce shops, and government apps. Joomla also has a rich ecosystem of plugins, themes, and specialist consultants to ease the process of building everything you might want on its wealthy platform.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 18.04 Bionic Beaver minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Joomla on Ubuntu 18.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y
apt-get upgrade -y

Step 2. Installing LAMP on Ubuntu 18.04 LTS.

You should check out this LAMP stack install tutorial for Ubuntu 18.04, if you haven’t installed LAMP yet. Once it’s installed, come back here and read on.

Step 3. Installing Joomla on Ubuntu 18.04 Bionic Beaver.

To download the Joomla package, go to its official website, copy the link of Joomla 3.8.12 stable zip package from it and paste it using ‘wget’ command on your terminal:

wget https://github.com/joomla/joomla-cms/releases/download/3.8.12/Joomla_3.8.12-Stable-Full_Package.zip
unzip -q Joomla*.zip -d /var/www/html

Once it is done, set the owner permission for Apache root directory:

chown -R www-data.www-data /var/www/html
chmod -R 755 /var/www/html

Step 4. Configure Database for Joomla.

Next, we need to create a database for the Joomla installation:

mysql -uroot -p

Run the following command to create a database for Joomla:

create database joomla;
create user joomlauser@localhost IDENTIFIED BY 'joomlapassword';
GRANT all ON joomla.* TO joomlauser@localhost;
flush privileges;
exit

Step 5. Accessing Joomla Web Installation.

Now you can access the Joomla web install wizard in your browser by entering the domain name or http://your_ip/ to continue your Joomla installation.

Install Joomla on Ubuntu 18.04

Congratulation’s! You have successfully install and configured Joomla on your Ubuntu 18.04 server. Thanks for using this tutorial for installing Joomla content management system on Ubuntu 18.04 LTS (Bionic Beaver) system.

Save

Save

Save

How to Install Joomla on CentOS 7

Install Joomla on CentOS 7

In this tutorial we’ll learn how to install Joomla on CentOS 7. We will also install and configure its prerequisites. Joomla is a powerful content management system for building websites and programs. Written in PHP, Joomla forces a variety of websites, including portals, intranets, online books, e-commerce shops, and government apps. Joomla also has a rich ecosystem of plugins, themes, and specialist consultants to ease the process of building everything you might want on its wealthy platform.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Joomla on CentOS 7

Step 1. First, ensure your system is fully up-to-date by running the following:

yum -y update

Step 2. Installing LAMP on CentOS 7.

You should check out this LAMP stack install tutorial for CentOS 7, if you haven’t installed LAMP yet. Once it’s installed, come back here and read on. We also will install the required packages for LAMP stack and the important PHP extension that Joomla relies on:

yum install php70w php70w-dom php70w-mbstring php70w-gd php70w-pdo php70w-json php70w-xml php70w-zip php70w-curl php70w-mcrypt

Step 3. Installing Joomla.

To download the Joomla package, go to its official website, copy the link of Joomla 3.7.5 stable zip package from it and paste it using ‘wget’ command on your terminal:

wget https://downloads.joomla.org/cms/joomla3/3-7-5/Joomla_3-7.5-Stable-Full_Package.zip
unzip -q Joomla*.zip -d /var/www/html

Once it is done, set the owner permission for Apache root directory:

chown -R apache:apache /var/www/html
chmod -R 755 /var/www/htm

Step 4. Configure Database for Joomla.

Next, we need to create a database for the Joomla installation:

mysql -uroot -p

Run the following command to create a database for Joomla:

MariaDB [(none)]>create database joomladb;
MariaDB [(none)]>create user joomlauser@localhost identified by 'password';
MariaDB [(none)]>grant all privileges on joomladb.* to joomlauser@localhost;
MariaDB [(none)]>flush privileges;
MariaDB [(none)]>exit

Step 5. Configure Firewall.

You will need to allow port 80 and 443 to access the Joomla from outside network. You can do this by running the following commands:

firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https

Step 5. Accessing Joomla Web Installation.

Now you can access the Joomla web install wizard in your browser by entering the domain name or http://your_ip/ to continue your Joomla installation.

Install Joomla on CentOS 7

Congratulation’s! You have successfully install and configured Joomla CMS on your CentOS 7 server. Thanks for using this tutorial for installing Joomla on CentOS 7 system.

Save

How to Install Joomla on Ubuntu 16.04

Install Joomla on Ubuntu 16.04

In this tutorial we’ll learn how to install Joomla on Ubuntu 16.04. We will also install and configure its prerequisites. Joomla is a powerful content management system for building websites and programs. Written in PHP, Joomla forces a variety of websites, including portals, intranets, online books, e-commerce shops, and government apps. Joomla also has a rich ecosystem of plugins, themes, and specialist consultants to ease the process of building everything you might want on its wealthy platform.

I recommend to use a minimal Ubuntu server setup as a basis for the tutorial, that can be a virtual or a root server image with an Ubuntu 16.04 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Joomla on Ubuntu 16.04

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

apt-get update -y && apt-get upgrade -y

Step 2. Installing LAMP on Ubuntu 16.04.

You should check out this LAMP stack install tutorial for Ubuntu 16.04, if you haven’t installed LAMP yet. Once it’s installed, come back here and read on. We also will install the required packages for LAMP stack and the important PHP extension that Joomla relies on:

apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-gd php7.0-mbstring php7.0-zip php7.0-dom php7.0-xml

Step 3. Installing Joomla.

To download the Joomla package, go to its official website, copy the link of Joomla 3.7.5 stable zip package from it and paste it using ‘wget’ command on your terminal:

wget https://downloads.joomla.org/cms/joomla3/3-7-5/Joomla_3-7.5-Stable-Full_Package.zip
unzip -q Joomla*.zip -d /var/www/html

Once it is done, set the owner permission for Apache root directory:

chown -R www-data.www-data /var/www/html
chmod -R 755 /var/www/html

Step 4. Configure Database for Joomla.

Next, we need to create a database for the Joomla installation:

mysql -uroot -p

Run the following command to create a database for Joomla:

create database joomla;
create user joomlauser@localhost IDENTIFIED BY 'joomlapassword';
GRANT all ON joomla.* TO joomlauser@localhost;
flush privileges;
exit

Step 5. Accessing Joomla Web Installation.

Now you can access the Joomla web install wizard in your browser by entering the domain name or http://your_ip/ to continue your Joomla installation.

Install Joomla on Ubuntu 16.04

Congratulation’s! You have successfully install and configured Joomla on your Ubuntu 16.04 server. Thanks for using this tutorial for installing Joomla on Ubuntu 16.04 LTS (Xenial Xerus) system.

Save

Save

Save