How to Install TYPO3 CMS on RHEL 7.6
How to Install TYPO3 CMS on RHEL 7.6
Introduction:
TYPO3 is a open source content management system built based on PHP. It uses MySQL to store its data. It can run on HTTP server such as Apache or IIS. This tutorial covers the method to install Typo3 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 php-soap)
Installation Process:
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"
Create the database for Typo3 CMS
[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 typo character set utf8mb4;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> grant all on typo.* to tuser@localhost identified by '123456';
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> exit
Bye
Now download the typo3 cms using following link
[root@linuxhelp ~]# wget https://excellmedia.dl.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%208.7.3/typo3_src-8.7.3.tar.gz
--2020-09-09 19:25:24-- https://excellmedia.dl.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%208.7.3/typo3_src-8.7.3.tar.gz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18024088 (17M) [application/x-gzip]
Saving to: ‘typo3_src-8.7.3.tar.gz’
100%[==============================================================================>] 1,80,24,088 615KB/s in 27s
2020-09-09 19:25:51 (653 KB/s) - ‘typo3_src-8.7.3.tar.gz’ saved [18024088/18024088]
Then extract the downloaded file
[root@linuxhelp ~]# tar -xvf typo3_src-8.7.3.tar.gz
typo3_src-8.7.3/
typo3_src-8.7.3/CONTRIBUTING.md
typo3_src-8.7.3/INSTALL.md
typo3_src-8.7.3/LICENSE.txt
typo3_src-8.7.3/README.md
typo3_src-8.7.3/_.htaccess
typo3_src-8.7.3/composer.json
typo3_src-8.7.3/composer.lock
……
Now we have to move the extracted directory under apache root
[root@linuxhelp ~]# mv typo3_src-8.7.3 /var/www/typo
Change directory to typo
[root@linuxhelp ~]# cd /var/www/typo/
Where create a file called FIRST_INSTALL
[root@linuxhelp typo]# touch FIRST_INSTALL
And, rename the _.htaccess file name
[root@linuxhelp typo]# mv _.htaccess .htaccess
Configure ownership and permission for the current directory
[root@linuxhelp typo]# chown -R apache. ./
[root@linuxhelp typo]# chmod -R 755 ./
Then, Edit the php.ini with the following variables
[root@linuxhelp typo]# vim /etc/php.ini
Max_input_vars = 1500
Max_execution_time = 240
Create a virtualhost for typo3 cms
[root@linuxhelp typo]# vim /etc/httpd/conf.d/typo.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/typo
</virtualhost>
Make an host entry
[root@linuxhelp typo]# vim /etc/hosts
Finally restart the apache service to update the changes
[root@linuxhelp typo]# systemctl restart httpd
Navigate to browser where type your domain name in search bar
When your system satisfies the requirement, Click on continue option to begin the installation process
Provide the DB credentials for Database connection
Select your existing DB then click on continue
*Here configure the admin credentials
Click on open the typo3 backend to visit the backend with admin login page
With this, the method to install TYPO3 CMS on RHEL7.6 comes to end.