How to install and run WSL 2 with Ubuntu Server 20.04 on Windows 10

Larabin CMS
Larabin CMS
2.3 هزار بار بازدید - 3 سال پیش - How to install and run
How to install and run WSL 2 with Ubuntu Server 20.04 on Windows 10

Step 1 - Check requirements for running WSL 2
   For x64 systems: Version 1903 or higher, with Build 18362 or higher.
   - Windows + R: type winver - enter

Step 2 - Enable the Windows Subsystem for Linux (WSL)
Step 3 - Enable Virtual Machine feature
   - Start Menu - type Windows Features

Step 4 - Download the Linux kernel update package
   https://wslstorestorage.blob.core.win...

Step 5 - Install your Linux distribution of choice from Microsoft Store
   - Ubuntu 20.04 LTS
   - After downloading, Start menu - type Ubuntu - Click on it to install

Step 6 - Install Windows Terminal from Microsoft Store (optional)

Step 7 - Change the default Linux distribution installed
   - wsl -l

   If your Linux distribution is not Ubuntu then set it again with below command:
   - wsl --install -d [distribution-name]
   Example: - wsl --install -d Ubuntu-20.04

Check Linux version:
   - cat /etc/os-release
   - lsb_release -a
3 سال پیش در تاریخ 1400/10/24 منتشر شده است.
2,387 بـار بازدید شده
... بیشتر