How to install Pluck CMS on Oracle Linux 9.3

To install Pluck CMS on Oracle Linux 9.3

Introduction

Pluck CMS is a simple PHP-based content management system (CMS) that enables users to easily manage their websites. It prioritizes simplicity and user-friendliness, making it an excellent option for smaller websites. Pluck operates under the General Public License (GPL) and is fully open source.

Procedure

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 the LAMP stack components like Apache web server and MariaDB using the following command

[root@linuxhelp ~]# dnf install httpd mariadb-server -y
Oracle Linux 9 BaseOS Latest (x86_64)                                                                      18 kB/s | 4.2 kB     00:00    
Oracle Linux 9 BaseOS Latest (x86_64)                                                                      24 MB/s |  28 MB     00:01    
Oracle Linux 9 Application Stream Packages (x86_64)                                                        52 kB/s | 4.5 kB     00:00    
Oracle Linux 9 Application Stream Packages (x86_64)                                                        26 MB/s |  37 MB     00:01    
Oracle Linux 9 UEK Release 7 (x86_64)                                                                      31 kB/s | 3.5 kB     00:00    
Oracle Linux 9 UEK Release 7 (x86_64)                                                                      23 MB/s |  36 MB     00:01    
Last metadata expiration check: 0:00:04 ago on Sunday 07 July 2024 01:51:50 AM.
Dependencies resolved.
==========================================================================================================================================
 Package                               Architecture           Version                             Repository                         Size
==========================================================================================================================================
Installing:
 httpd                                 x86_64                 2.4.57-8.0.1.el9                    ol9_appstream                      65 k
 mariadb-server                        x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                     9.7 M
Installing dependencies:
 httpd-core                            x86_64                 2.4.57-8.0.1.el9                    ol9_appstream                     1.8 M
 httpd-filesystem                      noarch                 2.4.57-8.0.1.el9                    ol9_appstream                      11 k
 httpd-tools                           x86_64                 2.4.57-8.0.1.el9                    ol9_appstream                      95 k
 mariadb                               x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                     1.6 M
 mariadb-common                        x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                      54 k
 mariadb-errmsg                        x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                     239 k
 mysql-selinux                         noarch                 1.0.5-1.el9_0                       ol9_appstream                      35 k
 oracle-logos-httpd                    noarch                 90.2-1.0.4.el9                      ol9_baseos_latest                  37 k
 perl-DBD-MariaDB                      x86_64                 1.21-16.el9_0                       ol9_appstream                     160 k
 perl-Sys-Hostname                     x86_64                 1.23-481.el9                        ol9_appstream                      16 k
Installing weak dependencies:
 mariadb-backup                        x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                     6.5 M
 mariadb-gssapi-server                 x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                      15 k
 mariadb-server-utils                  x86_64                 3:10.5.22-1.el9_2                   ol9_appstream                     234 k
 mod_http2                             x86_64                 2.0.26-2.el9_4                      ol9_appstream                     171 k
 mod_lua                               x86_64                 2.4.57-8.0.1.el9                    ol9_appstream                      59 k

Transaction Summary
==========================================================================================================================================
Install  17 Packages

