Skip to content

Instantly share code, notes, and snippets.

@ScriptAutomate
ScriptAutomate / Install-WSLAndUbuntu.ps1
Last active October 3, 2024 15:50
Enable WSL and Install Ubuntu 24.04 (or 22.04 / 20.04)
<#
- BIOS of host machine also needs to be configured to allow hardware virtualization
- Windows 10 Pro or otherwise is needed; Windows 10 Home Edition CANNOT get WSL
- This gist WSLv2, but can use WSLv1 instead. I needed v1 as I run Windows 10 in a VM in Virtualbox.
- WSLv2 has been giving me problems in Virtualbox 6.1, but WSLv1 works properly.
- vbox has issues with the GUI settings when it comes to nested virtualization on certain systems,
so run the following if needing to give a VM this enabled setting:
VBoxManage modifyvm <vm-name> --nested-hw-virt on
#>
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active November 20, 2025 16:17
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized