| 2 | |
| 3 | == Overview |
| 4 | |
| 5 | Upgrade Ubuntu 14.04 to Ubuntu 16.04 – Server Upgrade |
| 6 | |
| 7 | To check the version of Ubuntu |
| 8 | |
| 9 | {{{lsb_release -a }}} |
| 10 | |
| 11 | Upgrade instructions |
| 12 | |
| 13 | 1. Make your server system up-to-date as follows: |
| 14 | |
| 15 | {{{sudo apt-get update && sudo apt-get dist-upgrade }}} |
| 16 | |
| 17 | Click on Y when necessary. |
| 18 | When message appear scroll down and press q for quit |
| 19 | |
| 20 | 2. Then reboot your system to finish installing updates. |
| 21 | |
| 22 | {{{sudo init 6 }}} |
| 23 | |
| 24 | 3. First, install the update-manager-core package using the command below that is if it is not yet installed on your server: |
| 25 | |
| 26 | {{{sudo apt-get install update-manager-core }}} |
| 27 | |
| 28 | 4. After that, edit this file, /etc/update-manager/release-upgrades using your favorite editor and set Prompt=lts |
| 29 | |
| 30 | {{{sudo vi /etc/update-manager/release-upgrades }}} |
| 31 | |
| 32 | 5. Next, start the upgrade process as follows: |
| 33 | |
| 34 | {{{sudo do-release-upgrade -d}}} |
| 35 | |
| 36 | Click on Y and Enter when necessary. |
| 37 | |
| 38 | Finally you will get notification to restart VM. |
| 39 | |
| 40 | |
| 41 | |
| 42 | |