Total download size: 21 M
Installed size: 114 M
Downloading Packages:
(1/17): oracle-logos-httpd-90.2-1.0.4.el9.noarch.rpm                                                      225 kB/s |  37 kB     00:00    
(2/17): httpd-filesystem-2.4.57-8.0.1.el9.noarch.rpm                                                      1.2 MB/s |  11 kB     00:00    
(3/17): httpd-2.4.57-8.0.1.el9.x86_64.rpm                                                                 159 kB/s |  65 kB     00:00    
(4/17): httpd-tools-2.4.57-8.0.1.el9.x86_64.rpm                                                           396 kB/s |  95 kB     00:00    
(5/17): mariadb-10.5.22-1.el9_2.x86_64.rpm                                                                 14 MB/s | 1.6 MB     00:00    
(6/17): mariadb-common-10.5.22-1.el9_2.x86_64.rpm                                                         1.5 MB/s |  54 kB     00:00    
(7/17): mariadb-errmsg-10.5.22-1.el9_2.x86_64.rpm                                                         941 kB/s | 239 kB     00:00    
(8/17): mariadb-gssapi-server-10.5.22-1.el9_2.x86_64.rpm                                                  1.2 MB/s |  15 kB     00:00    
(9/17): httpd-core-2.4.57-8.0.1.el9.x86_64.rpm                                                            2.1 MB/s | 1.8 MB     00:00    
(10/17): mariadb-backup-10.5.22-1.el9_2.x86_64.rpm                                                         13 MB/s | 6.5 MB     00:00    
(11/17): mod_http2-2.0.26-2.el9_4.x86_64.rpm                                                              6.3 MB/s | 171 kB     00:00    
(12/17): mariadb-server-utils-10.5.22-1.el9_2.x86_64.rpm                                                  3.0 MB/s | 234 kB     00:00    
(13/17): mod_lua-2.4.57-8.0.1.el9.x86_64.rpm                                                              1.4 MB/s |  59 kB     00:00    
(14/17): mysql-selinux-1.0.5-1.el9_0.noarch.rpm                                                           793 kB/s |  35 kB     00:00    
(15/17): perl-DBD-MariaDB-1.21-16.el9_0.x86_64.rpm                                                        3.5 MB/s | 160 kB     00:00    
(16/17): perl-Sys-Hostname-1.23-481.el9.x86_64.rpm                                                        122 kB/s |  16 kB     00:00    
(17/17): mariadb-server-10.5.22-1.el9_2.x86_64.rpm                                                         26 MB/s | 9.7 MB     00:00    
------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                      17 MB/s |  21 MB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                  1/1 
  Installing       : mariadb-common-3:10.5.22-1.el9_2.x86_64                                                                         1/17 
  Installing       : perl-Sys-Hostname-1.23-481.el9.x86_64                                                                           2/17 
  Installing       : mariadb-errmsg-3:10.5.22-1.el9_2.x86_64                                                                         3/17 
  Installing       : perl-DBD-MariaDB-1.21-16.el9_0.x86_64                                                                           4/17 
  Running scriptlet: mysql-selinux-1.0.5-1.el9_0.noarch                                                                              5/17 
  Installing       : mysql-selinux-1.0.5-1.el9_0.noarch                                                                              5/17 
  Running scriptlet: mysql-selinux-1.0.5-1.el9_0.noarch                                                                              5/17 
libsemanage.semanage_direct_install_info: Overriding mysql module at lower priority 100 with module at priority 200.

  Installing       : mariadb-backup-3:10.5.22-1.el9_2.x86_64                                                                         6/17 
  Installing       : mariadb-gssapi-server-3:10.5.22-1.el9_2.x86_64                                                                  7/17 
  Installing       : mariadb-server-utils-3:10.5.22-1.el9_2.x86_64                                                                   8/17 
  Running scriptlet: mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                         9/17 
  Installing       : mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                         9/17 
  Running scriptlet: mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                         9/17 
  Installing       : mariadb-3:10.5.22-1.el9_2.x86_64                                                                               10/17 
  Installing       : httpd-tools-2.4.57-8.0.1.el9.x86_64                                                                            11/17 
  Running scriptlet: httpd-filesystem-2.4.57-8.0.1.el9.noarch                                                                       12/17 
  Installing       : httpd-filesystem-2.4.57-8.0.1.el9.noarch                                                                       12/17 
  Installing       : httpd-core-2.4.57-8.0.1.el9.x86_64                                                                             13/17 
  Installing       : mod_lua-2.4.57-8.0.1.el9.x86_64                                                                                14/17 
  Installing       : oracle-logos-httpd-90.2-1.0.4.el9.noarch                                                                       15/17 
  Installing       : mod_http2-2.0.26-2.el9_4.x86_64                                                                                16/17 
  Installing       : httpd-2.4.57-8.0.1.el9.x86_64                                                                                  17/17 
  Running scriptlet: httpd-2.4.57-8.0.1.el9.x86_64                                                                                  17/17 
  Running scriptlet: mysql-selinux-1.0.5-1.el9_0.noarch                                                                             17/17 
  Running scriptlet: httpd-2.4.57-8.0.1.el9.x86_64                                                                                  17/17 
  Verifying        : oracle-logos-httpd-90.2-1.0.4.el9.noarch                                                                        1/17 
  Verifying        : httpd-2.4.57-8.0.1.el9.x86_64                                                                                   2/17 
  Verifying        : httpd-core-2.4.57-8.0.1.el9.x86_64                                                                              3/17 
  Verifying        : httpd-filesystem-2.4.57-8.0.1.el9.noarch                                                                        4/17 
  Verifying        : httpd-tools-2.4.57-8.0.1.el9.x86_64                                                                             5/17 
  Verifying        : mariadb-3:10.5.22-1.el9_2.x86_64                                                                                6/17 
  Verifying        : mariadb-backup-3:10.5.22-1.el9_2.x86_64                                                                         7/17 
  Verifying        : mariadb-common-3:10.5.22-1.el9_2.x86_64                                                                         8/17 
  Verifying        : mariadb-errmsg-3:10.5.22-1.el9_2.x86_64                                                                         9/17 
  Verifying        : mariadb-gssapi-server-3:10.5.22-1.el9_2.x86_64                                                                 10/17 
  Verifying        : mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                        11/17 
  Verifying        : mariadb-server-utils-3:10.5.22-1.el9_2.x86_64                                                                  12/17 
  Verifying        : mod_http2-2.0.26-2.el9_4.x86_64                                                                                13/17 
  Verifying        : mod_lua-2.4.57-8.0.1.el9.x86_64                                                                                14/17 
  Verifying        : mysql-selinux-1.0.5-1.el9_0.noarch                                                                             15/17 
  Verifying        : perl-DBD-MariaDB-1.21-16.el9_0.x86_64                                                                          16/17 
  Verifying        : perl-Sys-Hostname-1.23-481.el9.x86_64                                                                          17/17 

Installed:
  httpd-2.4.57-8.0.1.el9.x86_64            httpd-core-2.4.57-8.0.1.el9.x86_64             httpd-filesystem-2.4.57-8.0.1.el9.noarch       
  httpd-tools-2.4.57-8.0.1.el9.x86_64      mariadb-3:10.5.22-1.el9_2.x86_64               mariadb-backup-3:10.5.22-1.el9_2.x86_64        
  mariadb-common-3:10.5.22-1.el9_2.x86_64  mariadb-errmsg-3:10.5.22-1.el9_2.x86_64        mariadb-gssapi-server-3:10.5.22-1.el9_2.x86_64 
  mariadb-server-3:10.5.22-1.el9_2.x86_64  mariadb-server-utils-3:10.5.22-1.el9_2.x86_64  mod_http2-2.0.26-2.el9_4.x86_64                
  mod_lua-2.4.57-8.0.1.el9.x86_64          mysql-selinux-1.0.5-1.el9_0.noarch             oracle-logos-httpd-90.2-1.0.4.el9.noarch       
  perl-DBD-MariaDB-1.21-16.el9_0.x86_64    perl-Sys-Hostname-1.23-481.el9.x86_64         

Complete!

Step 3: After installing both packages, you will need to install PHP and other PHP extensions to your system.reset the default PHP 8.2 with the following command

[root@linuxhelp ~]# dnf module reset php
Last metadata expiration check: 0:01:58 ago on Sunday 07 July 2024 01:51:50 AM.
Dependencies resolved.
Nothing to do.
Complete!

Step 4: enable PHP version 8.2 using the following command

[root@linuxhelp ~]# dnf module enable php:8.2 -y
Last metadata expiration check: 0:02:17 ago on Sunday 07 July 2024 01:51:50 AM.
Dependencies resolved.
==========================================================================================================================================
 Package                          Architecture                    Version                          Repository                        Size
==========================================================================================================================================
Enabling module streams:
 php                                                              8.2                                                                    

Transaction Summary
==========================================================================================================================================

Complete!

Step 5: install PHP 8.2 with other extensions using the following command

[root@linuxhelp ~]# dnf install php php-fpm php-cli php-json php-gd php-mbstring php-pdo php-xml php-mysqlnd php-pecl-zip curl -y
Last metadata expiration check: 0:02:46 ago on Sunday 07 July 2024 01:51:50 AM.
Package curl-7.76.1-26.el9_3.2.x86_64 is already installed.
Dependencies resolved.
==========================================================================================================================================
 Package                      Architecture       Version                                              Repository                     Size
==========================================================================================================================================
Installing:
 php                          x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 8.0 k
 php-cli                      x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 3.6 M
 php-common                   x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 733 k
 php-fpm                      x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 1.9 M
 php-gd                       x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                  41 k
 php-mbstring                 x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 521 k
 php-mysqlnd                  x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 151 k
 php-pdo                      x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                  92 k
 php-pecl-zip                 x86_64             1.22.3-1.module+el9.4.0+90261+af5cc950               ol9_appstream                  81 k
 php-xml                      x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 157 k
