How to Install WordPress 5.2.3 on Ubuntu with Apache2, MariaDB and PHP 7.2

Here is how you can install WordPress 5.2.3 on Ubuntu. In particular on Vultr’s instance i.e. Ubuntu 16.04 LTS / 18.04 LTS / 18.10.