|In this tutorial you will learn now to install Joomla on a Centos 7 VPS using Apache web-server and MySQL database.|
Install Joomla. Joomla is one of the most popular free content management systems (CMS) in the world that allows you to easily create and manage a dynamic website. It has an intuitive management interface to control all the features and functionality this powerful CMS possesses. There are also hundreds of free extensions written for Joomla that allows users to extend its functionality and customize it to their own objectives. Joomla Content Management System is supported by a large and friendly community where newbies could really rely on assistance from more experienced members. Joomla counted more than 30 million downloads in 2012 and is growing so if you have decided to start a website on Joomla CMS, you are on the right track!
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.
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 7 VPS
We are using our $20.00/m hosting plan for this tutorial.
UPDATE THE SYSTEM
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 https://github.com/joomla/joomla-cms/releases/download/3.4.2/Joomla_3.4.2-Stable-Full_Package.zip
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 Joomla_3.4.2-Stable-Full_Package.zip -d /var/www/html/joomla
Give the appropriate permissions:
# chown -R apache:apache /var/www/html/joomla # chmod -R 755 /var/www/html/joomla
CREATE MYSQL DATABASE:
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'; mysql> FLUSH PRIVILEGES;
# 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
Of course you don’t have to do any of this if you use our one of our pre built Joomla servers Joomla servers. Our Joomla servers come pre built with Joomla already installed for you. If you need assistance simply ask our expert Linux admins and they will be happy to take care of your request immediately.
If you liked this post please share it with your friends on the social networks or simply leave a reply below.
Tags: centos, centos 7, install, install joomla, Joomla, Linux