This page is part of a full tutorial on how to install a web werver on a virtual machine. This first part of the tutorial explains how to configure a virtual machine for installing Debian 11. It assume VirtualBox is already installed on the host computer. If not, please go to virtualbox.org and install the version for your system.
In VirtualBox, let's create a new virtual machine:
Click Next and set memory size:
Click Next. Create a virtual hard disk:
Click Create and specify the type of file for the hard disk:
Click Next and select Dynamically allocated. This option needs less space on the host disk:
Click Next and set the file location (on the host computer) and the disk size you'll need. Since a Debian is less than 4Gb, we'll keep the default value.
Click Create, the new machine should appear in the machine list on the left of the VirtualBox window:
The new machine is ready. Let's now install Debian 11.