# Tài liệu thiết lập máy ảo

Thiết lập máy ảo (VM) Ubuntu trên máy chủ Windows^®^ hoặc Mac^®^ để tải xuống, biên dịch và cài đặt phần mềm Qualcomm^®^ Linux^®^.

## Tổng quan về thiết lập máy ảo

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Tổng quan về thiết lập máy ảo cấp cao

Cung cấp cái nhìn tổng quan cấp cao về thời điểm nên thiết lập máy ảo Ubuntu.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/getting-started.html#vm-setup-overview

## Thiết lập máy ảo Ubuntu trên máy Windows

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Điều kiện tiên quyết để thiết lập máy ảo Ubuntu trên máy Windows

Xác minh các yêu cầu về phần cứng và phần mềm trước khi thiết lập máy ảo Ubuntu trên máy chủ Windows.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#prereq-windows

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cài đặt Ubuntu trong WSL

Xác minh và cài đặt Ubuntu 22.04 trên máy chủ Windows bằng Windows Subsystem for Linux (WSL).

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#install-ubuntu-22-04-linux-distribution

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cấu hình cài đặt toàn cục của WSL

Cấu hình cài đặt WSL: bộ nhớ, bộ xử lý và bộ nhớ swap.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#conf-global-sets-for-wsl

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cấu hình cài đặt Ubuntu trong WSL

Cấu hình DNS, Git và cài đặt cục bộ cho WSL.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-windows-subsystem-for-linux-on-windows-11.html#conf-ubuntu-sets-for-wsl

## Thiết lập máy ảo Ubuntu Server trên máy Mac Arm64

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Điều kiện tiên quyết để thiết lập máy ảo Ubuntu Server trên máy Mac Arm64

Xác minh các yêu cầu về phần cứng và phần mềm trước khi thiết lập máy ảo Ubuntu trên máy chủ Mac Arm64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#arm64-based-mac-host-system-and-software-requirements

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cài đặt UTM trên máy Mac Arm64

Cài đặt phần mềm ảo hóa UTM trên máy chủ Mac Arm64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#install-utm-on-mac-on-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Tạo máy ảo trong UTM trên máy Mac Arm64

Thiết lập và cấu hình máy ảo trong UTM trên máy chủ Mac Arm64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#create-a-vm-in-utm-on-an-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cài đặt Ubuntu Server trong UTM trên máy Mac Arm64

Sử dụng ảnh Ubuntu ISO để cài đặt Ubuntu Server trong máy ảo trên máy chủ Mac Arm64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#install-ubuntu-on-vm-on-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Truy cập Qualcomm Linux development kit

Kết nối Qualcomm Linux development kit với máy tính Mac Arm64 và truy cập từ máy ảo Ubuntu Server.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#access-rb3-gen-2-device-from-the-utm-vm-for-arm64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cấu hình cài đặt nguồn cho Ubuntu Server và máy Mac Arm64

Cấu hình cài đặt để ngăn máy Mac Arm64 và máy ảo Ubuntu Server chuyển sang chế độ ngủ do không hoạt động.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-arm64-based-mac.html#configure-power-settings-arm64

## Thiết lập máy ảo Ubuntu trên máy Mac x86\_64

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Điều kiện tiên quyết để thiết lập máy ảo Ubuntu trên máy Mac x86\_64

Xác minh các yêu cầu về phần cứng và phần mềm trước khi thiết lập máy ảo Ubuntu trên máy chủ Mac x86\_64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#intel-based-x86-64-mac-host-system-and-software-requirements

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cài đặt UTM trên máy Mac x86\_64

Cài đặt phần mềm ảo hóa UTM trên máy chủ Mac x86\_64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#install-utm-x8664-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Tạo máy ảo trong UTM trên máy Mac x86\_64

Thiết lập và cấu hình máy ảo trong UTM trên máy chủ Mac x86\_64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#create-a-vm-in-utm-x8664-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cài đặt Ubuntu trong UTM trên máy Mac x86\_64

Sử dụng ảnh Ubuntu ISO để cài đặt Ubuntu trong máy ảo trên máy chủ Mac x86\_64.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#install-ubuntu-on-vm-on-intel-based-x86-64-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Truy cập Qualcomm Linux development kit

Kết nối Qualcomm Linux development kit với máy Mac x86\_64 và truy cập từ máy ảo Ubuntu.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#access-rb3-gen-2-device-from-x86-64-based-mac

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Cấu hình cài đặt nguồn cho Ubuntu và máy Mac x86\_64

Cấu hình cài đặt để ngăn máy Mac x86\_64 và máy ảo Ubuntu chuyển sang chế độ ngủ do không hoạt động.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/set-up-an-ubuntu-vm-on-an-intel-based-x86-64-mac.html#configure-power-settings-x8664

## Khắc phục sự cố máy chủ và máy ảo

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Sửa lỗi mạng trong máy ảo Ubuntu

Xử lý các sự cố mạng gián đoạn trong máy ảo Ubuntu mà có thể gây ra lỗi trong quá trình biên dịch phần mềm.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/troubleshoot.html#fix-network-failures-in-the-ubuntu-vm

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewbox="0 0 16 16" fill="none" aria-label="icon3">
  <path d="M8 2V14M3.33333 2H12.6667C13.403 2 14 2.59695 14 3.33333V12.6667C14 13.403 13.403 14 12.6667 14H3.33333C2.59695 14 2 13.403 2 12.6667V3.33333C2 2.59695 2.59695 2 3.33333 2Z" stroke="#2A2AEA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
</svg> Tối ưu hóa máy chủ Mac chậm hoặc không phản hồi

Kiểm tra xem máy ảo UTM có đang sử dụng hết tài nguyên và làm chậm máy chủ Mac không.

https://docs.qualcomm.com/doc/80-70020-41VI/topic/troubleshoot.html#slow-or-unresponsive-host

Last Published: Dec 23, 2025

[Next Topic
Tổng quan về thiết lập máy ảo](https://docs.qualcomm.com/bundle/publicresource/80-70020-41VI/topics/getting-started.md)