大网数据广告活动
服务器运维问答

Is it safe to run do-release-upgrade on a cloud VM?

· 52CE 我爱测

I have a few Ubuntu VMs on Azure running Server 17.10 and I'm wondering if it's safe to upgrade them to 18.04.1 LTS using do-release-upgrade . If so, what precautions should I take?

问题原文

原帖链接 · georgiosd · CC BY-SA 4.0

I have a few Ubuntu VMs on Azure running Server 17.10 and I'm wondering if it's safe to upgrade them to 18.04.1 LTS using do-release-upgrade.

If so, what precautions should I take?

已采纳解答

原帖链接 · JDS · CC BY-SA 4.0

Yes

I just did this to about 110 EC2 instances. I actually did it from Ubuntu 14.04 through 16.04 and up to 18.04 using an automated the process for that many instances. It turns out it is possible to automate do-release-upgrade

If you want to be really safe, take a snapshot of the root disk before going forward.

Make a clone of your instance or spin up a test instance and do the upgrade. There are a lot of changes in Ubuntu from 14.04 to 18.04, a lot. A number of things broke, and SystemD changes a lot of default behavior.

But there are quite a bit fewer changes from 17.10 to 18.04, so I expect you to have a pretty reasonable time of it.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-09-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。