User Tools

Site Tools


installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installation [2025/01/16 06:45] 1211112299installation [2025/01/18 09:21] (current) 1211112299
Line 1: Line 1:
-======= Installation =======+====== Part 1: How to Install and Setup Debian on a Virtual Machine ====== 
 +This page will get you started on installing Debian OS using VirtualBox and let you install and switch to a desktop environment of your choosing. 
 +-----
  
-  - Install Debian version 12.9.0 .iso file from the website www.debian.org.\\ {{image_2025-01-16_025648033.png?300}} +===== Installation ===== 
-  - Open VirtualBox.\\ {{image_2025-01-16_030120704.png?600}} +This section will show you how to install Debian OS on a VirtualBox Virtual Machine
-  Click on New. {{image_2025-01-16_030935632.png}} +----- 
-  Go under the Name and Operating System tab.\\ {{image_2025-01-16_031118813.png?500}} +**Note: The version we will be using is Debian 12.9.0 codenamed Bookworm.**
-  - Type in the name of the OS which is Debian. {{image_2025-01-16_031334454.png}} +
-  - At ISO Image, click the drop down menu and click Other.\\ {{image_2025-01-16_031406909.png?500}} +
-  - Choose the downloaded Debian .iso file. {{image_2025-01-16_031653448.png}}\\ {{image_2025-01-16_031837248.png?500}} +
-  - Go under the Unattended Install tab.\\ {{image_2025-01-16_032143376.png?500}} +
-  - Change the username and password to your liking.\\ {{image_2025-01-16_032300008.png?500}} +
-  - Go under the Hardware tab. You can change the Base Memory and Processors according to your liking. We will keep it as is.\\ {{image_2025-01-16_032332155.png?500}} +
-  - Go under the Hard Disk tab. You can change the hard disk space and other settings. We will keep it as is.\\ {{image_2025-01-16_032812862.png?500}} +
-  - Click Finish. {{image_2025-01-16_033345621.png}} +
-  - Wait for the installation to finish.\\ {{image_2025-01-16_033409390.png?500}} +
-  - After installation, it should look like this.\\ {{image_2025-01-16_033539654.png?500}} +
-  - Click the username and sign in using the password you set before.\\ {{image_2025-01-16_033801639.png?500}} +
-  - Debian OS is now installed successfully!\\ {{image_2025-01-16_034042770.png?800}}+
  
-===== Enabling root and superuser on Debian =====+1. Install Debian version 12.9.0 .iso file from the website www.debian.org. 
 +\\ {{image_2025-01-16_025648033.png?nolink&200}}
  
-  - Click on Activities on the top left corner of the screenYou can also press the Windows key as a shortcut{{image_2025-01-16_140330413.png}} +2Open Oracle VirtualBox
-  - Search for Settings and click on it. {{image_2025-01-16_140456909.png?100}} +\\ {{image_2025-01-16_030120704.png?nolink&600}}
-  - On the left pane, scroll down or search for Users and click on it. {{image_2025-01-16_140517967.png}} +
-  - On the blue bar at the top of the page, click Unlock.\\ {{image_2025-01-16_140545623.png?500}} +
-  - 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. +
-  - Now press Activities again, and search for Terminal. Click on it. {{image_2025-01-16_140920616.png?100}} +
-  - Type ''sudo whoami'' and see the results.\\ {{image_2025-01-16_140944452.png}}\\ The user megat is not in the sudoers file, we need to change that.\\ {{image_2025-01-16_141000786.png}}  +
-  - Type ''su root'' to go into root.\\ {{image_2025-01-16_141354849.png}}\\ Notice that ''megat@vbox'' changed to ''root@vbox''.\\ {{image_2025-01-16_141422924.png}} +
-  - Type ''sudo visudo /etc/sudoers'' to edit the sudoers file.\\ {{image_2025-01-16_141612910.png}} +
-  - Search for the line ''# User privilege specification''.\\ {{image_2025-01-16_141628075.png}} +
-  - Add the line ''megat    ALL=(ALL:ALL) ALL''.\\ {{image_2025-01-16_141753705.png}} +
-  - Save the file using Ctrl + O -> Enter -> Ctrl + X. +
-  - Type ''exit'' to exit root.\\ {{image_2025-01-16_141931069.png}} +
-  - Type ''sudo whoami'' again and see the difference.\\ {{image_2025-01-16_142011640.png}}+
  
