Upgrade Debian 8 Jessie To Debian 9 Stretch

debian linux

Upgrading server on a remote location is not safe unless you have KVM access. I did many Debian 8 to Debian 9 upgrade on remote server with out probem. On one server, network card name chaned from eth0 to new enp4s0 format. I had to access the server using KVM and fix network configuration by editing /etc/network/interfaces

First you need to upgrade all software on your server to latest Debian 8

Now replace content of /etc/apt/sources.list file with following

Add

Update the software again with

It can take some time for the upgrade to finish. Once update complete, you can check with lsb_release -a command, you will see

debian upgrade

Remove unused packages with command

At this stage, server stil use old debian 8 kernal.

To boot to new Debian 9 kernal, reboot the server with

After reboot, you will see new kernal.

Now Debian 10 is available. See How to upgrade Debian 9 to Debian 10

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *