in This Tutorial you will Learn " How to Install Joomla on Rocky Linux 8"
Joomla is a free and open source platform Content Management System (CMS) written in PHP. It enables you to create dynamic web pages and applications with ease. It includes an easy-to-use design that allows you to get the most out of its features and functionality.
_________________________________________________________________________________________
Server - Os: Rocky Linux 8.5 64Bit | IP -192.168.1.20 | Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf module reset php ; dnf -y module install php:7.4
dnf install -y httpd mariadb mariadb-server php php-{bz2,mysqli,curl,gd,intl,common,mbstring,xml,json,bcmath,pear,xmlrpc,snmp,cli,ldap,opcache,pdo}
systemctl enable httpd mariadb ; systemctl start httpd mariadb
mysql_secure_installation
mysql -u root -p
CREATE DATABASE testdb;
CREATE USER `testuser`@`localhost` IDENTIFIED BY 'testpassword';
GRANT ALL ON testdb.* TO `testuser`@`localhost`;
FLUSH PRIVILEGES;
exit;
mkdir -p /var/www/yourdomain.com/
chown -R $USER:$USER /var/www/yourdomain.com ; chmod -R 755 /var/www
wget https://downloads.joomla.org/cms/joomla4/4-0-5/Joomla_4-0-5-Stable-Full_Package.zip?format=zip -O joomla.zip
unzip joomla.zip -d /var/www/yourdomain.com/
nano /etc/httpd/conf.d/yourdomain.com.conf
<VirtualHost *:80>
ServerName yourdomain.com
ServerAlias www.yourdomain.com
DocumentRoot /var/www/yourdomain.com/joomla/
<Directory /var/www/yourdomain.com/joomla/>
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>
ErrorLog /var/log/httpd/yourdomain.com-error.log
CustomLog /var/log/httpd/yourdomain.com-access.log combined
</VirtualHost>
apachectl configtest
echo "192.168.1.20 www.yourdomain.com" >> /etc/hosts
mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf_backup
systemctl restart httpd ; systemctl status httpd
www.yourdomain.com
_________________________________________________________________________________________
Tuesday, April 19, 2022
How To Install Joomla on Rocky Linux 8
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment