How to Install October CMS on RHEL 7.6

How to Install October CMS on RHEL 7.6

Introduction:

OctoberCMS is a free and open source CMS (Content Management System) built based on PHP Laravel Framework. In this tutorial we are going to see the method to install October CMS on RHEL 7.6

Prerequisite:

Apache

Mysql

PHP and Modules(php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl-zip php-imap)

To check the installed version of OS.

[root@linuxhelp ~]# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"

Before downloading October CMS configure database

[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.3.24-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)]> create database october;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> grant all on october.* to user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> exit
Bye

Change directory to apache root directory

[root@linuxhelp ~]# cd /var/www/

Download the October CMS using the below link

[root@linuxhelp www]# wget http://octobercms.com/download
--2020-09-03 15:16:39--  http://octobercms.com/download
Resolving octobercms.com (octobercms.com)... 52.24.36.22, 54.148.226.30
Connecting to octobercms.com (octobercms.com)|52.24.36.22|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://octobercms.com/download [following]
….
….
Length: unspecified [application/zip]
Saving to: ‘download’
   [ <=>                                                                                ] 1,42,838     904KB/s   in 0.2s   
2020-09-03 15:16:43 (904 KB/s) - ‘download’ saved [142838]

Unzip the downloaded file named as October

 [root@linuxhelp www]# unzip download -d october
Archive:  download
1cc0a9f0aade08322e4defc170b2da40c64ae697
   creating: october/install-master/
 extracting: october/install-master/.gitignore  
  ….
…..
  inflating: october/install-master/install_files/php/InstallerException.php  
  inflating: october/install-master/install_files/php/InstallerRewrite.php  
  inflating: october/install-master/install_files/php/boot.php  

Once it is done, change directory to October.

[root@linuxhelp www]# cd october/

Then change ownership and permission for the directory.

 [root@linuxhelp october]# chown -R apache. ./
 [root@linuxhelp october]# chmod -R 755 ./

Now, configure the virtualhost for October CMS.

[root@linuxhelp october]# vim /etc/httpd/conf.d/october.conf

Then, make a host entry by running the following command.

[root@linuxhelp october]# vim /etc/hosts

Finally restart the Apache service to update the changes.

[root@linuxhelp october]# systemctl restart httpd

Then, go to browser and provide user domain name with install.php in search tab.

Once your system has met the requirements then click on Agree to proceed further.

Now, configure the Database with user credentials and click on Administrator.

Here, you can configure admin credentials then click on Continue.

Now, select on start from scratch option

Installation in progress

After the installation click on the below link to visit admin login page

Provide admin credential and then click on login

With this, the method to install October CMS on RHEL 7.6. comes to an end.

FAQ
Q
What does CDN do in October CMS?
A
A content delivery network is a set of servers scattered across the planet,helps to deliver the content to users faster In October CMS.
Q
What is CDN In October CMS?
A
CDN Stands for Content delivery network In October CMS.
Q
What is the latest version of October CMS?
A
The latest version of October CMS is Build 468.
Q
What are the Prerequisites to Install October CMS?
A
The Prerequisite to Install October CMS is Apache, Mysql, PHP and Modules(php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl-zip php-imap).
Q
What is October CMS?
A
OctoberCMS is a free and open source CMS (Content Management System) based on PHP Laravel Framework.