Posts

Showing posts from July, 2020

Upgrading Ubuntu Server 16.04 LTS to 18.04 LTS

Here's a diary of my experience updating Ubuntu Server, on command line, with no desktop environment. Starting the upgrade This is the easy part... sudo apt update sudo apt upgrade sudo apt dist-upgrade sudo apt install update-manager-core sudo do-release-upgrade Considerations when upgrading through SSH Since I'm upgrading through SSH, I got this message: Continue running under SSH? This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover. If you continue, an additional ssh daemon will be started at port '1022'. Do you want to continue? Continue [yN] y Starting additional sshd To make recovery in case of failure easier, an additional sshd will be started on port '1022'. If anything goes wrong with the running ssh you can still connect to the additional one. If you run a firewall, you may need to temporarily open this port. As this is potentially dangerous it