You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/data-science-virtual-machine/ubuntu-upgrade.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: How to upgrade your Data Science Virtual Machine to Ubuntu 20.04
3
3
titleSuffix: Azure Data Science Virtual Machine
4
-
description: Learn how to upgrade from CentOS and Ubuntu 18.04 to the latest Ubuntu 20.04 Data Science Virtual Machine.
4
+
description: Learn how to upgrade from Ubuntu 18.04 to the latest Ubuntu 20.04 Data Science Virtual Machine.
5
5
keywords: deep learning, AI, data science tools, data science virtual machine, team data science process
6
6
services: machine-learning
7
7
ms.service: data-science-vm
@@ -15,10 +15,7 @@ ms.date: 05/08/2024
15
15
16
16
# Upgrade your Data Science Virtual Machine to Ubuntu 20.04
17
17
18
-
> [!CAUTION]
19
-
> This article references CentOS, a Linux distribution that is End Of Life (EOL) status. Please consider your use and planning accordingly. For more information, see the [CentOS End Of Life guidance](/azure/virtual-machines/workloads/centos/centos-end-of-life).
20
-
21
-
If you have a Data Science Virtual Machine (DSVM) that runs an older release, such as Ubuntu 18.04 or CentOS, you should migrate your DSVM to Ubuntu 20.04. This migration ensures that you get the latest operating system patches, drivers, preinstalled software, and library versions. This document tells you how to migrate from either older Ubuntu versions or from CentOS.
18
+
If you have a Data Science Virtual Machine (DSVM) that runs an older release, such as Ubuntu 18.04, you should migrate your DSVM to Ubuntu 20.04. This migration ensures that you get the latest operating system patches, drivers, preinstalled software, and library versions. This document tells you how to migrate from older Ubuntu versions.
22
19
23
20
## Prerequisites
24
21
@@ -29,7 +26,7 @@ If you have a Data Science Virtual Machine (DSVM) that runs an older release, su
29
26
You have two migration options:
30
27
31
28
- In-place migration, also called "same server" migration. This option upgrades the existing VM without creation of a new virtual machine. In-place migration is the easier way to migrate from Ubuntu 18.04 to Ubuntu 20.04.
32
-
- Side-by-side migration, also called "inter-server" migration. This option transfers data from the existing virtual machine to a newly created VM. Side-by-side migration is the way to migrate from Centos to Ubuntu 20.04. You might prefer side-by-side migration for upgrades between Ubuntu versions if you believe that your old install became needlessly cluttered.
29
+
- Side-by-side migration, also called "inter-server" migration. This option transfers data from the existing virtual machine to a newly created VM. You might prefer side-by-side migration for upgrades between Ubuntu versions if you believe that your old install became needlessly cluttered.
33
30
34
31
## Snapshot your VM in case you need to roll back
35
32
@@ -43,7 +40,7 @@ In the Azure portal, use the search bar to find the **Snapshots** functionality.
43
40
44
41
## In-place migration
45
42
46
-
To migrate an older Ubuntu release, you might choose an in-place migration option. This migration doesn't create a new virtual machine and it has fewer steps compared to a side-by-side migration. For more control, or for a migration from a different distribution - for example, CentOS - consider a side-by-side migration. For more information, skip to the [Side-by-side migration](#side-by-side-migration) section of this document.
43
+
To migrate an older Ubuntu release, you might choose an in-place migration option. This migration doesn't create a new virtual machine and it has fewer steps compared to a side-by-side migration. For more control, or for a migration from a different distribution, consider a side-by-side migration. For more information, skip to the [Side-by-side migration](#side-by-side-migration) section of this document.
47
44
48
45
1. From the Azure portal, launch your DSVM, and sign in with SSH. To do so, select **Connect** and **SSH**, and follow the connection instructions.
49
46
@@ -53,7 +50,7 @@ To migrate an older Ubuntu release, you might choose an in-place migration optio
53
50
sudo do-release-upgrade
54
51
```
55
52
56
-
The upgrade process takes a while to complete. After it finishes, the program will request your permission to restart the virtual machine. Answer **Yes**. You'll be disconnected from the SSH session as the system reboots.
53
+
The upgrade process takes a while to complete. After it finishes, the program will request your permission to restart the virtual machine. Answer **Yes**, to disconnect from the SSH session as the system reboots.
57
54
58
55
### If necessary, regenerate SSH keys
59
56
@@ -76,9 +73,9 @@ You should now be able to connect with SSH. If you still have trouble, follow th
76
73
77
74
## Side-by-side migration
78
75
79
-
To migrate from CentOS, or for a clean OS install, you can do a side-by-side migration. This migration type has more steps, but offers more control over the exact files that carry over.
76
+
For a clean OS install, you can do a side-by-side migration. This migration type has more steps, but offers more control over the exact files that carry over.
80
77
81
-
Migrations from other systems based on the same set of upstream source packages - for example [FAQ/CentOS3](https://wiki.centos.org/FAQ(2f)CentOS3.html) - should be relatively straightforward.
78
+
Migrations from other systems based on the same set of upstream source packages should be relatively straightforward.
82
79
83
80
You can upgrade the operating system parts of the filesystem, and leave the user directories, forexample `/home`,in place. If you do leave the old user home directories in place, you can expect some problems with the GNOME/KDE menus and other desktop items. It might be easier to create new user accounts, and mount the old directories somewhere elsein the filesystem. This is donefor purposes of reference, copying, or linking users' material after the migration.
84
81
@@ -93,7 +90,7 @@ You can upgrade the operating system parts of the filesystem, and leave the user
93
90
94
91
### Create a disk from your VM snapshot
95
92
96
-
Create a VM snapshot as described previously, if you haven't already done so.
93
+
Create a VM snapshot as described previously, if you haven't yetdone so.
97
94
98
95
1. In the Azure portal, search for**Disks** and select**Add**. This opens the **Disk** page
0 commit comments