Last active
July 26, 2021 10:21
-
-
Save maxcobmara/1acb32f16467ce417d12e4a20444dcef to your computer and use it in GitHub Desktop.
Installing Ubuntu on Windows 10 via WSL2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Windows Terminal | |
https://aka.ms/terminal | |
In Windows Powershell as Administrator (C:\>) | |
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
Restart Windows | |
Inn Windows Powershell as Administrator (C:\>) | |
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
Download the msi, then run to install WSL2 Linux Kernel for x64 | |
https://href.li/?https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi | |
Install Ubuntu from the Microsoft Store | |
https://www.microsoft.com/store/apps/9n6svws3rx71 | |
Launch Ubuntu from store and wait. | |
Then setup username and password, and write it down somewhere safe. | |
Use Terminal to access ubuntu terminal | |
Caret | Ubuntu | |
Add DNS Server to your list | |
sudo nano /etc/resolv.conf | |
add "nameserver 208.67.222.222" to underneath existing lines | |
Update you Linux | |
sudo apt update | |
Install SSH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment