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/18 06:23] 1211112299installation [2025/01/18 09:21] (current) 1211112299
Line 1: Line 1:
 ====== Part 1: How to Install and Setup Debian on a Virtual Machine ====== ====== 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.
 +-----
  
 ===== Installation ===== ===== Installation =====
 This section will show you how to install Debian OS on a VirtualBox Virtual Machine. This section 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.** **Note: The version we will be using is Debian 12.9.0 codenamed Bookworm.**
  
Line 51: Line 53:
 16. Debian OS is now installed successfully! 16. Debian OS is now installed successfully!
 \\ {{image_2025-01-16_034042770.png?nolink&600}} \\ {{image_2025-01-16_034042770.png?nolink&600}}
 +-----
 +===== 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.**
  
-===== Enabling root and superuser on Debian ===== +1. In the terminal, type: 
-This section will show you how to enable root account and superuser on Debian.+  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}}
  
-1. Click on Activities on the top left corner of the screen. You can also press the Windows key as a shortcut. {{image_2025-01-16_140330413.png?nolink}}+**Note: If you are unable to run sudo commands, follow the instructions on this [[root|link]].**
  
-2. Search for Settings and click on it. +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}}
-\\ {{image_2025-01-16_140456909.png?nolink}}+
  
-3. On the left pane, scroll down or search for Users and click on it. {{image_2025-01-16_140517967.png?nolink}}+3. Press Tab until Ok button is highlighted. {{image_2025-01-16_142733645.png?nolink}} Press Enter.
  
-4. On the blue bar at the top of the page, click Unlock+4. Wait for the installation to finish
-\\ {{image_2025-01-16_140545623.png?nolink&600}}+\\ {{image_2025-01-16_142827704.png?nolink&600}}
  
-5. Thenenter your user password as the Administrator's passwordIn my case, it is 1211112299. Once that is done, you should notice that the blue bar is gone.+5. Once the installation finishwe will try and switch to the Xfce desktop environmentClick the top right button on the screen. {{image_2025-01-16_142948053.png?nolink}}
  
-6. Now press Activities again, and search for Terminal. Click on it. +6. Click the power button. {{image_2025-01-16_143037961.png?nolink}}
-\\ {{image_2025-01-16_140920616.png?nolink}}+
  
-7. Try using a sudo command and see the results. +7. Click Log Out... 
-  sudo whoami +\\ {{image_2025-01-16_143047249.png?nolink}}
-\\ {{image_2025-01-16_140944452.png?nolink&600}} +
-\\ {{image_2025-01-16_141000786.png?nolink&600}} +
-\\ The user megat is not in the sudoers file, we need to change that.+
  
-8. Type the following command to go into root. **The command may not work without doing steps 1-5**. +8. Now, click your user
-  su root +\\ {{image_2025-01-16_143158773.png?nolink}}
-\\ {{image_2025-01-16_141354849.png?nolink&600}} +
-\\ Notice that ''megat@vbox'' changed to ''root@vbox''+
-\\ {{image_2025-01-16_141422924.png?nolink&600}}+
  
-9. Type this command to edit the sudoers file. +9. Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png?nolink}}
-  sudo visudo /etc/sudoers +
-\\ {{image_2025-01-16_141612910.png?nolink&600}}+
  
-10. Search for this line in the file: +10. Click Xfce Session.  
-  # User privilege specification +\\ {{image_2025-01-16_143301425.png?nolink}}
-\\ {{image_2025-01-16_141628075.png?nolink&600}} +
- +
-11. Add the following line to that section of the file. Note that you should replace ''megat'' with your username. +
-  megat    ALL=(ALL:ALL) ALL +
-\\ {{image_2025-01-16_141753705.png?nolink&600}} +
- +
-12. Save the file using ''Ctrl + O'' -> ''Enter'' -> ''Ctrl + X''+
- +
-13. Type this command to exit root. +
-  exit +
-\\ {{image_2025-01-16_141931069.png?nolink&600}} +
- +
-14. Type any sudo command again and see the difference. +
-  sudo whoami +
-\\ {{image_2025-01-16_142011640.png?nolink&600}} +
- +
-**Congratulations, your user 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.+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.1737181434.txt.gz · Last modified: 2025/01/18 06:23 by 1211112299

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki