How to install Concrete CMS on Oracle Linux 9.3

To Install Concrete CMS On Oracle Linux 9.3

Introduction:

Concrete CMS is an open-source content management system (CMS) that allows users to build and manage websites easily. It provides a user-friendly interface and various tools and features for creating and maintaining web content.

Installation Steps:

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 web server by using the below command

[root@linuxhelp ~]# dnf install httpd -y
Oracle Linux 9 BaseOS Latest (x86_64)                                                                                                                                          12 kB/s | 3.6 kB     00:00
Oracle Linux 9 BaseOS Latest (x86_64)                                                                                                                                         4.9 MB/s |  19 MB     00:03
Oracle Linux 9 Application Stream Packages (x86_64)                                                                                                                            15 kB/s | 3.9 kB     00:00
Oracle Linux 9 Application Stream Packages (x86_64)                                                                                                                           6.1 MB/s |  28 MB     00:04
Oracle Linux 9 UEK Release 7 (x86_64)                                                                                                                                          23 kB/s | 3.0 kB     00:00
Oracle Linux 9 UEK Release 7 (x86_64)                                                                                                                                          17 MB/s |  26 MB     00:01
Last metadata expiration check: 0:00:08 ago on Monday 29 January 2024 01:24:19 AM.
Dependencies resolved.
==============================================================================================================================================================================================================
 Package                                              Architecture                             Version                                              Repository                                           Size
==============================================================================================================================================================================================================
Installing:
 httpd                                                x86_64                                   2.4.57-5.0.1.el9                                     ol9_appstream                                        65 k
Installing dependencies:
 apr                                                  x86_64                                   1.7.0-12.el9_3                                       ol9_appstream                                       131 k
 apr-util                                             x86_64                                   1.6.1-23.el9                                         ol9_appstream                                        99 k
 apr-util-bdb                                         x86_64                                   1.6.1-23.el9                                         ol9_appstream                                        12 k
 httpd-core                                           x86_64                                   2.4.57-5.0.1.el9                                     ol9_appstream                                       1.8 M
 httpd-filesystem                                     noarch                                   2.4.57-5.0.1.el9                                     ol9_appstream                                        12 k
 httpd-tools                                          x86_64                                   2.4.57-5.0.1.el9                                     ol9_appstream                                        94 k
 oracle-logos-httpd                                   noarch                                   90.2-1.0.4.el9                                       ol9_baseos_latest                                    37 k
Installing weak dependencies:
 apr-util-openssl                                     x86_64                                   1.6.1-23.el9                                         ol9_appstream                                        14 k
 mod_http2                                            x86_64                                   1.15.19-5.el9                                        ol9_appstream                                       157 k
 mod_lua                                              x86_64                                   2.4.57-5.0.1.el9                                     ol9_appstream                                        59 k

Transaction Summary
==============================================================================================================================================================================================================
Install  11 Packages

Total download size: 2.4 M
Installed size: 6.0 M
Downloading Packages:
(1/11): oracle-logos-httpd-90.2-1.0.4.el9.noarch.rpm                                                                                                                          175 kB/s |  37 kB     00:00
(2/11): apr-util-1.6.1-23.el9.x86_64.rpm                                                                                                                                      463 kB/s |  99 kB     00:00
(3/11): apr-1.7.0-12.el9_3.x86_64.rpm                                                                                                                                         597 kB/s | 131 kB     00:00
(4/11): apr-util-openssl-1.6.1-23.el9.x86_64.rpm                                                                                                                              1.1 MB/s |  14 kB     00:00
(5/11): apr-util-bdb-1.6.1-23.el9.x86_64.rpm                                                                                                                                  676 kB/s |  12 kB     00:00
(6/11): httpd-2.4.57-5.0.1.el9.x86_64.rpm                                                                                                                                     3.5 MB/s |  65 kB     00:00
(7/11): httpd-filesystem-2.4.57-5.0.1.el9.noarch.rpm                                                                                                                          356 kB/s |  12 kB     00:00
(8/11): httpd-tools-2.4.57-5.0.1.el9.x86_64.rpm                                                                                                                               2.8 MB/s |  94 kB     00:00
(9/11): mod_lua-2.4.57-5.0.1.el9.x86_64.rpm                                                                                                                                   2.2 MB/s |  59 kB     00:00
(10/11): mod_http2-1.15.19-5.el9.x86_64.rpm                                                                                                                                   3.5 MB/s | 157 kB     00:00
(11/11): httpd-core-2.4.57-5.0.1.el9.x86_64.rpm                                                                                                                                13 MB/s | 1.8 MB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                         6.5 MB/s | 2.4 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                      1/1
  Installing       : apr-1.7.0-12.el9_3.x86_64                                                                                                                                                           1/11
  Installing       : apr-util-bdb-1.6.1-23.el9.x86_64                                                                                                                                                    2/11
  Installing       : apr-util-openssl-1.6.1-23.el9.x86_64                                                                                                                                                3/11
  Installing       : apr-util-1.6.1-23.el9.x86_64                                                                                                                                                        4/11
  Installing       : httpd-tools-2.4.57-5.0.1.el9.x86_64                                                                                                                                                 5/11
  Running scriptlet: httpd-filesystem-2.4.57-5.0.1.el9.noarch                                                                                                                                            6/11
  Installing       : httpd-filesystem-2.4.57-5.0.1.el9.noarch                                                                                                                                            6/11
  Installing       : httpd-core-2.4.57-5.0.1.el9.x86_64                                                                                                                                                  7/11
  Installing       : mod_lua-2.4.57-5.0.1.el9.x86_64                                                                                                                                                     8/11
  Installing       : oracle-logos-httpd-90.2-1.0.4.el9.noarch                                                                                                                                            9/11
  Installing       : mod_http2-1.15.19-5.el9.x86_64                                                                                                                                                     10/11
  Installing       : httpd-2.4.57-5.0.1.el9.x86_64                                                                                                                                                      11/11
  Running scriptlet: httpd-2.4.57-5.0.1.el9.x86_64                                                                                                                                                      11/11
  Verifying        : oracle-logos-httpd-90.2-1.0.4.el9.noarch                                                                                                                                            1/11
  Verifying        : apr-1.7.0-12.el9_3.x86_64                                                                                                                                                           2/11
  Verifying        : apr-util-1.6.1-23.el9.x86_64                                                                                                                                                        3/11
  Verifying        : apr-util-bdb-1.6.1-23.el9.x86_64                                                                                                                                                    4/11
  Verifying        : apr-util-openssl-1.6.1-23.el9.x86_64                                                                                                                                                5/11
  Verifying        : httpd-2.4.57-5.0.1.el9.x86_64                                                                                                                                                       6/11
  Verifying        : httpd-core-2.4.57-5.0.1.el9.x86_64                                                                                                                                                  7/11
  Verifying        : httpd-filesystem-2.4.57-5.0.1.el9.noarch                                                                                                                                            8/11
  Verifying        : httpd-tools-2.4.57-5.0.1.el9.x86_64                                                                                                                                                 9/11
  Verifying        : mod_http2-1.15.19-5.el9.x86_64                                                                                                                                                     10/11
  Verifying        : mod_lua-2.4.57-5.0.1.el9.x86_64                                                                                                                                                    11/11

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    mod_http2-1.15.19-5.el9.x86_64          mod_lua-2.4.57-5.0.1.el9.x86_64
  oracle-logos-httpd-90.2-1.0.4.el9.noarch

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)
     Active: active (running) since Mon 2024-01-29 01:54:48 IST; 1min 14s ago
       Docs: man:httpd.service(8)
   Main PID: 102685 (httpd)
     Status: "Total requests: 0; Idle/Busy workers 100/0;Requests/sec: 0; Bytes served/sec:   0 B/sec"
      Tasks: 213 (limit: 21644)
     Memory: 43.5M
        CPU: 8.662s
     CGroup: /system.slice/httpd.service
             ├─102685 /usr/sbin/httpd -DFOREGROUND
             ├─102686 /usr/sbin/httpd -DFOREGROUND
             ├─102687 /usr/sbin/httpd -DFOREGROUND
             ├─102688 /usr/sbin/httpd -DFOREGROUND
             └─102690 /usr/sbin/httpd -DFOREGROUND

Jan 29 01:54:48 linuxhelp systemd[1]: Starting The Apache HTTP Server...
Jan 29 01:54:48 linuxhelp httpd[102685]: 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 29 01:54:48 linuxhelp httpd[102685]: Server configured, listening on: port 80
Jan 29 01:54:48 linuxhelp systemd[1]: Started The Apache HTTP Server.

Step 5: Install PHP and its modules by using the below command

[root@linuxhelp ~]# dnf install php php-fpm php-mysqlnd php-opcache php-gd php-xml php-mbstring -y php-zip
Last metadata expiration check: 0:32:33 ago on Monday 29 January 2024 01:24:19 AM.
Dependencies resolved.
==============================================================================================================================================================================================================
 Package                                            Architecture                             Version                                                    Repository                                       Size
==============================================================================================================================================================================================================
Installing:
 php                                                x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   7.6 k
 php-fpm                                            x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   1.6 M
 php-gd                                             x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                    39 k
 php-mbstring                                       x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   467 k
 php-mysqlnd                                        x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   155 k
 php-opcache                                        x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   509 k
 php-pecl-zip                                       x86_64                                   1.19.2-6.el9                                               ol9_appstream                                    78 k
 php-xml                                            x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   144 k
Installing dependencies:
 libzip                                             x86_64                                   1.7.3-7.el9                                                ol9_appstream                                    63 k
 nginx-filesystem                                   noarch                                   1:1.20.1-14.0.1.el9_2.1                                    ol9_appstream                                   8.4 k
 php-common                                         x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   714 k
 php-pdo                                            x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                    87 k
Installing weak dependencies:
 php-cli                                            x86_64                                   8.0.30-1.el9_2                                             ol9_appstream                                   3.1 M

Transaction Summary
==============================================================================================================================================================================================================
Install  13 Packages

Total download size: 6.9 M
Installed size: 36 M
Downloading Packages:
(1/13): nginx-filesystem-1.20.1-14.0.1.el9_2.1.noarch.rpm                                                                                                                      39 kB/s | 8.4 kB     00:00
(2/13): php-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                          35 kB/s | 7.6 kB     00:00
(3/13): libzip-1.7.3-7.el9.x86_64.rpm                                                                                                                                         263 kB/s |  63 kB     00:00
(4/13): php-common-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                  4.6 MB/s | 714 kB     00:00
(5/13): php-gd-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                      1.3 MB/s |  39 kB     00:00
(6/13): php-fpm-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                     7.7 MB/s | 1.6 MB     00:00
(7/13): php-mbstring-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                6.8 MB/s | 467 kB     00:00
(8/13): php-mysqlnd-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                 6.2 MB/s | 155 kB     00:00
(9/13): php-opcache-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                 6.5 MB/s | 509 kB     00:00
(10/13): php-pdo-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                    1.0 MB/s |  87 kB     00:00
(11/13): php-pecl-zip-1.19.2-6.el9.x86_64.rpm                                                                                                                                 3.9 MB/s |  78 kB     00:00
(12/13): php-cli-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                    7.7 MB/s | 3.1 MB     00:00
(13/13): php-xml-8.0.30-1.el9_2.x86_64.rpm                                                                                                                                    2.1 MB/s | 144 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                          11 MB/s | 6.9 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                      1/1
  Installing       : php-common-8.0.30-1.el9_2.x86_64                                                                                                                                                    1/13
  Installing       : php-pdo-8.0.30-1.el9_2.x86_64                                                                                                                                                       2/13
  Installing       : php-cli-8.0.30-1.el9_2.x86_64                                                                                                                                                       3/13
  Installing       : php-mbstring-8.0.30-1.el9_2.x86_64                                                                                                                                                  4/13
  Installing       : php-opcache-8.0.30-1.el9_2.x86_64                                                                                                                                                   5/13
  Installing       : php-xml-8.0.30-1.el9_2.x86_64                                                                                                                                                       6/13
  Running scriptlet: nginx-filesystem-1:1.20.1-14.0.1.el9_2.1.noarch                                                                                                                                     7/13
  Installing       : nginx-filesystem-1:1.20.1-14.0.1.el9_2.1.noarch                                                                                                                                     7/13
  Installing       : php-fpm-8.0.30-1.el9_2.x86_64                                                                                                                                                       8/13
  Running scriptlet: php-fpm-8.0.30-1.el9_2.x86_64                                                                                                                                                       8/13
  Installing       : libzip-1.7.3-7.el9.x86_64                                                                                                                                                           9/13
  Installing       : php-pecl-zip-1.19.2-6.el9.x86_64                                                                                                                                                   10/13
  Installing       : php-8.0.30-1.el9_2.x86_64                                                                                                                                                          11/13
  Installing       : php-mysqlnd-8.0.30-1.el9_2.x86_64                                                                                                                                                  12/13
  Installing       : php-gd-8.0.30-1.el9_2.x86_64                                                                                                                                                       13/13
  Running scriptlet: php-gd-8.0.30-1.el9_2.x86_64                                                                                                                                                       13/13
  Verifying        : libzip-1.7.3-7.el9.x86_64                                                                                                                                                           1/13
  Verifying        : nginx-filesystem-1:1.20.1-14.0.1.el9_2.1.noarch                                                                                                                                     2/13
  Verifying        : php-8.0.30-1.el9_2.x86_64                                                                                                                                                           3/13
  Verifying        : php-cli-8.0.30-1.el9_2.x86_64                                                                                                                                                       4/13
  Verifying        : php-common-8.0.30-1.el9_2.x86_64                                                                                                                                                    5/13
  Verifying        : php-fpm-8.0.30-1.el9_2.x86_64                                                                                                                                                       6/13
  Verifying        : php-gd-8.0.30-1.el9_2.x86_64                                                                                                                                                        7/13
  Verifying        : php-mbstring-8.0.30-1.el9_2.x86_64                                                                                                                                                  8/13
  Verifying        : php-mysqlnd-8.0.30-1.el9_2.x86_64                                                                                                                                                   9/13
  Verifying        : php-opcache-8.0.30-1.el9_2.x86_64                                                                                                                                                  10/13
  Verifying        : php-pdo-8.0.30-1.el9_2.x86_64                                                                                                                                                      11/13
  Verifying        : php-pecl-zip-1.19.2-6.el9.x86_64                                                                                                                                                   12/13
  Verifying        : php-xml-8.0.30-1.el9_2.x86_64                                                                                                                                                      13/13

Installed:
  libzip-1.7.3-7.el9.x86_64         nginx-filesystem-1:1.20.1-14.0.1.el9_2.1.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-mysqlnd-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 6: Check the installed version of the PHP by using the below command

[root@linuxhelp ~]# php -v
PHP 8.0.30 (cli) (built: Aug  3 2023 17:13:08) ( NTS gcc x86_64 )
Copyright (c) The PHP Group
Zend Engine v4.0.30, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies

Step 7: Install mariadb-server by using the below command

[root@linuxhelp ~]# dnf install mariadb-server -y
Last metadata expiration check: 0:34:27 ago on Monday 29 January 2024 01:24:19 AM.
Dependencies resolved.
==============================================================================================================================================================================================================
 Package                                                     Architecture                            Version                                             Repository                                      Size
==============================================================================================================================================================================================================
Installing:
 mariadb-server                                              x86_64                                  3:10.5.22-1.el9_2                                   ol9_appstream                                  9.7 M
Installing dependencies:
 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-connector-c                                         x86_64                                  3.2.6-1.el9_0                                       ol9_appstream                                  205 k
 mariadb-connector-c-config                                  noarch                                  3.2.6-1.el9_0                                       ol9_appstream                                  9.7 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
 perl-DBD-MariaDB                                            x86_64                                  1.21-16.el9_0                                       ol9_appstream                                  160 k
 perl-File-Copy                                              noarch                                  2.34-480.el9                                        ol9_appstream                                   20 k
 perl-Sys-Hostname                                           x86_64                                  1.23-480.el9                                        ol9_appstream                                   17 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

Transaction Summary
==============================================================================================================================================================================================================
Install  13 Packages

Total download size: 19 M
Installed size: 109 M
Downloading Packages:
(1/13): mariadb-common-10.5.22-1.el9_2.x86_64.rpm                                                                                                                             105 kB/s |  54 kB     00:00
(2/13): mariadb-connector-c-3.2.6-1.el9_0.x86_64.rpm                                                                                                                          3.6 MB/s | 205 kB     00:00
(3/13): mariadb-connector-c-config-3.2.6-1.el9_0.noarch.rpm                                                                                                                   404 kB/s | 9.7 kB     00:00
(4/13): mariadb-errmsg-10.5.22-1.el9_2.x86_64.rpm                                                                                                                             7.5 MB/s | 239 kB     00:00
(5/13): mariadb-gssapi-server-10.5.22-1.el9_2.x86_64.rpm                                                                                                                      963 kB/s |  15 kB     00:00
(6/13): mariadb-10.5.22-1.el9_2.x86_64.rpm                                                                                                                                    1.7 MB/s | 1.6 MB     00:00
(7/13): mariadb-server-utils-10.5.22-1.el9_2.x86_64.rpm                                                                                                                       2.0 MB/s | 234 kB     00:00
(8/13): mariadb-server-10.5.22-1.el9_2.x86_64.rpm                                                                                                                              20 MB/s | 9.7 MB     00:00
(9/13): mysql-selinux-1.0.5-1.el9_0.noarch.rpm                                                                                                                                505 kB/s |  35 kB     00:00
(10/13): perl-DBD-MariaDB-1.21-16.el9_0.x86_64.rpm                                                                                                                            8.5 MB/s | 160 kB     00:00
(11/13): perl-File-Copy-2.34-480.el9.noarch.rpm                                                                                                                               1.1 MB/s |  20 kB     00:00
(12/13): perl-Sys-Hostname-1.23-480.el9.x86_64.rpm                                                                                                                            974 kB/s |  17 kB     00:00
(13/13): mariadb-backup-10.5.22-1.el9_2.x86_64.rpm                                                                                                                            4.7 MB/s | 6.5 MB     00:01
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                          14 MB/s |  19 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                      1/1
  Installing       : mariadb-connector-c-config-3.2.6-1.el9_0.noarch                                                                                                                                     1/13
  Installing       : mariadb-common-3:10.5.22-1.el9_2.x86_64                                                                                                                                             2/13
  Installing       : mariadb-connector-c-3.2.6-1.el9_0.x86_64                                                                                                                                            3/13
  Installing       : perl-Sys-Hostname-1.23-480.el9.x86_64                                                                                                                                               4/13
  Installing       : perl-DBD-MariaDB-1.21-16.el9_0.x86_64                                                                                                                                               5/13
  Installing       : mariadb-errmsg-3:10.5.22-1.el9_2.x86_64                                                                                                                                             6/13
  Installing       : perl-File-Copy-2.34-480.el9.noarch                                                                                                                                                  7/13
  Running scriptlet: mysql-selinux-1.0.5-1.el9_0.noarch                                                                                                                                                  8/13
  Installing       : mysql-selinux-1.0.5-1.el9_0.noarch                                                                                                                                                  8/13
  Running scriptlet: mysql-selinux-1.0.5-1.el9_0.noarch                                                                                                                                                  8/13
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                                                                                                                                             9/13
  Installing       : mariadb-gssapi-server-3:10.5.22-1.el9_2.x86_64                                                                                                                                     10/13
  Installing       : mariadb-server-utils-3:10.5.22-1.el9_2.x86_64                                                                                                                                      11/13
  Running scriptlet: mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                                                                                            12/13
  Installing       : mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                                                                                            12/13
  Running scriptlet: mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                                                                                            12/13
  Installing       : mariadb-3:10.5.22-1.el9_2.x86_64                                                                                                                                                   13/13
  Running scriptlet: mysql-selinux-1.0.5-1.el9_0.noarch                                                                                                                                                 13/13
  Running scriptlet: mariadb-3:10.5.22-1.el9_2.x86_64                                                                                                                                                   13/13
  Verifying        : mariadb-3:10.5.22-1.el9_2.x86_64                                                                                                                                                    1/13
  Verifying        : mariadb-backup-3:10.5.22-1.el9_2.x86_64                                                                                                                                             2/13
  Verifying        : mariadb-common-3:10.5.22-1.el9_2.x86_64                                                                                                                                             3/13
  Verifying        : mariadb-connector-c-3.2.6-1.el9_0.x86_64                                                                                                                                            4/13
  Verifying        : mariadb-connector-c-config-3.2.6-1.el9_0.noarch                                                                                                                                     5/13
  Verifying        : mariadb-errmsg-3:10.5.22-1.el9_2.x86_64                                                                                                                                             6/13
  Verifying        : mariadb-gssapi-server-3:10.5.22-1.el9_2.x86_64                                                                                                                                      7/13
  Verifying        : mariadb-server-3:10.5.22-1.el9_2.x86_64                                                                                                                                             8/13
  Verifying        : mariadb-server-utils-3:10.5.22-1.el9_2.x86_64                                                                                                                                       9/13
  Verifying        : mysql-selinux-1.0.5-1.el9_0.noarch                                                                                                                                                 10/13
  Verifying        : perl-DBD-MariaDB-1.21-16.el9_0.x86_64                                                                                                                                              11/13
  Verifying        : perl-File-Copy-2.34-480.el9.noarch                                                                                                                                                 12/13
  Verifying        : perl-Sys-Hostname-1.23-480.el9.x86_64                                                                                                                                              13/13
Installed:
  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-connector-c-3.2.6-1.el9_0.x86_64
  mariadb-connector-c-config-3.2.6-1.el9_0.noarch        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          mysql-selinux-1.0.5-1.el9_0.noarch             perl-DBD-MariaDB-1.21-16.el9_0.x86_64                 perl-File-Copy-2.34-480.el9.noarch
  perl-Sys-Hostname-1.23-480.el9.x86_64
Complete!

Step 8: Enable and start the MariaDB service by using the below command

[root@linuxhelp ~]# systemctl enable mariadb
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.
[root@linuxhelp ~]# systemctl start mariadb

Step 9: Check the status of the MariaDB service by using the below command

[root@linuxhelp ~]# systemctl status mariadb
● mariadb.service - MariaDB 10.5 database server
     Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; preset: disabled)
     Active: active (running) since Mon 2024-01-29 02:00:25 IST; 27s ago
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
    Process: 104921 ExecStartPre=/usr/libexec/mariadb-check-socket (code=exited, status=0/SUCCESS)
    Process: 104943 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir mariadb.service (code=exited, status=0/SUCCESS)
    Process: 105048 ExecStartPost=/usr/libexec/mariadb-check-upgrade (code=exited, status=0/SUCCESS)
   Main PID: 105029 (mariadbd)
     Status: "Taking your SQL requests now..."
      Tasks: 18 (limit: 21644)
     Memory: 75.6M
        CPU: 906ms
     CGroup: /system.slice/mariadb.service
             └─105029 /usr/libexec/mariadbd --basedir=/usr

Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: The second is mysql@localhost, it has no password either, but
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: you need to be the system 'mysql' user to connect.
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: After connecting you can set the password, if you would need to be
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: able to connect as any of these users with a password and without sudo
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: See the MariaDB Knowledgebase at https://mariadb.com/kb
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: Please report any problems at https://mariadb.org/jira
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: The latest information about MariaDB is available at https://mariadb.org/.
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: Consider joining MariaDB's strong and vibrant community:
Jan 29 02:00:25 linuxhelp mariadb-prepare-db-dir[104982]: https://mariadb.org/get-involved/
Jan 29 02:00:25 linuxhelp systemd[1]: Started MariaDB 10.5 database server.

Step 10: Login to the MariaDB console by using the below command

[root@linuxhelp ~]# mysql
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.5.22-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

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

MariaDB [(none)]>

Step 11: Create a database by using the below command

MariaDB [(none)]> create database concrete5;
Query OK, 1 row affected (0.001 sec)

Step 12: Create a user by using the below command

MariaDB [(none)]> create user 'concrete5_usr'@'localhost' identified by '123456';
Query OK, 0 rows affected (0.001 sec)

Step 13: Grant all privileges to the database for that user by using the below command

MariaDB [(none)]> grant all privileges on concrete5.* to 'concrete5_usr'@'localhost';
Query OK, 0 rows affected (0.001 sec)

Step 14: Flush the privileges by using the below command

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)

Step 15: Download the Concrete CMS package by using wget command

[root@linuxhelp ~]# wget --trust-server-names https://www.concretecms.com/download_file/277af433-97d4-4817-b48c-a758cd8adf96 -O concrete5.zip
--2024-01-29 02:13:12--  https://www.concretecms.com/download_file/277af433-97d4-4817-b48c-a758cd8adf96
Resolving www.concretecms.com (www.concretecms.com)... 108.158.251.101, 108.158.251.124, 108.158.251.35, ...
Connecting to www.concretecms.com (www.concretecms.com)|108.158.251.101|:443... connected.
HTTP request sent, awaiting response... 307 Temporary Redirect
Location: https://www.concretecms.com/application/files/7316/8202/4279/concrete-cms-9.2.0.zip [following]
--2024-01-29 02:13:13--  https://www.concretecms.com/application/files/7316/8202/4279/concrete-cms-9.2.0.zip
Reusing existing connection to www.concretecms.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 76901122 (73M) [application/zip]
Saving to: ‘concrete5.zip’

concrete5.zip                                       100%[=================================================================================================================>]  73.34M  34.1MB/s    in 2.2s

2024-01-29 02:13:15 (34.1 MB/s) - ‘concrete5.zip’ saved [76901122/76901122]

Step 16: Unzip the downloaded package by using the following package

