![]() ![]() To continue, once again, press “Y” and press ENTER. Total download size and how long the download will take.The number of packages that will be upgraded. ![]() The number of new packages that will be installed.Installed packages that are no longer supported by Canonical.The update tool will calculate all the changes and provide a summary of the following: To proceed with the upgrade, press “ Y” and press ENTER. Next, you will be prompted to update the “ sources.list” file from ‘focal’ to ‘jammy’ entries. Since you already opened the port, just hit ENTER. Next, the upgrade tool will notify you to open port 1022, which will be used as an alternative SSH port in case of an SSH connection interruption on the default port. To commence the upgrade, run the command:ĭuring the upgrade, the upgrade tool will probe for the latest LTS release and walk you through a series of prompts.įirst and foremost, it will detect your SSH connection and notify you that an additional SSH service will be started on port 1022. If it is not installed, you can install it by running the command: In this guide, we will use the do-release-upgrade tool. There are two ways to upgrade to the latest Ubuntu version: You can use the do-release-upgrade tool, which works for both CLI and GUI instances, or the GUI update tool. $ sudo ufw status Step 4: Upgrade to Ubuntu 22.04 Jammy JellyfishĪt this point, upgrading to Ubuntu 22.04 will be a straightforward and seamless process. Then verify that the port has been opened by probing the firewall status as shown. To apply the firewall rule, reload the firewall. Be sure to follow Step 6 below to close the port when you are done. We also recommend speaking with your networking team beforehand to ensure you are minimizing potential security risks. To simplify things, we recommend that you open port 1022 on your firewall as follows. If you are connected to your Ubuntu instance via SSH, the upgrade tool will open another SSH port (1022) as a fallback port in case the SSH connection drops on port 22. $ lsb_release -a Step 3: Open TCP port 1022 Then log back into the system and confirm it has been upgraded to the latest release, which, at the time of publishing this guide, is Ubuntu 20.04.4 LTS. Once the upgrade is complete, reboot your system to take advantage of the latest kernel that will come with the upgrade. This might take a while depending on the number of installed packages with pending upgrades. Next, refresh the local package index and upgrade the packages in one single command as follows: ![]() To list upgradable packages, run the command (note: if you haven’t done this in a while, you may want to run the sudo apt update command first to get the most current details possible): ![]() This upgrades the entire system to the latest Ubuntu release. Once the backup is in place, log in to your instance and upgrade all the packages to their latest versions. Therefore, if you are running a virtual machine or cloud VPS, ensure you take a complete snapshot so that you can restore your instance in case it breaks. This ensures you will not lose your data in case something goes wrong during the upgrade process.Ĭloud server providers offer snapshot services. It is prudent to take a backup of all your databases and files before embarking on any major upgrade of an operating system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |