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 :: push imagesto docker 
Shell :: Fetch submodules recursively 
Shell :: install docker on windows server 2019 
Shell :: ffmpeg extract single frame 
Shell :: ubuntu clone git repository 
Shell :: git basic commands 
Shell :: create new github repo 
Shell :: update node manjaro 
Shell :: force docker for a clean build of an image 
Shell :: split vim window 
Shell :: .gitignore add directory 
Shell :: unexpected inconsistency run fsck manually 
Shell :: rename all files starting with in linux 
Shell :: uname linux 
Shell :: docker file entrypoint script shell 
Shell :: get until last match 
Shell :: how to install all your pipenv packages 
Shell :: docker run --entrypoint bash 
Shell :: git revert remote branch 
Shell :: how to update kali linux 2022 
Shell :: ubuntu essential commands 
Shell :: how to kill recycling process linux 
Shell :: transfer git repo from gitlab to github 
Shell :: restart nginx windows 
Shell :: brownie coverage 
Shell :: Install CasaOS 
Shell :: how to create a github repo on linux command line 
Shell :: instal bable for linux 
Shell :: veil framework install 
Shell :: create batch file to delete folders and subfolders 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =