In this guide, we will walk through the installation of Debian 12 (Bookworm) using the VMware Workstation Pro hypervisor. Debian is a free, open-source operating system known for its stability and slow update cycle, making it an excellent choice for servers and system administrators.
First, navigate to the official website at debian.org. Locate the large download button on the homepage to download the installation ISO file. The file size is approximately 600 MB.
Open VMware Workstation Pro. If you do not have it, note that Broadcom has made the Pro version free for personal use.
Click on New Virtual Machine and select the Typical configuration. Browse and select the Debian 12 ISO file you just downloaded; VMware should automatically detect it as "Debian 12 64-bit".
Name your virtual machine (e.g., "Debian 12") and select a storage location. For the disk size, allocate 20 GB and select "Store virtual disk as a single file" to keep the file management simple.
Click Customize Hardware to adjust the settings:
Once configured, click Finish and power on the virtual machine.
When the VM boots, select Install (the text-based installer) from the menu.
Select your language (English), location (e.g., Europe > Sweden), and keyboard layout. The system will load initial components and configure the network via IPv6/IPv4 automatically.
debian12.Select Guided - use entire disk. Choose the virtual disk (VMware Virtual S) and select All files in one partition (recommended for new users).
Select "Finish partitioning and write changes to disk" and confirm by selecting Yes. The installation of the base system will now begin.
After the base install, you will be prompted to configure the package manager.
When asked to scan extra installation media, select No. Select a mirror country close to you (e.g., Sweden) and choose a default mirror (like deb.debian.org). Leave the HTTP proxy blank unless required.
You can choose to participate in the "popularity contest" (statistics tracking) or not.
In the software selection screen, use the spacebar to select/deselect items. For a server environment, it is recommended to:
When asked to install the GRUB boot loader, select Yes and choose the primary device /dev/sda.
Once the installation is complete, the system will reboot. Log in using the root account.
Verify the installed version using the release command:
lsb_release -a
Update the package repositories to ensure the system is current:
apt update && apt upgrade
To verify network connectivity, check your IP address. It should be in the NAT range configured earlier (e.g., 10.0.0.x).
ip a