Install Joomla Over SSH in CentOS/RHEL

Posted on February 14th, 2018

Install Joomla Over SSH in CentOS/RHEL

This tutorial will help you how to install Joomla from the command line. Joomla is a Content Manage System (CMS), which enables you to build websites and powerful online application.

1) Login to the server using SSH.

2) Go to the document root of the domain which needs to install Joomla.

#cd /home/joomla/public_html

3) Download Joomla latest version.

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

4) Extract the zip file.

#unzip Joomla_3-7.4-Stable-Full_Package.zip\?format\=zip

#chown -R username:username .

5) Before installing Joomla create a database for Joomla

In this tutorial, database name is joomla and username is user_joomla. You can choose your own database name and username.

#mysql -u root -p

>CREATE DATABASE joomla;

>CREATE USER user_joomla@localhost;

>SET PASSWORD FOR user_joomla@localhost=PASSWORD(“password”);

>GRANT ALL PRIVILEGES ON joomla.* TO user_joomla@localhost IDENTIFIED BY ‘password’;

>FLUSH PRIVILEGES;

>exit

 

Configure Joomla from Web Browser

1) Open your Web browser and enter your domain name. You will get below Joomla install page. Then enter the details and click ‘Next’ button.

Install Joomla Over SSH in CentOS/RHEL

 

2) Enter database information in given page.

Install Joomla Over SSH in CentOS/RHEL

 

3) After completing database configuration click “Install’ button.

Install Joomla Over SSH in CentOS/RHEL

 

4) After completing installation click “Remove Installation folder”.

Install Joomla Over SSH in CentOS/RHEL

 

5) Click “Site ” button.

Install Joomla Over SSH in CentOS/RHEL

 

6) You will get below window.

Install Joomla Over SSH in CentOS/RHEL

 

Now you can login as an administrator by using below URL.

http://your_domain_name/administrator

If your domain name is example.com., you must enter the following URL.

http://example.com/adminstrator

Leave a Reply