-**Congratulations, user megat now has sudo permissions!**+3. Click on New. {{image_2025-01-16_030935632.png?nolink}}
  
 +4. Go under the Name and Operating System tab.
 +\\ {{image_2025-01-16_031118813.png?nolink&600}}
 +
 +5. Type in the name of the OS which is Debian. {{image_2025-01-16_031334454.png?nolink}}
 +
 +6. At ISO Image, click the drop down menu and click Other.
 +\\ {{image_2025-01-16_031406909.png?nolink&600}}
 +
 +7. Choose the downloaded Debian .iso file.
 +\\ {{image_2025-01-16_031653448.png?nolink}}
 +\\ {{image_2025-01-16_031837248.png?nolink&600}}
 +
 +8. Go under the Unattended Install tab.
 +\\ {{image_2025-01-16_032143376.png?nolink&600}}
 +
 +9. Change the username and password to your liking.
 +\\ {{image_2025-01-16_032300008.png?nolink&600}}
 +
 +10. Go under the Hardware tab. You can change the Base Memory and Processors according to your liking. We will keep it as is.
 +\\ {{image_2025-01-16_032332155.png?nolink&600}}
 +
 +11. Go under the Hard Disk tab. You can change the hard disk space and other settings. We will keep it as is.
 +\\ {{image_2025-01-16_032812862.png?nolink&600}}
 +
 +12. Click Finish. {{image_2025-01-16_033345621.png?nolink}}
 +
 +13. Wait for the installation to finish.
 +\\ {{image_2025-01-16_033409390.png?nolink&600}}
 +
 +14. After installation, it should look like this.
 +\\ {{image_2025-01-16_033539654.png?nolink&600}}
 +
 +15. Click the username and sign in using the password you set before.
 +\\ {{image_2025-01-16_033801639.png?nolink&600}}
 +
 +16. Debian OS is now installed successfully!
 +\\ {{image_2025-01-16_034042770.png?nolink&600}}
 +-----
 ===== Installing Windows Manager ===== ===== Installing Windows Manager =====
 +The following steps will show you how to install another desktop environment. We will be utilizing [[tasksel|tasksel]].
 +-----
 +**Note: Debian 12.9.0 comes preinstalled with GNOME desktop environment.**
 +
 +1. In the terminal, type:
 +  sudo tasksel
 +\\ {{image_2025-01-16_142505681.png?nolink&600}}
 +\\ Notice that the terminal will look like this.
 +\\ {{image_2025-01-16_142514426.png?nolink&600}}
 +
 +**Note: If you are unable to run sudo commands, follow the instructions on this [[root|link]].**
 +
 +2. We want to install the Xfce desktop environment. Navigate the menu using up and down key. Press space to mark Xfce for installation. Make sure there is the (*) symbol. {{image_2025-01-16_142655265.png?nolink}}
 +
 +3. Press Tab until Ok button is highlighted. {{image_2025-01-16_142733645.png?nolink}} Press Enter.
 +
 +4. Wait for the installation to finish.
 +\\ {{image_2025-01-16_142827704.png?nolink&600}}
 +
 +5. Once the installation finish, we will try and switch to the Xfce desktop environment. Click the top right button on the screen. {{image_2025-01-16_142948053.png?nolink}}
 +
 +6. Click the power button. {{image_2025-01-16_143037961.png?nolink}}
 +
 +7. Click Log Out...
 +\\ {{image_2025-01-16_143047249.png?nolink}}
 +
 +8. Now, click your user.
 +\\ {{image_2025-01-16_143158773.png?nolink}}
 +
 +9. Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png?nolink}}
 +
 +10. Click Xfce Session. 
 +\\ {{image_2025-01-16_143301425.png?nolink}}
  
-Debian 12.9.0 comes preinstalled with GNOME desktop environment. The following steps will show you how to install another desktop environment.+11Login as usual.
  
-  - In terminal, type ''sudo tasksel''.\\ {{image_2025-01-16_142505681.png}}\\ Notice that the terminal will look like this.\\ {{image_2025-01-16_142514426.png?500}} +12. Notice that your desktop looks differentYou have successfully changed your desktop environment! 
-  - We want to install the Xfce desktop environment. Navigate the menu using up and down key. Press space to mark Xfce for installation. Make sure there is the (*) symbol. {{image_2025-01-16_142655265.png}} +\\ {{image_2025-01-16_143425788.png?nolink&600}} 
-  - Press Tab until Ok button is highlighted. {{image_2025-01-16_142733645.png}} Press Enter. +----- 
-  - Wait for the installation to finish.\\ {{image_2025-01-16_142827704.png?500}} +Now you are all set and ready to explore your very own Debian OS!
-  Once its installed, let's switch to the Xfce desktop environment. Click the top right button. {{image_2025-01-16_142948053.png?150}} +
-  Click the power button. {{image_2025-01-16_143037961.png}} +
-  - Click Log Out...\\ {{image_2025-01-16_143047249.png?300}} +
-  - Now, click your user.\\ {{image_2025-01-16_143158773.png?300}} +
-  - Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png?80}} +
-  - Click Xfce Session. {{image_2025-01-16_143301425.png?200}} +
-  - Login as usual. +
-  - You have successfully changed your desktop environment!\\ {{image_2025-01-16_143425788.png?800}}+
installation.1737009914.txt.gz · Last modified: 2025/01/16 06:45 by 1211112299

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki