In context of cloud server, VPS, dedicated servers; eventually, all who are using Ubuntu 16.04 LTS have to Upgrade to Ubuntu 18.04 LTS. Of course, if you decide to change to CentOS from Ubuntu that case is different. Before Upgrade, We Need to Check Resources, Incompatibilities and Needed Changes in Settings. We have published a small article on Ubuntu 18.04 LTS before. Here is Current Status of Ondřej Surý’s PPA For Ubuntu 18.04 LTS For Setup of LAMP, LEMP Server. Despite there is official repo, commonly we use Ondřej Surý’s PPA for tweaked version.
Our next guides will be on testing common server packages and finally master guide and bash script for installing WordPress which will be for official WordPress documentation.
Ondřej Surý’s PPA For Ubuntu 18.04 LTS LAMP, LEMP : Current Status
All stuffs from Ondřej Surý can be found on :
It is practical to install
software-properties-common on a fresh servers for various reasons :
sudo apt-get install software-properties-common
We already have Apache2 as repo, running these commands will work :
sudo add-apt-repository ppa:ondrej/apache2
sudo apt update
Nginx also available, run these commands :
sudo add-apt-repository ppa:ondrej/nginx
sudo apt-get update
PHP also available :
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
The basic problem was with forks of MySQL including MariaDB, Percona etc. As we use Percona, we had fear of release. Thankfully, Percona has released MySQL for Ubuntu 18.04 LTS :
You need to wget, un-tar and install with
dpkg -i command :
dpkg -i percona-version_full_name.deb
That is basically the main stuffs around building LAMP or LEMP server. Other tools even if slightly oddly behave, that has not much problem – of course first of all we need the core software of LAMP/LEMP working. Next need for SSL/TLS is certbot for Let’s Encrypt. That is available on official repo.
After testing with HSTS and all tweaks, we will publish detailed step by step guide as like we do since Ubuntu 12.04 LTS.
There was a PPA search utility for searching PPAs :
sudo add-apt-repository ppa:wrinkliez/ppasearch
sudo apt update && sudo apt install ppasearch
Follow the Author of this article :