惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
IT之家
IT之家
博客园 - 叶小钗
雷峰网
雷峰网
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
博客园 - 【当耐特】
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
Last Week in AI
Last Week in AI
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美

inDev. Journal

GitHub Markdown emojis for Jekyll with JoyPixels icons Windows 11 To Go on external SSD for MacBook Install qBittorrent-nox on Ubuntu server Building a pageview counter with Deta.sh Micros and Base database 重置网页阅读量数据 Install Nextcloud with PlanetScale cloud database 给国行 SONY A105 播放器刷国际版固件 Install GeoIP2 module to Nginx Get free ZeroSSL wildcard SSL certificates with acme.sh DNS API
Upgrade Ubuntu servers
Frank Lin · 2022-09-01 · via inDev. Journal

Upgrade Ubuntu servers

Upgrade paths

Ubuntu supports the ability to upgrade from one LTS to the next LTS in sequential order. For instance, a user on Ubuntu 16.04 LTS can upgrade to Ubuntu 18.04 LTS, but cannot jump directly to Ubuntu 20.04 LTS. To do this, the user would need to upgrade twice from Ubuntu 16.04 to Ubuntu 20.04.

For a complete list of releases and current supporting status see the Ubuntu Wiki Releases page.

Upgrade checklist

  • Check the release notes for the new release for any known issues or important changes.

  • Fully update the current system. The upgrade process works best when the current system has all the latest updates installed. It is also suggested that users reboot the system after all the updates are applied to verify a user is running the latest kernel.
    sudo apt update
    sudo apt upgrade
      
    sudo reboot
    
  • Users should check that there is sufficient free disk space for the upgrade. Systems with additional software installed may require a few gigabytes of disk space.

  • The upgrade process takes time to complete, be patient.

  • Third-party software repositories and PPAs are disabled during the upgrade. However, any software installed from these repositories is not removed or downgraded. Software installed from these repositories is the single most common cause of upgrade issues.

  • Back up all data. Upgrades are normally safe, however, there is always the chance that something may go wrong.

Upgrade

It is recommended to upgrade the system using the do-release-upgrade command on server edition and cloud images. This command can handle system configuration changes that are sometimes needed between releases.

do-release-upgrade

To check for any available new versions to which you can upgrade, run the following command:

This will check Ubuntu’s servers for any available updates and informs you which version of Ubuntu you’ll be upgrading to.

To begin this process, run the following command:

Upgrading to a development release of Ubuntu is available using the -d flag:

sudo do-release-upgrade -d

THE END

Hey, there! This is Frank Lin (@flinhong), one of the 1.41 billion . This 'inDev. Journal' site holds the exploration of my quirky thoughts and random adventures through life. Hope you enjoy reading and perusing my posts.

YOU MAY ALSO LIKE

Setup an IKEv2 server with strongSwan

Setup an IKEv2 server with strongSwan

IKEv2, or Internet Key Exchange v2, is a protocol that allows for direct IPSec tunnelling between networks. It is developed by Microsoft and Cisco (primarily) for mobile users, and introduced as an updated version of IKEv1 in 2005. The IKEv2 MOBIKE (Mobility and Multihoming) protocol allows the client to main secure connection despite network switches, such as when leaving a WiFi area for a mobile data area. IKEv2 works on most platforms, and natively supported on some platforms (OS X 10.11+, iOS 9.1+, and Windows 10) with no additional applications necessary.

Hands on IBM Cloud Functions with CLI

Hands on IBM Cloud Functions with CLI

IBM Cloud CLI allows complete management of the Cloud Functions system. You can use the Cloud Functions CLI plugin-in to manage your code snippets in actions, create triggers, and rules to enable your actions to respond to events, and bundle actions into packages.

TOC

  • Upgrade paths
  • Upgrade checklist
  • Upgrade
    • do-release-upgrade

RECENT READS