How to install Typo3 CMS on Ubuntu 21.04
- 00:44 lsb_release -a
- 00:59 mysql -u root -p
- 01:15 create database typo;
- 01:38 grant all on typo.* tuser@localhost identified by 'linuxc';
- 02:00 flush privileges;
- 02:10 exit
- 02:15 wget https://excellmedia.dl.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%208.7.3/typo3_src-8.7.3.tar.gz
- 02:45 tar -xvf typo3_src-8.7.3.tar.gz
- 03:01 mv typo3_src-8.7.3 /var/www/typo
- 03:14 cd /var/www/typo/
- 03:30 touch FIRST_INSTALL
- 03:51 mv _.htaccess .htaccess
- 04:07 chown -R www-data. ./
- 04:24 chmod -R 775 ./
- 04:45 cd
- 04:51 vi /etc/apache2/sites-available/typo.conf
- 05:33 a2dissite 000-default.conf
- 05:52 a2ensite typo.conf
- 06:06 a2enmod rewrite
- 06:14 systemctl restart apache2
- 06:24 vi /etc/hosts
To Install Typo3 CMS on Ubuntu 21.04
Introduction
CMS stands for the Content management system that software is used to manage the digital content. The TYPO3 CMS is an open platform for developing professional web applications. In order to manage your business effectively, you require a CMS that delivers the essentials.
Prerequisites:
Apache Web server
Maria DB
PHP and its Modules
Installation Procedure
Step 1: Check the OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
Step 2: Log in to the Maria DB by using the below command
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 43
Server version: 10.5.13-MariaDB-0ubuntu0.21.04.1 Ubuntu 21.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Step 3: Create database for typo CMS by using the below command
MariaDB [(none)]> create database typo;
Query OK, 1 row affected (0.000 sec)
Step 4: Create a user and Grant all privileges on typo database for the user “tuser” by using the below command
MariaDB [(none)]> grant all on typo.* to tuser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.039 sec)
Step 5: Flush privileges to make changes effect by using the below command
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.006 sec)
Step 6: Exit from the Maria DB
MariaDB [(none)]> exit
Bye
Step 7: Download typo CMS by using the below command
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
--2021-12-09 06:23:34-- 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... 302 Found
Location: https://downloads.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%208.7.3/typo3_src-8.7.3.tar.gz?download&failedmirror=excellmedia.dl.sourceforge.net [following]
--2021-12-09 06:23:34-- https://downloads.sourceforge.net/project/typo3/TYPO3%20Source%20and%20Dummy/TYPO3%208.7.3/typo3_src-8.7.3.tar.gz?download&failedmirror=excellmedia.dl.sourceforge.net
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105
Step 8: Extract the downloaded file by using the below command
[root@linuxhelp ~]# tar -xvf typo3_src-8.7.3.tar.gz
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/AbstractView.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/Exception/
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/Exception/InvalidSectionException.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/Exception/InvalidTemplateResourceException.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/Exception.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/TemplatePaths.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/TemplateView.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/View/ViewInterface.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/ViewHelpers/
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/ViewHelpers/AliasViewHelper.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/ViewHelpers/Cache/
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/ViewHelpers/Cache/DisableViewHelper.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/ViewHelpers/Cache/StaticViewHelper.php
typo3_src-8.7.3/vendor/typo3fluid/fluid/src/ViewHelpers/Cache/WarmupViewHelper.php
Step 9: Move the extracted directory to the apache home directory by using the below command
root@linuxhelp:~# mv typo3_src-8.7.3 /var/www/typo
Step 10: Change directory to typo directory by using the below command
root@linuxhelp:~# cd /var/www/typo/
Step 11: Create a file as FIRST_INSTALL by using the below command
root@linuxhelp:/var/www/typo# touch FIRST_INSTALL
Step 12: Rename the '_.htaccess' file to '.htaccess' by using the below command
root@linuxhelp:/var/www/typo# mv _.htaccess .htaccess
Step 13: Changing ownership for the typo directory by using the below command
root@linuxhelp:/var/www/typo# chown -R www-data. ./
Step 14: Change Permissions to the typo directory by using the below command
root@linuxhelp:/var/www/typo# chmod -R 775 ./
Step 15: Change to the home directory by using the below command
root@linuxhelp:/var/www/typo# cd
Step 16: Create Virtual Host for the typo CMS by using the below command
root@linuxhelp:~# vi /etc/apache2/sites-available/typo.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/typo
<Directory /var/www/typo>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</virtualhost>
Step 17: Disable the default Virtual Host file of apache by using the below command
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 18: Enable the Virtual Host by using the below command
root@linuxhelp:~# a2ensite typo.conf
Enabling site typo.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 19: Enable the read write module of apache by using the below command
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Step 20: Restart the apache webserver by using the below command
root@linuxhelp:~# systemctl restart apache2
Step 21: Make host entry for typo CMS by using the below command
root@linuxhelp:~# vi /etc/hosts
192.168.6.115 www.linuxhelp1.com
Step 22: Ping server name in browser as shown in the below image

Step 23: Give Data Base Credential as shown in the below image

Step 24: Create Admin Credentials as shown in the below image

Step 25: Login in to the Admin section as shown in the below image

Step 26: This is the Dashboard page of Typo CMS

By this to Install Typo3 CMS on Ubuntu 21.04 has been completed
Comments ( 0 )
No comments available