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: content/install-guides/azure-cli.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,7 @@ It is available for a variety of operating systems and Linux distributions and h
22
22
23
23
## How do I prepare to install the Azure CLI on Ubuntu?
24
24
25
-
[General installation information](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt) is available which covers all supported Linux distributions. Starting with version 2.46.0, Azure CLI supports Arm64 Linux distributions. The 'apt' package manager contains both x86_64 and Arm64 packages for the following linux distributions
26
-
27
-
```output
28
-
Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04
29
-
```
25
+
[General installation information](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt) is available which covers all supported Linux distributions. Starting with version 2.46.0, Azure CLI supports Arm64 Linux distributions. The 'apt' package manager contains both x86_64 and Arm64 packages for Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04.
30
26
31
27
## How do I install the Azure CLI using the installation script?
32
28
@@ -60,8 +56,8 @@ You should see an output similar to:
60
56
61
57
```output
62
58
{
63
-
"azure-cli": "2.61.0",
64
-
"azure-cli-core": "2.61.0",
59
+
"azure-cli": "2.75.0",
60
+
"azure-cli-core": "2.75.0",
65
61
"azure-cli-telemetry": "1.1.0",
66
62
"extensions": {}
67
63
}
@@ -98,8 +94,8 @@ You should see an output similar to:
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/build-llama3-chat-android-app-using-executorch-and-xnnpack/2-executorch-setup.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ The best practice is to generate an isolated Python environment in which to inst
15
15
### Option 1: Create a Python virtual environment
16
16
17
17
```bash
18
-
python3.10 -m venv executorch
19
-
source executorch/bin/activate
18
+
python3.10 -m venv executorch-venv
19
+
source executorch-venv/bin/activate
20
20
```
21
21
22
22
The prompt of your terminal has `executorch` as a prefix to indicate the virtual environment is active.
@@ -28,8 +28,8 @@ Install Miniconda on your development machine by following the [Installing conda
28
28
Once `conda` is installed, create the environment:
29
29
30
30
```bash
31
-
conda create -yn executorch python=3.10.0
32
-
conda activate executorch
31
+
conda create -yn executorch-venv python=3.10.0
32
+
conda activate executorch-venv
33
33
```
34
34
35
35
### Clone ExecuTorch and install the required dependencies
@@ -40,7 +40,7 @@ From within the conda environment, run the commands below to download the ExecuT
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/build-llama3-chat-android-app-using-executorch-and-xnnpack/4-prepare-llama-models.md
Copy file name to clipboardExpand all lines: content/learning-paths/mobile-graphics-and-gaming/build-llama3-chat-android-app-using-executorch-and-xnnpack/5-run-benchmark-on-android.md
Make sure you add -DEXECUTORCH_XNNPACK_ENABLE_KLEIDI=ON option to enable support for KleidiAI kernels in ExecuTorch with XNNPack.
57
+
Starting with Executorch version 0.7 beta, KleidiAI is enabled by default. The -DEXECUTORCH_XNNPACK_ENABLE_KLEIDI=ON option is enabled and adds default support for KleidiAI kernels in ExecuTorch with XNNPack.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/azure-vm/azure-vm.md
+14-5Lines changed: 14 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ layout: learningpathall
8
8
9
9
You can view the Azure Linux 3.0 project on [GitHub](https://github.com/microsoft/azurelinux). There are links to the ISO downloads in the project README.
10
10
11
-
Using QEMU, you can create a raw disk image and boot a virtual machine with the ISO to install the OS onto the disk.
11
+
Using QEMU, you can create a raw disk image and boot a virtual machine with the ISO to install the OS on the disk.
12
12
13
13
Once the installation is complete, you can convert the raw disk to a fixed-size VHD, upload it to Azure Blob Storage, and then use the Azure CLI to create a custom Arm image.
14
14
@@ -20,9 +20,9 @@ Use `wget` to download the Azure Linux ISO image file.
20
20
wget https://aka.ms/azurelinux-3.0-aarch64.iso
21
21
```
22
22
23
-
Use `qemu-img` to create a 32 GB raw disk image.
23
+
Use `qemu-img` to create a 32 GB empty raw disk image to install the OS.
24
24
25
-
This step creates a 32 GB empty raw disk image to install the OS. You can increase the disk size by modifying the value passed to `qemu-img`.
25
+
You can increase the disk size by modifying the value passed to `qemu-img`.
26
26
27
27
```bash
28
28
qemu-img create -f raw azurelinux-arm64.raw 34359738368
@@ -46,7 +46,14 @@ qemu-system-aarch64 \
46
46
-device virtio-net-device,netdev=net0
47
47
```
48
48
49
-
Once the OS boots successfully, install the Azure Linux Agent for VM provisioning, and power off the VM.
49
+
Navigate through the installer by entering the hostname, username, and password for the custom image.
50
+
You should use the username of `azureuser` if you want match the instructions on the following pages.
51
+
52
+
Be patient, it takes some time to complete the full installation.
53
+
54
+
At the end of installation you are prompted for confirmation to reboot the system.
55
+
56
+
Once the newly installed OS boots successfully, install the Azure Linux Agent for VM provisioning, and power off the VM.
50
57
51
58
```bash
52
59
sudo dnf install WALinuxAgent -y
@@ -55,6 +62,8 @@ sudo systemctl start waagent
55
62
sudo poweroff
56
63
```
57
64
65
+
Be patient, it takes some time to install the packages and power off.
66
+
58
67
## Convert the raw disk to VHD Format
59
68
60
69
Now that the raw disk image is ready to be used, convert the image to fixed-size VHD, making it compatible with Azure.
VHD files have 512 bytes of footer attached at the end. The `force_size` flag ensures that the exact virtual size specified is used for the final VHD file. Without this, QEMU may round the size or adjust for footer overhead (especially when converting from raw to VHD). The `force_size` flag forces the final image to match the original size. This flag helps make the final VHD size a clean, whole number in MB or GiB, which is required for Azure.
76
+
VHD files have 512 bytes of footer attached at the end. The `force_size` flag ensures that the exact virtual size specified is used for the final VHD file. Without this, QEMU may round the size or adjust for footer overhead (especially when converting from raw to VHD). The `force_size` flag forces the final image to match the original size. This flag makes the final VHD size a whole number in MB or GB, which is required for Azure.
68
77
{{% /notice %}}
69
78
70
79
Next, you can save the image in your Azure account.
0 commit comments