Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install wsl2 windows 10 pro

wsl --install
Comment

how to WSL2

Enable Windows Subsystem for linux: dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Enable Virtual Machine Platform: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Download WSL2 kernel: https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

Set default WSL verison: wsl --set-default-version 2
Comment

WSL2 .wslconfig Windows

# turn off all wsl instances such as docker-desktop
wsl --shutdown
notepad "$env:USERPROFILE/.wslconfig"

# .wslconfig
[wsl2]
memory=3GB   # Limits VM memory in WSL 2 up to 3GB
processors=4 # Makes the WSL 2 VM use two virtual processors
Comment

PREVIOUS NEXT
Code Example
Shell :: anbox install 
Shell :: localhost ssl 
Shell :: crontab save 
Shell :: how to run bash scripts 
Shell :: pwd linux 
Shell :: how to get github url 
Shell :: Mount EBS volume on Linux 
Shell :: delete a file from repo history 
Shell :: wallpaper engine linux 
Shell :: how to give permission to a user in linux on a folder 
Shell :: how to remove remote heroku 
Shell :: git command line discard changes 
Shell :: githum readme bold 
Shell :: add user to docker group 
Shell :: git squash 
Shell :: [INS-30131] Initial setup required for the execution of installer validations failed. 
Shell :: how to add a directory to path in linux 
Shell :: Count subdirectories within a directory 
Shell :: vim count ocurrences 
Shell :: git set upstream repository 
Shell :: how to install SunraPhpSimpleHtmlDomParser composer 
Shell :: how to change folder case sensitivity windows 10 all subfolder 
Shell :: github add directory to repository 
Shell :: curl download file without output 
Shell :: undo merge 
Shell :: install tmux2 
Shell :: how to paste in git bash 
Shell :: linux gz unzip 
Shell :: meteor uninstall 
Shell :: the repository does not have a release file eoan 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =