Some tasks require a specific operating system (OS) and version. Therefore, you can always re-OS your cloud server in Account Management Panel (AMP). Ubuntu 16.04 long term support (LTS) version reaches end of life (EOL) in 2024 according to Ubuntu’s release cycle.
But if you’re ready for the latest version, you can manually upgrade Ubuntu in SSH.
To view the support status for installed packages:
- Before any major Linux OS upgrade, create a snapshot in Account Management Panel (AMP) in case anything goes wrong
- We recommend creating backups of any important data, re-OSing your cloud server, and upgrading that clean installation to mitigate possible issues
- Realize this process can take over ten minutes to complete and prompts for configuration decisions often. Continue only if you’re sure you have time to complete the upgrade process
InMotion Hosting Cloud customers should contact Managed Hosting first to ensure compatibility.
- Log into SSH as root
- Update package lists and upgrade existing software:
sudo apt update && sudo apt dist-upgrade
- Install update-manager-core:
sudo apt install update-manager-core
- (Optional) If you wish to upgrade to the latest Ubuntu version, edit your update-manager configuration file:
At the bottom, change the prompt option from
- Check what version you can upgrade to:
- (Optional) Whitelist port 1022 in your firewall – iptables, CSF, etc.
- Upgrade Ubuntu:
You’ll be prompted to make configuration decisions throughout the upgrade process. In most cases, it’s better to remove obsolete packages and install the newer package maintainer’s version to configuration files unless you’ve made changes to the file. An example of some of the prompts you’ll receive:
Configuration file '[path-to-file/file-name]'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** [file-name] (Y/I/N/O/D/Z) [default=N] ?
- Once the installation finishes, restart the server
- Log back into your server
- Check your server version:
Congratulations! You’ve upgraded Ubuntu.
Save time with our low-cost, high-performance Cloud Server Hosting.