Before upgrading it is always recommended that you create a backup first.
Step 1 : Check the current version of Ubuntu
Remember the best way to learn any new technical skill, is to play around and see how things work. Get comfortable you’re few steps in right direction. Click HERE to Order Your VPS NOW! so that you can gain the practical experience needed.
Now 50% OFF! VPS hosting solutions optimized for you: Click HERE to Order NOW!
sibanda@gs2:~# lsb_release -a
This should return an output in the following format :
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04 Codename: trusty
Step 2 : Now we need to update the package list and install the update-manager-core package if it is not already installed:
sibanda@gs2:~# apt-get update && apt-get install update-manager-core
Step 3 : Upgrade to the latest LTS release of Ubuntu, using the below mentioned command. This command will open up a upgrade tool. Just follow the on screen instructions to complete :
sibanda@gs2:~# do-release-upgrade
In case you get the following message from this command, it means taht there is no newer LTS version available :
Checking for a new Ubuntu release No new release found But if you still want to upgrade to the latest version of Ubuntu, regardless of it have LTS (Long term support), you can use the same command but with a ‘-d’ option :
sibanda@gs2:~# do-release-upgrade -d
Step 4 : After the installation is completed, it is recommended that you reboot the server and check the new settings :
sibanda@gs2:~# reboot sibanda@gs2:~# lsb_release -a