gpt4 book ai didi

Google Compute Engine VM 上的 Ubuntu do-release-upgrade

转载 作者:行者123 更新时间:2023-12-04 12:11:11 24 4
gpt4 key购买 nike

关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。












我们不允许在 Stack Overflow 上提出有关通用计算硬件和软件的问题。您可以编辑问题,使其成为 on-topic对于堆栈溢出。


3年前关闭。







Improve this question




我可以运行 do-release-upgrade 来升级我的 Ubuntu Google Compute Engine 虚拟机吗?

VM 镜像版本现在是 Ubuntu 14.04。
我想升级到 Ubuntu 16.04 或 18.04。

最佳答案

是的,您可以,根据以下 document也是首选方式,因为,

The ubuntu-release-upgrader package, provides do-release-upgrade, and is designed to handle quirks and transitions when moving between releases of Ubuntu.



这是因为 Ubuntu 开发人员不支持 Debian 方式。

如果您按照正确的步骤操作,您将看到类似于以下内容的消息:
System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.

**Continue [yN] y**
=== Command detached from window (Fri Feb 22 17:30:44 2019) ===
=== Command terminated normally (Fri Feb 22 17:30:54 2019) ===Connected, host
fingerprint: ssh-rsa 0 C5:6B:DD:78:D2:BB:89:5B:A8:C7:AC:E7:32:52:F7:F2:F3:8D:DE:91:B6:F3:2D:DE:06:2A:EA:9A:50:34:A2:B5
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-142-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

在 Google 图片中 document page它解释说,

If your instances run Ubuntu releases that are no longer supported,you are allowed to upgrade to a supported Ubuntu release.



正如@Martin 提到的,还有一件事。在升级镜像版本之前创建磁盘快照始终是一个好主意。而如果你不熟悉do-release-upgrade全流程,下面 article将帮助您入门。

关于Google Compute Engine VM 上的 Ubuntu do-release-upgrade,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54822341/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com