How to install Typo3 8.7.18 on Ubuntu 18.04

To install Typo3 8.7.18 on Ubuntu 18.04
TYPO3 is a free and open source enterprise content management system. It is written in PHP and uses MySQL to store its data. TYPO3 can run on HTTP server such as Apache or IIS. It also runs on PHP 5.3 or newer versions. TYPO3 is a responsive, multilingual and secure CMS. It can also be customized and extended without writing any code. In this tutorial, we will cover the installation of Typo3 on Ubuntu 18.04.

Prerequisites
Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )
    
 Php installation with required following modules

add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc 
php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap 
php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Installation

Download a Typo3 CMS package using the following URL

root@linuxhelp1:~# wget --content-disposition get.typo3.org/8
--2018-08-18 01:18:01--  http://get.typo3.org/8
Resolving get.typo3.org (get.typo3.org)... 136.243.44.172, 88.99.248.52, 2a01:4f8:212:cb0::2:197, ...
Connecting to get.typo3.org (get.typo3.org)|136.243.44.172|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://get.typo3.org/8 [following]
--2018-08-18 01:18:02--  https://get.typo3.org/8
.
.
Connecting to typo3.azureedge.net (typo3.azureedge.net)|117.18.232.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19295161 (18M) [application/octet-stream]
Saving to: ‘typo3_src-8.7.18.tar.gz’

typo3_src-8.7.18.tar.gz 100%[==============================>]  18.40M   819KB/s    in 20s     

2018-08-18 01:18:23 (957 KB/s) - ‘typo3_src-8.7.18.tar.gz’ saved [19295161/19295161]

After Downloading extract the downloaded package

root@linuxhelp1:~# tar -zxvf typo3_src-8.7.18.tar.gz
typo3_src-8.7.18/
typo3_src-8.7.18/_.htaccess
typo3_src-8.7.18/_web.config
typo3_src-8.7.18/composer.json
typo3_src-8.7.18/composer.lock
typo3_src-8.7.18/CONTRIBUTING.md
typo3_src-8.7.18/index.php
typo3_src-8.7.18/INSTALL.md
.
.
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/IfViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/LayoutViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/OrViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/RenderViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/SectionViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/SpacelessViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/SwitchViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/ThenViewHelper.php
typo3_src-8.7.18/vendor/typo3fluid/fluid/src/ViewHelpers/VariableViewHelper.php

Move the extracted file into the HTML directory

root@linuxhelp1:~# mv typo3_src-8.7.18 /var/www/

Navigate to the apache document root directory

root@linuxhelp1:~# cd /var/www/

Change ownership and permission of the as Typo3 CMS follows

root@linuxhelp1:/var/www# chown -R www-data.www-data typo3_src-8.7.18
root@linuxhelp1:/var/www# chmod -R 775 typo3_src-8.7.18

Create a new virtual host configuration for accessing the Typo3 CMS

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/typo3.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/typo3_src-8.7.18/

<Directory /var/www/typo3_src-8.7.18/>
AllowOverride All
Allow from all
</Directory>

</VirtualHost>

Enable site access

root@linuxhelp1:/var/www# a2ensite typo3.conf
Enabling site typo3.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable  rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service to make the changes effect

 root@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name
browser_url

Verify the compatibility for installing Typo3 as shown below
compitibility_check

Configure the Database setup as follows
database_setup

You will select the database as shown below
select_databse

Configure the Admin user setup as follow
admin_setup

After the configuration, you will see the following page as shown below
finish_installation

You can log in using the admin user credentials
admin_login

After the Successful login, you will see the Admin dashboard of Typo3 as shown below
admin_dashboard

You will see the version of Typo3
typo3_version

With this, the method to install Typo3 8.7.18 on Ubuntu 18.04 comes to an end.


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Ubuntu TYPO3 CMS
user image Author :  Grayson