Upgrading:
 curl                         x86_64             7.76.1-29.el9_4                                      ol9_baseos_latest             304 k
 libcurl                      x86_64             7.76.1-29.el9_4                                      ol9_baseos_latest             283 k
 libcurl-devel                x86_64             7.76.1-29.el9_4                                      ol9_appstream                 1.4 M
Installing dependencies:
 libzip                       x86_64             1.7.3-8.el9                                          ol9_appstream                  61 k
 nginx-filesystem             noarch             1:1.20.1-14.0.2.el9_2.1                              ol9_appstream                 8.2 k
Installing weak dependencies:
 php-opcache                  x86_64             8.2.13-1.module+el9.4.0+90261+af5cc950               ol9_appstream                 375 k

Transaction Summary
==========================================================================================================================================
Install  13 Packages
Upgrade   3 Packages

Total download size: 9.6 M
Downloading Packages:
(1/16): nginx-filesystem-1.20.1-14.0.2.el9_2.1.noarch.rpm                                                  51 kB/s | 8.2 kB     00:00    
(2/16): libzip-1.7.3-8.el9.x86_64.rpm                                                                     340 kB/s |  61 kB     00:00    
(3/16): php-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                              41 kB/s | 8.0 kB     00:00    
(4/16): php-common-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                       14 MB/s | 733 kB     00:00    
(5/16): php-gd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                          1.7 MB/s |  41 kB     00:00    
(6/16): php-mbstring-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                    8.3 MB/s | 521 kB     00:00    
(7/16): php-cli-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                          21 MB/s | 3.6 MB     00:00    
(8/16): php-mysqlnd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                     6.9 MB/s | 151 kB     00:00    
(9/16): php-pdo-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                         5.8 MB/s |  92 kB     00:00    
(10/16): php-opcache-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                     15 MB/s | 375 kB     00:00    
(11/16): php-pecl-zip-1.22.3-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                   7.3 MB/s |  81 kB     00:00    
(12/16): php-xml-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                         11 MB/s | 157 kB     00:00    
(13/16): curl-7.76.1-29.el9_4.x86_64.rpm                                                                   13 MB/s | 304 kB     00:00    
(14/16): php-fpm-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64.rpm                                        8.3 MB/s | 1.9 MB     00:00    
(15/16): libcurl-7.76.1-29.el9_4.x86_64.rpm                                                               6.0 MB/s | 283 kB     00:00    
(16/16): libcurl-devel-7.76.1-29.el9_4.x86_64.rpm                                                          21 MB/s | 1.4 MB     00:00    
------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                      21 MB/s | 9.6 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                  1/1 
  Upgrading        : libcurl-7.76.1-29.el9_4.x86_64                                                                                  1/19 
  Installing       : php-common-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                        2/19 
  Installing       : php-pdo-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           3/19 
  Installing       : php-cli-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           4/19 
  Installing       : php-mbstring-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                      5/19 
  Installing       : php-opcache-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                       6/19 
  Installing       : php-xml-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           7/19 
  Running scriptlet: nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch                                                                 8/19 
  Installing       : nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch                                                                 8/19 
  Installing       : php-fpm-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           9/19 
  Running scriptlet: php-fpm-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           9/19 
  Installing       : libzip-1.7.3-8.el9.x86_64                                                                                      10/19 
  Installing       : php-pecl-zip-1.22.3-1.module+el9.4.0+90261+af5cc950.x86_64                                                     11/19 
  Installing       : php-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                              12/19 
  Installing       : php-mysqlnd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                      13/19 
  Installing       : php-gd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           14/19 
  Upgrading        : curl-7.76.1-29.el9_4.x86_64                                                                                    15/19 
  Upgrading        : libcurl-devel-7.76.1-29.el9_4.x86_64                                                                           16/19 
  Cleanup          : libcurl-devel-7.76.1-26.el9_3.2.x86_64                                                                         17/19 
  Cleanup          : curl-7.76.1-26.el9_3.2.x86_64                                                                                  18/19 
  Cleanup          : libcurl-7.76.1-26.el9_3.2.x86_64                                                                               19/19 
  Running scriptlet: libcurl-7.76.1-26.el9_3.2.x86_64                                                                               19/19 
  Verifying        : libzip-1.7.3-8.el9.x86_64                                                                                       1/19 
  Verifying        : nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch                                                                 2/19 
  Verifying        : php-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                               3/19 
  Verifying        : php-cli-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           4/19 
  Verifying        : php-common-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                        5/19 
  Verifying        : php-fpm-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                           6/19 
  Verifying        : php-gd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                            7/19 
  Verifying        : php-mbstring-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                      8/19 
  Verifying        : php-mysqlnd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                       9/19 
  Verifying        : php-opcache-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                      10/19 
  Verifying        : php-pdo-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                          11/19 
  Verifying        : php-pecl-zip-1.22.3-1.module+el9.4.0+90261+af5cc950.x86_64                                                     12/19 
  Verifying        : php-xml-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                                                          13/19 
  Verifying        : curl-7.76.1-29.el9_4.x86_64                                                                                    14/19 
  Verifying        : curl-7.76.1-26.el9_3.2.x86_64                                                                                  15/19 
  Verifying        : libcurl-7.76.1-29.el9_4.x86_64                                                                                 16/19 
  Verifying        : libcurl-7.76.1-26.el9_3.2.x86_64                                                                               17/19 
  Verifying        : libcurl-devel-7.76.1-29.el9_4.x86_64                                                                           18/19 
  Verifying        : libcurl-devel-7.76.1-26.el9_3.2.x86_64                                                                         19/19 

