How to install Joomla 3 on Ubuntu 16.04

In this post, we will explain how to install Joomla on Ubuntu 16.04, with MariaDB 10.2, PHP-FPM 7.1 and Nginx. Joomla is an open-source content management system (CMS) for publishing web content written in PHP. Joomla is one of the most popular CMSs and it is used all over the world to power millions of websites of all shapes and sizes. This guide should work on other Linux VPS systems as well but was tested and written for an Ubuntu 16.04 VPS.