• We just launched and are currently in beta. Join us as we build and grow the community.

TYPO3 CMS Installation on Ubuntu

badboy.so

Yuri Enthusiast
B Rep
0
0
0
Rep
0
B Vouches
0
0
0
Vouches
0
Posts
137
Likes
190
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 400 XP
Purple-Modern-Retro-Classroom-Rules-and-Online-Etiquette-Education-Presentation.png


Hey Folks, in this tutorial we are going to demonstrate the installation of TYPO3 CMS in ubuntu operating system. TYPO3 is a free and open-source Web content management system written in PHP. TYPO3 CMS is an Open Source Enterprise Content Management System with a large global community, backed by the approximately 900 members of the TYPO3 Association. Free, open source software.

Let’s take a look 😛 !!

Add Repository

By default, the latest version of PHP is not installed in the Ubuntu operating system, so we will add this given repository so that the latest version of PHP can be installed in the ubutnu operating system. After adding it then execute the update command.

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update12sudo add-apt-repository ppa:ondrej/phpsudo apt-get update

1.png

Apache Installation

We need a web server to configure or host any web application so we will first install apache web server to host our wordpress on our ubuntu operating system.

sudo apt install apache21sudo apt install apache2

2.png

Installation of MySQL Database

Likewise, we need a database server in the backend to keep the credentials and information of ourselves and our customers. Now we will install maria database server to store all those data and content.

apt install mysql-client mysql-server1apt install mysql-client mysql-server

3.png

Installation of PHP

Now we can install any version of PHP which is available, but in this time we need version 7.1 of PHP which we install using the following command.

sudo apt-get install libapache2-mod-php7.1 php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-soap php7.1-gd php7.1-xml php7.1-intl php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-zip php7.1-curl -y1sudo apt-get install libapache2-mod-php7.1php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-soap php7.1-gd php7.1-xml php7.1-intl php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-zip php7.1-curl-y

4.png

Activate Services

Now we have to enable all the services that we have downloaded.

sudo systemctl start apache2
sudo systemctl start mysql12sudo systemctl start apache2sudo systemctl start mysql

5.png

Protect Remote Root Login

We will take the following steps to secure our database server only. All you have to do is change the root password of mysql as per your choice and the rest has to be done as we have done below.

sudo mysql_secure_installation1sudo mysql_secure_installation

6.png


Just enter “Y” everywhere and proceed.

7.png

Manage & Create Database

Now we will create a database with username and password using the following command. You can keep all things or names according to yourself.

sudo mysql -u root -p
create database typo_db;
CREATE USER 'typo'@'localhost' IDENTIFIED BY '123';
GRANT ALL ON typo_db.* TO 'typo'@'localhost' IDENTIFIED BY '123';
FLUSH PRIVILEGES;
exit;123456sudo mysql-uroot-pcreate database typo_db;CREATE USER'typo'@'localhost'IDENTIFIED BY'123';GRANT ALL ON typo_db.*TO'typo'@'localhost'IDENTIFIED BY'123';FLUSH PRIVILEGES;exit;

8.png

Typo3 CMS Installation

At this time we have to do all the work within the root folder of the Apache web server, so we have to first go inside the root folder using the cd command. After that we will download the cms project via wget command and unzip the file.

cd /var/www/html/
wget --content-disposition get.typo3.org/8
sudo tar xvzf typo3*.tar.gz123cd/var/www/html/wget--content-disposition get.typo3.org/8sudo tar xvzf typo3*.tar.gz

9.png


Now follow these steps one by one.

Step 1: Rename the folder name.
Step 2: Rename the .htaccess file.
Step 3: Create “FIRST_INSTALL” file.
Step 4: Chane ownership.
Step 5: Give permissions.

sudo mv typo3_*/ typo3/
sudo mv typo3/_.htaccess typo3/.htaccess
sudo touch typo3/FIRST_INSTALL
sudo chown -R www-data:www-data typo3
sudo chmod -R 775 typo3/12345sudo mv typo3_*/typo3/sudo mv typo3/_.htaccess typo3/.htaccesssudo touch typo3/FIRST_INSTALLsudo chown-Rwww-data:www-data typo3sudo chmod-R775typo3/

10.png


Now we need to improve some configuration of PHP. Just open the given file through your friendly file editor and increase the execution time from 30 to 240.

nano /etc/php/7.1/apache2/php.ini1nano/etc/php/7.1/apache2/php.ini

11.png


Likewise, remove the semicolon from “max_input_vars” and increase it from 1000 to 1500. After that restart the apache web server once again.

12.png


Done 😛 !! Don’t look in any other places and just click on that green button.

13.png


Enter the database credentials we created earlier.

14.png


Select the created database name and proceed.

15.png


Create username and password for login into the admin panel.

16.png


Don’t change anything and proceed further.

17.png


Hmm 😛 !! You need to enter credentials created according to you.

18.png


Amazing 😛 !! As you can see the Typo3 CMS has been successfully configured on the ubuntu operating system.

19.png
About the AuthorShubham Goyal Certified Ethical Hacker, information security analyst, penetration tester and researcher. Can be Contact on Linkedin.
 

432,645

312,569

312,578

Top