[root@linuxhelp ~]# unzip concrete5.zip
Archive:  concrete5.zip
   creating: concrete-cms-9.2.0/
  inflating: concrete-cms-9.2.0/composer.lock
 extracting: concrete-cms-9.2.0/index.php
   creating: concrete-cms-9.2.0/concrete/
   creating: concrete-cms-9.2.0/concrete/blocks/
   creating: concrete-cms-9.2.0/concrete/blocks/desktop_featured_theme/
  inflating: concrete-cms-9.2.0/concrete/blocks/desktop_featured_theme/controller.php
  inflating: concrete-cms-9.2.0/concrete/blocks/desktop_featured_theme/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/switch_language/
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/add.php
 extracting: concrete-cms-9.2.0/concrete/blocks/switch_language/icon.png
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/controller.php
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/db.xml
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/switch_language/templates/
   creating: concrete-cms-9.2.0/concrete/blocks/switch_language/templates/flags/
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/templates/flags/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/switch_language/templates/flags_set_default/
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/templates/flags_set_default/view.php
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/edit.php
  inflating: concrete-cms-9.2.0/concrete/blocks/switch_language/form.php
   creating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/add.php
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/icon.png
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/controller.php
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/db.xml
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/templates/
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/templates/boolean.php
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/templates/date_time.php
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/edit.php
  inflating: concrete-cms-9.2.0/concrete/blocks/page_attribute_display/form.php
   creating: concrete-cms-9.2.0/concrete/blocks/topic_list/
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/add.php
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/icon.png
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/controller.php
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/db.xml
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/topic_list/templates/
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/templates/flat_filter.php
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/edit.php
  inflating: concrete-cms-9.2.0/concrete/blocks/topic_list/form.php
   creating: concrete-cms-9.2.0/concrete/blocks/core_board_slot/
  inflating: concrete-cms-9.2.0/concrete/blocks/core_board_slot/controller.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_board_slot/db.xml
  inflating: concrete-cms-9.2.0/concrete/blocks/core_board_slot/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/add.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/controller.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/edit_grid.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/edit_preset.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/db.xml
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/view.php
   creating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/
   creating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/parallax/
   creating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/parallax/js/
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/parallax/js/parallax-image.js
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/parallax/view.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/parallax/view.js
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/templates/parallax/view.css
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/edit.php
  inflating: concrete-cms-9.2.0/concrete/blocks/core_area_layout/form.php

Step 17: Move the directory to the Apache document root directory by using the below command

[root@linuxhelp ~]# mv concrete-cms-9.2.0/ /var/www/concrete5

Step 18: Change the ownership of the directory by using the below command

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

Step 19: Change the permission of the directory by using the below command

[root@Linuxhelp ~]# chmod -R 755 /var/www/concrete5/

Step 20: Create the file Apache Configuration by using the below command

[root@Linuxhelp ~]# vim /etc/httpd/conf.d/concrete5.conf
Insert the following lines
<VirtualHost *:80>
     ServerAdmin admin@linuxhelp.xyz
     DocumentRoot /var/www/concrete5
     ServerName linuxhelp.xyz
 <Directory /var/www/concrete5>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>
ErrorLog /etc/httpd/logs/error.log
     CustomLog /etc/httpd/logs/access.log combined
</VirtualHost>

Step 21: Check the syntax of the Apache configuration by using the below command

[root@linuxhelp concrete5]# 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 22: Disable the Apache default welcome page by using the below command

[root@linuxhelp concrete5]# setenforce 0

Now go to the browser and search with your local IP address , you will see the following page, Click next button

Here check the testing environment and click continue to Installation

Now, you will see the Site information page, Enter the following details and click Install Concrete CMS

It will take some times for installation

After the installation has been completed, Click edit your site button, Here you will see the concrete CMS welcome page

Conclusion:

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

FAQ
Q
Is Concrete CMS suitable for e-commerce sites?
A
Yes, Concrete CMS has built-in support for e-commerce features and can be extended with add-ons to enhance online store capabilities.
Q
What are the necessary PHP extensions for Concrete CMS?
A
Ensure that the following PHP extensions are installed: gd, mbstring, json, and mysqlnd or pdo_pgsql depending on your database choice.
Q
What are the key features of Concrete CMS?
A
Concrete CMS offers features like a user-friendly interface, customizable templates, in-context editing, version control, and a robust permissions system for content management.
Q
How do I download Concrete CMS?
A
Download the latest version of Concrete CMS from the official website (https://www.concretecms.org/) or use tools like wget or curl on the command line.
Q
What are the system requirements for Concrete CMS?
A
Concrete CMS requires a web server (e.g., Apache or Nginx), PHP 7.3 or higher, and a database (MySQL or PostgreSQL).