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 :: set name and email git 
Shell :: command to install PHP on Ubuntu 
Shell :: push to specific remote branch 
Shell :: git get project name 
Shell :: touch in windows 
Shell :: changing master to main 
Shell :: install eclipse in fedora 
Shell :: install packages from jupyter notebook 
Shell :: signaling init process caused permission denied 
Shell :: my shell bash scripting practice 
Shell :: delete all files in a directory cmd 
Shell :: windows docker volume location 
Shell :: ionic cordova sign apk 
Shell :: Finding Apache http Process 
Shell :: could not find driver postgres laravel 
Shell :: delete directory mac terminal 
Shell :: firebase deploy with token 
Shell :: linux speed up video 
Shell :: docker compose command bash permission denied 
Shell :: bash rm all except 
Shell :: element function in terraform 
Shell :: install yarn 
Shell :: install kubens on ubuntu 
Shell :: tar file linux 
Shell :: origin git 
Shell :: youtube dl download linux 
Shell :: apache start stop restart 
Shell :: switch installed linx to wsl2 
Shell :: install appx 
Shell :: check android studio path linux 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =