Install Joomla on a CentOS Linux

joomla_logoToday we will show you how to install Joomla on a Centos VPS using Apache web-server and MySQL database.

Joomla is a free and open-source content management system (CMS) for publishing web content. It is built on a model–view–controller web application framework that can be used independently of the CMS.

Joomla is written in PHP, uses object-oriented programming (OOP) techniques and software design patterns, stores data in a MySQL, MS SQL or PostgreSQL database and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.
It is an immensely popular and award-winning open source Content Management System (CMS) that has been downloaded over 50 million times.

Joomla CMS enables users to build websites and create potent online applications in an easy way.

Before you start the installation, please make sure that you have LAMP stack installed on your server. If not, follow our excellent tutorial about installing LAMP (Linux Apache, MariaDB & PHP) on a CentOS VPS


We are using our 1 VPS hosting plan for this tutorial.


First make sure your Linux VPS is fully up-to-date using the command below:

# yum update

Before we proceed you should customize your Firewall to allow external access to port 80 (http) and 443 (https). To do this please enter the following commands:

# firewall-cmd –permanent –zone=public –add-service=http
# firewall-cmd –permanent –zone=public –add-service=https
# firewall-cmd –reload


Enter a directory by your choice and download Joomla. For our purpoces we are using the /tmp directory.

# cd /tmp

Install wget and unzip using yum:

# yum install wget unzip

Now download the latest Joomla version:

# wget

Then create a directory /var/www/html/joomla and unzip the Joomla zip file in the newly created folder:

# mkdir -p /var/www/html/joomla
# unzip -q -d /var/www/html/joomla

Give the appropriate permissions:

# chown -R apache:apache /var/www/html/joomla
# chmod -R 755 /var/www/html/joomla


Enter MySQL as root:

# mysql -u root -p

mysql> CREATE DATABASE joomla;
mysql> GRANT ALL PRIVILEGES on joomla.* to ‘joomlauser’@’localhost’ identified by ‘your_password';

Restart MySQL:

# systemctl restart mysqld.service

Now you can finish your Joomla installation by opening your favorite web browser and navigate to: http://your_ip_address/joomla

Install Joomla on a CentOS Linux
Written by: AFRIDA YANTI
Reting: 4.9

Cheap Best Hosting is a leading provider of web hosting, shared hosting, resellers hosting, virtual private servers, vps hosting, dedicated servers and domain name registration.

Follow me on Google+ | Twitter | Facebook | Linkedin | YouTube

Share This Post

Recent Articles

Leave a Reply

© 2019 Cheap Best Hosting Blog. All rights reserved. · Entries RSS · Comments RSS
Hosting By Cheap Best Hosting