In this tutorial we will install TYPO3 on Ubuntu 16.04, with Apache web server, MariaDB and PHP. TYPO3 is completely free and open source content management system (CMS) written in PHP. It allows users to create websites even if they don’t have an experience in web development. TYPO3 is very easy to use and it is an effective tool for small sites as well as multilingual sites of large corporations, and it makes it a great alternative to the most popular CMS platforms like WordPress, Joomla, and Drupal. Installing TYPO3 on Ubuntu 16.04 is fairly easy task, just follow the steps below carefully.
Table of Contents
1. Update the system
First of all, login to your Ubuntu VPS via SSH as user root
and make sure that all installed packages are updated
2. Install Apache web server
Run the following command to install the web server
Once the installation is completed, enable Apache to start automatically upon system boot.
4. Install PHP
Since TYPO3 is writter in PHP, we have to install PHP among with some required PHP modules in order to run the CMS
5. Install MySQL server and create a database
TYPO3 needs a database to store its data, so we will install MySQL database server. Run the following command
Once the installation of the database server is completed, start the database server and enable it to start at boot time
You can also run the ‘mysql_secure_installation’ script to set the MySQL root password and secure the server.
Next, login to the MySQL serevr as user root and craete a new database and user for the TYPO3 installation
Replace ‘PASSWORD’ with a strong password. It is recommended to use a combination of letters and numbers.
6. Download and install TYPO3
Go to TYPO3’s official website and download the latest version of the CMS:
Once the source package is downloaded, unzip the archive to the document root directory on your server
We will rename the newly created directory to something simpler
The directory contains a ‘_.htaccess’ file. We have to remove the files to enable the .htaccess rules
To proceed with the installation, create a ‘FIRST_INSTALL’. The filename is case-sensitive but the file itself can be empty.
Set the correct ownership to the TYPO3 directory
7. Create Apache virtual host
In order to access TYPO3 with your domain name, you have to create Apache virtual host. Create a new file with the following content
Save the file and activate the virtual host
Restart the web server for the changes to take effect
That’s all, you can now access http://domain.com
with your favorite web browser and complete the TYPO3 installation.
Of course you don’t have to install TYPO3 on your Ubuntu 16.04 VPS, if you use one of our managed CMS hosting services, in which case you can simply ask our expert Linux admins to install TYPO3 CMS for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post on how to install TYPO3 on Ubuntu 16.04, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.