Upgraded:
  curl-7.76.1-29.el9_4.x86_64              libcurl-7.76.1-29.el9_4.x86_64              libcurl-devel-7.76.1-29.el9_4.x86_64             
Installed:
  libzip-1.7.3-8.el9.x86_64                                           nginx-filesystem-1:1.20.1-14.0.2.el9_2.1.noarch                     
  php-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                   php-cli-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64               
  php-common-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64            php-fpm-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64               
  php-gd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64                php-mbstring-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64          
  php-mysqlnd-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64           php-opcache-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64           
  php-pdo-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64               php-pecl-zip-1.22.3-1.module+el9.4.0+90261+af5cc950.x86_64          
  php-xml-8.2.13-1.module+el9.4.0+90261+af5cc950.x86_64              

Complete!

Step 6: Once all the packages are installed, start and enable Apache, PHP-FPM, and MariaDB services using the following command.

[root@linuxhelp ~]# systemctl start httpd mariadb php-fpm
[root@linuxhelp ~]# systemctl enable httpd mariadb php-fpm
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
Created symlink /etc/systemd/system/mysql.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/mysqld.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /usr/lib/systemd/system/mariadb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service → /usr/lib/systemd/system/php-fpm.service.

Step 7: Download the pluck CMS installation package from its official site using the below command

[root@linuxhelp ~]# wget https://codeload.github.com/pluck-cms/pluck/zip/master
--2024-07-07 01:55:40--  https://codeload.github.com/pluck-cms/pluck/zip/master
Resolving codeload.github.com (codeload.github.com)... 20.207.73.88
Connecting to codeload.github.com (codeload.github.com)|20.207.73.88|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master’

master                                 [       <=>                                                     ]   1.67M  1.31MB/s    in 1.3s    

2024-07-07 01:55:42 (1.31 MB/s) - ‘master’ saved [1751813]

Step 8: List files by using the below command

[root@linuxhelp ~]# ll
total 1716
-rw-------. 1 root root    1067 Jan  7 03:03 anaconda-ks.cfg
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Desktop
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Documents
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Downloads
-rw-r--r--. 1 root root 1751813 Jul  7 01:55 master
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Music
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Pictures
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Public
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Templates
drwxr-xr-x. 2 root root       6 Jan  7 03:26 Videos

Step 9: Unzip the downloaded package by using the below command

