HomelabOS is an open-source project that aims to provide an easy-to-use, self-hosted server environment for home users. In this tutorial, we will learn how to install HomelabOS on Windows 11 operating system.
Before installing HomelabOS, we need to install WSL2 on our Windows 11. WSL2 is a Windows Subsystem for Linux that allows us to run a Linux environment on Windows 11.
To install WSL2, follow these steps:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
After installing WSL2, we need to install an Ubuntu distribution that we will use to run HomelabOS.
To install Ubuntu, follow these steps:
To install HomelabOS, we need to install Docker on our Ubuntu distribution. Docker is a software platform that allows us to create, test, and deploy applications.
To install Docker, follow these steps:
sudo apt update
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world
Finally, we can install and run HomelabOS by following these steps:
curl -sS https://raw.githubusercontent.com/homelab-os/homelabos/main/scripts/install.sh | sudo bash
sudo homelab init
https://localhost
in your web browser.Congratulations! You have successfully installed HomelabOS on your Windows 11 operating system using WSL2. Enjoy your self-hosted server environment!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!