Task #88
openMilestone #87: Install VM for Linux+Swarm
install VM
80%
Updated by Daniele Cruciani 13 days ago
- Description updated (diff)
- Status changed from new to confirmed
Updated by Daniele Cruciani 13 days ago
- Description updated (diff)
Updated by Daniele Cruciani 13 days ago
ยท Edited
1. Update package lists¶
sudo apt update
2. Install base tools¶
sudo apt install -y sudo curl wget gnupg lsb-release apt-transport-https software-properties-common
3. Install Docker (official repository)¶
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
| sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
4. Add your user to docker group¶
sudo usermod -aG docker $USER
5. Initialize single-node Swarm¶
sudo docker swarm init
6. Optional: install lightweight desktop environment for X2Go¶
sudo apt install -y xfce4 xfce4-goodies lightdm
7. Install X2Go server¶
sudo apt install -y x2goserver x2goserver-xsession
8. Optional: install common tools for backend testing¶
sudo apt install -y git htop tmux vim curl jq
9. Enable and start Docker service¶
sudo systemctl enable docker
sudo systemctl start docker
Updated by Daniele Cruciani 13 days ago
- % Done changed from 0 to 80
installed software