[root@linuxhelp ~]# unzip master
Archive:  master
8611e20344ddc74c12855fd0a61b8000b56496be
   creating: pluck-master/
  inflating: pluck-master/README.md  
  inflating: pluck-master/SECURITY.md  
  inflating: pluck-master/admin.php  
   creating: pluck-master/data/
   creating: pluck-master/data/image/
  inflating: pluck-master/data/image/AUTHORS  
 extracting: pluck-master/data/image/add.png  
 extracting: pluck-master/data/image/add_small.png  
  inflating: pluck-master/data/image/back.jpg  
  inflating: pluck-master/data/image/back_hover.jpg  
 extracting: pluck-master/data/image/button_cancel.png  
 extracting: pluck-master/data/image/button_document_save.png  
 extracting: pluck-master/data/image/button_save.png  
  inflating: pluck-master/data/image/clone.png  
 extracting: pluck-master/data/image/credits.png  
 extracting: pluck-master/data/image/delete.png  
 extracting: pluck-master/data/image/delete_from_trash.png  
 extracting: pluck-master/data/image/delete_from_trash_small.png  
 extracting: pluck-master/data/image/down.png  
 extracting: pluck-master/data/image/download.png  
 extracting: pluck-master/data/image/download_small.png  
 extracting: pluck-master/data/image/edit.png  
 extracting: pluck-master/data/image/error.png  
 extracting: pluck-master/data/image/error_1.png  
 extracting: pluck-master/data/image/error_2.png  
 extracting: pluck-master/data/image/error_3.png  
  inflating: pluck-master/data/image/favicon.ico  
  inflating: pluck-master/data/image/file.png  
 extracting: pluck-master/data/image/help.png  
 extracting: pluck-master/data/image/image.png  
 extracting: pluck-master/data/image/image_small.png  
 extracting: pluck-master/data/image/install.png  
 extracting: pluck-master/data/image/install_small.png  
 extracting: pluck-master/data/image/language.png  
   creating: pluck-master/data/image/menu/
 extracting: pluck-master/data/image/menu/logout.png  
 extracting: pluck-master/data/image/menu/modules.png  
 extracting: pluck-master/data/image/menu/options.png  
 extracting: pluck-master/data/image/menu/pages.png  
 extracting: pluck-master/data/image/menu/start.png  
 extracting: pluck-master/data/image/modules.png  
 extracting: pluck-master/data/image/newpage.png  
 extracting: pluck-master/data/image/note.png  
 extracting: pluck-master/data/image/options.png  
 extracting: pluck-master/data/image/page.png  
 extracting: pluck-master/data/image/page_small.png  
 extracting: pluck-master/data/image/password.png  
 extracting: pluck-master/data/image/restore.png  
 extracting: pluck-master/data/image/settings.png  
 extracting: pluck-master/data/image/settings2.png  
 extracting: pluck-master/data/image/themes.png  
 extracting: pluck-master/data/image/trash-big.png  
 extracting: pluck-master/data/image/trash-full-big.png  
 extracting: pluck-master/data/image/trash-full.png  
 extracting: pluck-master/data/image/trash.png  
 extracting: pluck-master/data/image/trash_small.png  
 extracting: pluck-master/data/image/up.png  
 extracting: pluck-master/data/image/update-available-urgent.png  
 extracting: pluck-master/data/image/update-available.png  
 extracting: pluck-master/data/image/update-no.png  
 extracting: pluck-master/data/image/view.png  
 extracting: pluck-master/data/image/website.png  
 extracting: pluck-master/data/image/website_small.png  
   creating: pluck-master/data/inc/
  inflating: pluck-master/data/inc/changepass.php  
  inflating: pluck-master/data/inc/credits.php  
  inflating: pluck-master/data/inc/deletefile.php  
  inflating: pluck-master/data/inc/deleteimage.php  
  inflating: pluck-master/data/inc/deletepage.php  
  inflating: pluck-master/data/inc/editpage.php  
  inflating: pluck-master/data/inc/files.php  
  inflating: pluck-master/data/inc/footer.php  
  inflating: pluck-master/data/inc/functions.admin.php  
  inflating: pluck-master/data/inc/functions.all.php  
  inflating: pluck-master/data/inc/functions.modules.php  
  inflating: pluck-master/data/inc/functions.site.php  
  inflating: pluck-master/data/inc/header.php  
  inflating: pluck-master/data/inc/header2.php  
  inflating: pluck-master/data/inc/images.php  
 extracting: pluck-master/data/inc/index.html  
   creating: pluck-master/data/inc/lang/
  inflating: pluck-master/data/inc/lang/bg.php  
  inflating: pluck-master/data/inc/lang/ca.php  
  inflating: pluck-master/data/inc/lang/da.php  
  inflating: pluck-master/data/inc/lang/de.php  
  inflating: pluck-master/data/inc/lang/el.php  
  inflating: pluck-master/data/inc/lang/en.php  
  inflating: pluck-master/data/inc/lang/es.php  
  inflating: pluck-master/data/inc/lang/fa.php  
  inflating: pluck-master/data/inc/lang/fi.php  
  inflating: pluck-master/data/inc/lang/fr.php  
  inflating: pluck-master/data/inc/lang/he.php  
  inflating: pluck-master/data/inc/lang/hr.php  
  inflating: pluck-master/data/inc/lang/hu.php  
  inflating: pluck-master/data/inc/lang/it.php  
  inflating: pluck-master/data/inc/lang/ja.php  
  inflating: pluck-master/data/inc/lang/lt.php  
  inflating: pluck-master/data/inc/lang/lv.php  
  inflating: pluck-master/data/inc/lang/nl.php  
  inflating: pluck-master/data/inc/lang/no.php  
  inflating: pluck-master/data/inc/lang/pl.php  
  inflating: pluck-master/data/inc/lang/pt.php  
  inflating: pluck-master/data/inc/lang/pt_br.php  
  inflating: pluck-master/data/inc/lang/ro.php  
  inflating: pluck-master/data/inc/lang/ru.php  
  inflating: pluck-master/data/inc/lang/sk.php  
  inflating: pluck-master/data/inc/lang/sl.php  
  inflating: pluck-master/data/inc/lang/sv.php  
  inflating: pluck-master/data/inc/lang/th.php  
  inflating: pluck-master/data/inc/lang/tr.php  
  inflating: pluck-master/data/inc/lang/zh-cn.php  
  inflating: pluck-master/data/inc/lang/zh-tw.php  
  inflating: pluck-master/data/inc/language.php  
   creating: pluck-master/data/inc/lib/
  inflating: pluck-master/data/inc/lib/SmartImage.class.php  
  inflating: pluck-master/data/inc/lib/index.html  
   creating: pluck-master/data/inc/lib/simple-php-captcha/

