How to install and run WSL 2 with Ubuntu Server 20.04 on Windows 10
How to install and run WSL 2 with Ubuntu Server 20.04 on Windows 10
Step 1: 
    - Check requirements for running WSL2 For x64 systems: 
        Version 1903 or higher, with Build 18362 or higher.
    Press 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.windows.net/wslblob/wsl_update_x64.msi
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, open terminal & typing:
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
Step 8:
    - Access to Ubuntu, type wsl -> Enter
Check Linux version:
cat /etc/os-release
lsb_release -a