This is an old revision of the document!
Table of Contents
Part 1: How to Install and Setup Debian on a Virtual Machine
Installation
This page will show you how to install Debian OS on a VirtualBox Virtual Machine.
Note: The version we will be using is Debian 12.9.0 codenamed Bookworm.
1. Install Debian version 12.9.0 .iso file from the website www.debian.org.
2. Open Oracle VirtualBox.
3. Click on New.
4. Go under the Name and Operating System tab.
5. Type in the name of the OS which is Debian.
6. At ISO Image, click the drop down menu and click Other.
7. Choose the downloaded Debian .iso file.
8. Go under the Unattended Install tab.
9. Change the username and password to your liking.
10. Go under the Hardware tab. You can change the Base Memory and Processors according to your liking. We will keep it as is.
11. Go under the Hard Disk tab. You can change the hard disk space and other settings. We will keep it as is.
12. Click Finish.
13. Wait for the installation to finish.
14. After installation, it should look like this.
15. Click the username and sign in using the password you set before.
16. Debian OS is now installed successfully!
Enabling root and superuser on Debian
- Then, enter your user password as the Administrator's password. In my case, it is 1211112299. Once that is done, you should notice that the blue bar is gone.
- Save the file using Ctrl + O → Enter → Ctrl + X.
Congratulations, user megat now has sudo permissions!
Installing Windows Manager
Debian 12.9.0 comes preinstalled with GNOME desktop environment. The following steps will show you how to install another desktop environment.
- Login as usual.


