Step 10: Move the Directory to Apache root directory by using the below command

[root@linuxhelp ~]# mv pluck-master /var/www/pluck

Step11: Give Ownership to Pluck by using the below command

[root@linuxhelp ~]# chown -R apache:apache /var/www/pluck/

Step 12: Grant Permission to Pluck by using the below command

[root@linuxhelp ~]# chmod -R 755 /var/www/pluck/

Step 13: Create a Configuration file and insert virtual host by using the below command

[root@linuxhelp ~]# vim /etc/httpd/conf.d/pluck.conf
Add those following Lines
<virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/pluck
<directory /var/www/pluck>
allowoverride all
require all granted
</directory>
</virtualhost>

Step 14: Disable firewall and SELinux by using the below command

[root@linuxhelp ~]# systemctl disable firewalld
Removed "/etc/systemd/system/multi-user.target.wants/firewalld.service".
Removed "/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service".
[root@linuxhelp ~]# setenforce 0

Step 15: Restart the Apache service by using the below command

[root@linuxhelp ~]# systemctl restart httpd

Step 16: This is welcome page of Pluck

Step 17: Start the installation steps as shown in the below image

Step 18: Enter the site details as shown in the below image

Step 14: Edit the Homepage of your website as shown in the below image

Step 15: This is the Dashboard of Pluck CMS

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Pluck CMS on Oracle Linux 9.3. Your feedback is much welcome.

FAQ
Q
Is the Stack installation being same as the single execution of the lamp setup?
A
Yes, both are almost similar but if you want to customize go for manual installation.
Q
Shall I use the separate package installation method for the LAMP setup?
A
Yes, you can choose any method as per your preference.
Q
What are the prerequisites for installing Pluck CMS on Oracle Linux?
A
Before installing Pluck CMS, ensure you have the following prerequisites:

1. Apache web server installed and running.

2. PHP installed (version 5.6 or later recommended).

3. MySQL or MariaDB database server installed and running.
Q
How do I secure Pluck CMS?
A
Ensure you follow best practices:

Keep Pluck CMS updated to the latest version.

Regularly update your server’s operating system and software components.

Implement security measures such as using strong passwords, enabling HTTPS, and configuring appropriate file permissions.
Q
How to install Pluck CMS on Oracle Linux 9.3
A
You can access Pluck CMS by navigating to your server's IP address or domain name in a web browser

http://your_server_ip_or_domain/