This guide will help you set up the tools needed on Ubuntu running in WSL (Windows Subsystem for Linux).
Before running the setup script, ensure you have:
- Windows 10/11 with WSL2 enabled
- Ubuntu distribution installed in WSL
- Internet connection for downloading packages
- Administrator access on Windows for WSL setup
Open PowerShell as Administrator and run:
wsl --installRestart your computer when prompted.
You can install Ubuntu from the Microsoft Store, or use the command line:
wsl --install -d UbuntuEnsure you're using WSL2 (required for Docker):
wsl --set-default-version 2
wsl --set-version Ubuntu 2Open Ubuntu from the Start Menu or run:
wslThis workshop includes a unified setup script that can install various DevOps tools:
| Tool | Command | Description |
|---|---|---|
| Docker | ./setup.sh docker |
Container runtime and management |
| Ansible | ./setup.sh ansible |
Configuration management and automation |
| K0s | ./setup.sh k0s |
Lightweight Kubernetes distribution |
| CloudSmith | ./setup.sh cloudsmith |
Package repository management |
Launch Ubuntu from the Start Menu or Windows Terminal.
git clone https://github.com/tagoylo/devops-workshop.git
cd devops-workshopchmod +x setup.sh# Install Docker
./setup.sh docker
# Install Ansible
./setup.sh ansible
# Install K0s Kubernetes
./setup.sh k0s
# Install CloudSmith tools
./setup.sh cloudsmith
# Show help and available options
./setup.sh helpEach setup script will typically:
- ✅ Verify you're running in WSL (where applicable)
- ✅ Update system packages
- ✅ Install prerequisites and dependencies
- ✅ Add official repositories and GPG keys
- ✅ Install the target tool and components
- ✅ Configure the tool for WSL environment
- ✅ Set up user permissions and groups
- ✅ Provide verification steps
After successful installation of your chosen tools, you can:
- Explore the individual tool documentation
- Follow along with workshop exercises
- Build and deploy applications using these DevOps tools
- Set up CI/CD pipelines
- Manage infrastructure as code
Happy learning!