Debian Vagrant Quickstart

Quickly run a Debian VM, for developing, testing, playing in only 4 steps.

Download and install VirtualBox from https://www.virtualbox.org/ or see the information on the VirtualBox wiki page.

Once VirtualBox is installed, install Vagrant itself.

apt install vagrant

Create a vagrant initial configuration in current dir.

vagrant init debian/buster64

Download the debian disk image and start it in Virtualbox.

vagrant up

Login in your new debian system.

vagrant ssh

Try a command as root (Once logged, you can execute any administrative command with sudo without password).

sudo whoami
root