INFORMATICS

The Best

Przełącznik języka

This Site

CMS

Hardware

Uncategorised

useful sites

Databases

Emulators

Powershell

Storage Array

DNS

Antivirus program

Licznik

1.png8.png7.png9.png5.png5.png6.png
Today437
Yesterday638
This week1597
This month14057
Total1879556

Visitor Info

  • IP: 52.3.228.47
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

16
Online

Monday, 21 September 2020 12:02

How to Install Joomla CMS on CentOS 8

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

Step 1 - Update your base system with the latest available packages.

dnf update -y

 

Step 2 Install Server

dnf install httpd mariadb-server php php-cli php-common php-spl php-hash php-ctype php-json php-mbstring php-zip php-gd php-curl php-mysqli php-xml unzip -y

 

start the Apache and MariaDB services and enable them to start after system reboot with the following command:

systemctl start httpd
systemctl start mariadb
systemctl enable httpd
systemctl enable mariadb

Step 3 – Configure the MariaDB Database
By default, MariaDB is not secured. You can secure it using the following script:

mysql_secure_installation
This script will set the MariaDB root password, remove anonymous users, disallow root login remotely, and remove the test database, as shown below:

Enter current password for root (enter for none): Just Press Enter
Set root password? [Y/n] Y
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y
Once you are done, log in to the MariaDB shell with the following command:

mysql -u root -p
Provide your root password, then create a database and user for Joomla:

CREATE DATABASE joomladb;
GRANT ALL PRIVILEGES ON joomladb.* TO 'joomla'@'localhost' IDENTIFIED BY 'password';
Next, flush the privileges and exit from the MariaDB shell with the following command:

FLUSH PRIVILEGES;
EXIT;
Once the MariaDB is configured, you can proceed to the next step.

 

Search