• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Joomla CMS on REDHAT 8.5

  • 00:04 cat /etc/os-release
  • 00:13 create user joomlauser@localhost identified by 'Linuxc#6';
  • 00:25 dnf install php-curl php-xml php-zip php-mysqlnd php-intl php-gd php-json php-ldap php-mbstring php-opcache
  • 00:44 mysql -u root -p
  • 00:59 create database joomla;
  • 01:46 grant all privileges on joomla. * to joomlauser@localhost;
  • 02:14 flush privileges;
  • 02:24 \q
  • 02:32 systemctl restart httpd
  • 02:47 mkdir /var/www/html/joomla
  • 03:01 cd /var/www/html/joomla/
  • 03:11 wget https://downloads.joomla.org/cms/joomla4/4-1-1/Joomla_4-1-1-Stable-Full_Package.zip?format=zip
  • 03:21 ls -l
  • 03:31 unzip Joomla_4-1-1-Stable-Full_Package.zip?format=zip
  • 03:46 chown -R apache:apache /var/www/html/joomla/
  • 04:05 chmod -R 775 /var/www/html/joomla
  • 04:21 vim /etc/httpd/conf.d/joomla.conf
  • 06:33 vim /etc/hosts
  • 07:02 setenforce 0
  • 07:09 firewall-cmd --add-service=http --permanent
  • 07:24 firewall-cmd --reload
{{postValue.id}}

To Install Joomla CMS On REDHAT 8.5

Introduction

Joomla is a free and open-source content management system (CMS) that enables the publishing of web content. It is based on a model-view-controller framework for web applications that is independent of a CMS, making it possible to build powerful online applications.

Step1: Check the installed version of OS by using the below command

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="8.5 (Ootpa)"

Step 2: Install PHP required modules by using the below command

[root@linuxhelp ~]# dnf install php-curl php-xml php-zip php-mysqlnd php-intl php-gd php-json php-ldap php-mbstring php-opcache
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.

AppStream                                                                  3.1 MB/s | 3.2 kB     00:00    
BaseOS                                                                     2.7 MB/s | 2.8 kB     00:00    
Package php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 is already installed.
Package php-mysqlnd-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 is already installed.
  php-pecl-zip-1.15.3-1.module+el8.1.0+3186+20164e6f.x86_64                                                
  php-xml-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64                                                     

Complete!

Step 3: Login to the MySQL by using the below command

 [root@linuxhelp ~]# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 8.0.26 Source distribution

Copyright (c) 2000, 2021, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Step 4: Create the database by using the below command

mysql> create database joomla;
Query OK, 1 row affected (0.00 sec)

Step 5: Create the user by using the below command

mysql> create user joomlauser@localhost identified by 'Linuxc#6';
Query OK, 0 rows affected (0.01 sec)

Step 6: Grant all privileges to user for Joomla Database by using the below command

mysql> grant all privileges on joomla. * to joomlauser@localhost;
Query OK, 0 rows affected (0.00 sec)

Step 7: Flush privileges by using the below command

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

Step 8: Quit MYSQL by using the below command

mysql> \q
Bye

Step 9: Restart Apache web server by using the below command

 [root@linuxhelp ~]# systemctl restart httpd

Step 10: Create the directory on following path by using the below command

 [root@linuxhelp ~]# mkdir /var/www/html/joomla

Step 11: Change the directory on following path by using the below command

 [root@linuxhelp ~]# cd /var/www/html/joomla/

Step 12: Download the Joomla by using the below command

 [root@linuxhelp joomla]# wget https://downloads.joomla.org/cms/joomla4/4-1-1/Joomla_4-1-1-Stable-Full_Package.zip?format=zip
--2022-05-22 05:50:17--  https://downloads.joomla.org/cms/joomla4/4-1-1/Joomla_4-1-1-Stable-Full_Package.zip?format=zip
Resolving downloads.joomla.org (downloads.joomla.org)... 104.26.14.15, 172.67.74.86, 104.26.15.15, ...
Connecting to downloads.joomla.org (downloads.joomla.org)|104.26.14.15|:443... connected.



Joomla_4-1-1-Stable-Full_P 100%[=======================================>]  26.35M  4.05MB/s    in 7.7s    

2022-05-22 05:50:27 (3.41 MB/s) - ‘Joomla_4-1-1-Stable-Full_Package.zip?format=zip’ saved [27631591/27631591]

Step 13: List the downloaded Joomla file by using the below command

 [root@linuxhelp joomla]# ls -l
total 26984
-rw-r--r--. 1 root root 27631591 Mar 29 19:55 'Joomla_4-1-1-Stable-Full_Package.zip?fo
rmat=zip

Step 14 Unzip the downloaded Joomla zip file by using the below command

[root@linuxhelp joomla]# unzip Joomla_4-1-1-Stable-Full_Package.zip?format=zip
inflating: templates/cassiopeia/html/mod_menu/collapse-metismenu.php  
  inflating: templates/cassiopeia/html/mod_menu/dropdown-metismenu.php  
  inflating: templates/cassiopeia/html/mod_menu/dropdown-metismenu_component.php  
  inflating: templates/cassiopeia/html/mod_menu/dropdown-metismenu_heading.php  
  inflating: templates/cassiopeia/html/mod_menu/dropdown-metismenu_separator.php  
  inflating: templates/cassiopeia/html/mod_menu/dropdown-metismenu_url.php

Step 15: Give the owner permission for Joomla directory by using the below command

[root@linuxhelp joomla]# chown -R apache:apache /var/www/html/joomla/

Step 16: Give the file permission for the directory Joomla by using the below command

 [root@linuxhelp joomla]# chmod -R 775 /var/www/html/joomla/

Step 17: Create the virtual host by using the below command

[root@linuxhelp joomla]# vim /etc/httpd/conf.d/joomla.conf
<virtualhost *:80>
serverName linuxhelp.com
DocumentRoot /var/www/html/joomla/
<Directory /var/www/html/joomla/> 
Allowoverride all
Order allow,deny
Allow from all
</Directory>
</virtualhost>

Step 18: Put the host entry by using the below command

 [root@linuxhelp joomla]# vim /etc/hosts
	192.1686.121 linuxhelp.com

Step 19: Disable SELINUX by using the below command

[root@linuxhelp joomla]# setenforce 0

Step 20: Add the firewall for HTTP by using the below command

 [root@linuxhelp joomla]# firewall-cmd --add-service=http --permanent 
success

Step 21: RELOAD the firewall by using the below command

 [root@linuxhelp joomla]# firewall-cmd --reload 
Success

Step 22: Restart The Httpd Services by using the below command

[root@linuxhelp joomla]# systemctl restart httpd

Step 23: Go browser and search your IP or domain to access Joomla CMS as shown in the below image Snap 1

Step 24: Login Joomla as shown in the below image Snap 2

Step 25: This is the Dashboard page of Joomla Snap 3

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Install Joomla CMS on REDHAT 8.5. Your feedback is much welcome.

Tags:
ethan
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the official link for Joomla to download the latest version?

A

To download Joomla CMS follow this link, https://downloads.joomla.org/

Q

How to enable host file entry on Joomla?

A

To enable host file entry for Joomla use, # vim /etc /hosts

Q

What are the required PHP extensions for Joomla?

A

The required PHP extensions for Joomla are as follows,
php-soap php-zip php-mysql php-curl php-xml php-mcrypt php-gd php-fpm

Q

What language is Joomla CMS written in?

A

Joomla CMS is written in PHP.

Q

Does Joomla CMS require to install Database for it?

A

Yes, Joomla requires a Database to store its files and co

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.