How to Install QuickCMS on Oracle Linux 9.3
- 00:27 Cat /etc/os-release
- 00:41 yum install httpd httpd-tools php php-curl php-gd php-mbstring php-zip php-json -y
- 01:01 systemctl enable httpd
- 01:10 systemctl start httpd
- 01:20 systemctl status httpd
- 01:43 firewall-cmd --permanent --add-service=http
- 02:01 firewall-cmd --permanent --add-service=https
- 02:04 firewall-cmd --reload
- 02:31 mkdir /var/www/html/quickcms
- 02:50 cd /var/www/html/quickcms
- 03:00 wget https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.7-en.zip
- 03:26 mv 'home.html?sFile=Quick.Cms_v6.7-en.zip' quickcms.zip
- 03:47 unzip quickcms.zip
- 04:03 rm quickcms.zip
- 04:21 chmod -R 755 /var/www/html/quickcms
- 04:37 chown -R apache:apache /var/www/html/quickcms
- 04:55 chcon -R -t httpd_sys_content_rw_t /var/www/html/quickcms
- 05:10 vi /etc/httpd/conf.d/quickcms.conf
- 06:24 systemctl restart httpd
To Install Quick CMS On Oracle Linux 9.3
Introduction:
Quick CMS is an easy-to-use, PHP-based content management tool. With this tool, you can easily extend functionality and change the layout of your website.
Installation Step:
Step 1: Check the OS version by using the below command.
[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="9.3"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Oracle Linux Server 9.3"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:9:3:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
ORACLE_BUGZILLA_PRODUCT_VERSION=9.3
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=9.3
Step 2: Install Apache and PHP by using the below command
[root@linuxhelp ~]# yum install httpd httpd-tools php php-curl php-gd php-mbstring php-zip php-json -y
Last metadata expiration check: 0:40:39 ago on Sunday 07 January 2024 03:24:35 AM.
Dependencies resolved.
==============================================================================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================================================================
Installed:
apr-1.7.0-12.el9_3.x86_64 apr-util-1.6.1-23.el9.x86_64 apr-util-bdb-1.6.1-23.el9.x86_64 apr-util-openssl-1.6.1-23.el9.x86_64 httpd-2.4.57-5.0.1.el9.x86_64
httpd-core-2.4.57-5.0.1.el9.x86_64 httpd-filesystem-2.4.57-5.0.1.el9.noarch httpd-tools-2.4.57-5.0.1.el9.x86_64 libzip-1.7.3-7.el9.x86_64 mod_http2-1.15.19-5.el9.x86_64
mod_lua-2.4.57-5.0.1.el9.x86_64 nginx-filesystem-1:1.20.1-14.0.1.el9_2.1.noarch oracle-logos-httpd-90.2-1.0.4.el9.noarch php-8.0.30-1.el9_2.x86_64 php-cli-8.0.30-1.el9_2.x86_64
php-common-8.0.30-1.el9_2.x86_64 php-fpm-8.0.30-1.el9_2.x86_64 php-gd-8.0.30-1.el9_2.x86_64 php-mbstring-8.0.30-1.el9_2.x86_64 php-opcache-8.0.30-1.el9_2.x86_64
php-pdo-8.0.30-1.el9_2.x86_64 php-pecl-zip-1.19.2-6.el9.x86_64 php-xml-8.0.30-1.el9_2.x86_64
Complete!
Step 3: Enable and Start the Apache service by using the below command.
[root@linuxhelp ~]# systemctl enable httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[root@linuxhelp ~]# systemctl start httpd
Step 4: Check the status of the Apache service by using the below command.
[root@linuxhelp ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: active (running) since Sun 2024-01-07 04:06:06 IST; 13s ago
Docs: man:httpd.service(8)
Main PID: 102543 (httpd)
Status: "Total requests: 0; Idle/Busy workers 100/0;Requests/sec: 0; Bytes served/sec: 0 B/sec"
Tasks: 213 (limit: 21644)
Memory: 41.5M
CPU: 208ms
CGroup: /system.slice/httpd.service
├─102543 /usr/sbin/httpd -DFOREGROUND
├─102550 /usr/sbin/httpd -DFOREGROUND
├─102551 /usr/sbin/httpd -DFOREGROUND
├─102552 /usr/sbin/httpd -DFOREGROUND
└─102553 /usr/sbin/httpd -DFOREGROUND
Jan 07 04:06:06 linuxhelp systemd[1]: Starting The Apache HTTP Server...
Jan 07 04:06:06 linuxhelp httpd[102543]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fe5e:e325%ens160. Set the 'ServerName' directive globall>
Jan 07 04:06:06 linuxhelp httpd[102543]: Server configured, listening on: port 80
Jan 07 04:06:06 linuxhelp systemd[1]: Started The Apache HTTP Server.
Step 5: Run the below firewall-cmd command to add both HTTP and HTTPS ports to the firewalld. Then, reload the firewalld to apply the changes.
[root@linuxhelp ~]# firewall-cmd --permanent --add-service=http
success
[root@linuxhelp ~]# firewall-cmd --permanent --add-service=https
success
[root@linuxhelp ~]# firewall-cmd --reload
Success
Step 6: Enter the below command to create a new directory '/var/www/html/quickcms'. This will be used as the root installation directory of QuickCMS.
[root@linuxhelp ~]# mkdir /var/www/html/quickcms
Step 7: Now go to the '/var/www/html/quickcms' directory and download the Quick CMS source code by using the wget command.
[root@linuxhelp ~]# cd /var/www/html/quickcms/
[root@linuxhelp quickcms]# wget https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.7-en.zip
--2024-01-07 04:07:56-- https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.7-en.zip
Resolving opensolution.org (opensolution.org)... 94.152.13.75
Connecting to opensolution.org (opensolution.org)|94.152.13.75|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘home.html?sFile=Quick.Cms_v6.7-en.zip’
home.html?sFile=Quick.Cms_v6.7-en.zip [ <=> ] 895.62K 912KB/s in 1.0s
2024-01-07 04:08:00 (912 KB/s) - ‘home.html?sFile=Quick.Cms_v6.7-en.zip’ saved [917111]
]
Step 8: Long list the files and check the downloaded source file by using the below command.
[root@linuxhelp quickcms]# ll
total 896
-rw-r--r--. 1 root root 917111 Jan 7 04:08 'home.html?sFile=Quick.Cms_v6.7-en.zip'
Step 9: Rename the 'home.html?sFile=Quick.Cms_v6.7-en.zip' into quickcms.zip for our convenience.
[root@linuxhelp quickcms]# mv home.html\?sFile\=Quick.Cms_v6.7-en.zip quickcms.zip
[root@linuxhelp quickcms]# ll
total 896
-rw-r--r--. 1 root root 917111 Jan 7 04:08 quickcms.zip
Step 10: Extract the downloaded zip file by using the below command.
[root@linuxhelp quickcms]# unzip quickcms.zip
Archive: quickcms.zip
creating: core/
inflating: core/common-admin.js
inflating: core/common-admin.php
inflating: core/common.js
inflating: core/common.php
inflating: core/files-admin.php
inflating: core/files.php
inflating: core/lang-admin.php
creating: core/libraries/
inflating: core/libraries/file-jobs.php
creating: templates/
Step 11: After extracted the quickcms.zip file then remove the zip file by using the below command.
[root@linuxhelp quickcms]# rm quickcms.zip
rm: remove regular file 'quickcms.zip'? y
[root@linuxhelp quickcms]# ll
total 36
-rw-r--r--. 1 root root 3573 Dec 28 2016 admin.php
drwxr-xr-x. 3 root root 4096 Jan 29 2020 core
drwxr-xr-x. 3 root root 113 Jan 29 2020 database
-rw-r--r--. 1 root root 15406 Nov 25 2019 favicon.ico
drwxr-xr-x. 3 root root 4096 Feb 24 2020 files
-rw-r--r--. 1 root root 63 Jan 18 2019 HOW_TO_INSTALL.txt
-rw-r--r--. 1 root root 2628 Jan 29 2020 index.php
drwxr-xr-x. 5 root root 186 Jan 29 2020 plugins
drwxr-xr-x. 4 root root 34 Jan 29 2020 templates
Step 12: Set proper ownership and permissions for the QuickCMS directory by using the below command.
[root@linuxhelp quickcms]# chmod -R 755 /var/www/html/quickcms/
[root@linuxhelp quickcms]# chown -R apache:apache /var/www/html/quickcms/
[root@linuxhelp quickcms]# chcon -R -t httpd_sys_content_rw_t /var/www/html/quickcms
Step 13: Edit the QuickCMS configuration file and define your database settings in below configuration file.
[root@linuxhelp quickcms]# vi /etc/httpd/conf.d/quickcms.conf
Insert the following lines
<VirtualHost *:80>
ServerName linuxhelp.xyz
ServerAlias linuxhelp.xyz
DocumentRoot /var/www/html/quickcms
<Directory /var/www/html/quickcms/>
Options -Indexes +FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
Step 14: Check the Apache configuration by using the below command.
[root@linuxhelp quickcms]# httpd -t
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fe5e:e325%ens160. Set the 'ServerName' directive globally to suppress this message
Syntax OK
Step 15: Finally restart the Apache service to apply the configuration changes by using the below command.
[root@linuxhelp quickcms]# systemctl restart httpd
Step 16: To access QuickCMS installer, open your web browser and access the QuickCMS installer using the URL http://< server ip address >/admin Here we can set our password on/admin.php page. Just enter your preferred username and password then enter This is the Dashboard of our Quick CMS
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install Quick CMS on Oracle Linux 9.3. Your feedback is much welcome.
Comments ( 0 )
No comments available