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:34] – [Installing Windows Manager] 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}}
- +-----
-===== Enabling root and superuser on Debian ===== +
-This section will show you how to enable root account and superuser on Debian. +
- +
-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}} +
- +
-2. Search for Settings and click on it. +
-\\ {{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}} +
- +
-4. On the blue bar at the top of the page, click Unlock. +
-\\ {{image_2025-01-16_140545623.png?nolink&600}} +
- +
-5. 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. +
- +
-6. Now press Activities again, and search for Terminal. Click on it. +
-\\ {{image_2025-01-16_140920616.png?nolink}} +
- +
-7. Try using a sudo command and see the results. +
-  sudo whoami +
-\\ {{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**. +
-  su root +
-\\ {{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. +
-  sudo visudo /etc/sudoers +
-\\ {{image_2025-01-16_141612910.png?nolink&600}} +
- +
-10. Search for this line in the file: +
-  # User privilege specification +
-\\ {{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 ===== ===== Installing Windows Manager =====
-The following steps will show you how to install another desktop environment. +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.** **Note: Debian 12.9.0 comes preinstalled with GNOME desktop environment.**
  
Line 117: Line 65:
 \\ {{image_2025-01-16_142514426.png?nolink&600}} \\ {{image_2025-01-16_142514426.png?nolink&600}}
  
-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}}+**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. 3. Press Tab until Ok button is highlighted. {{image_2025-01-16_142733645.png?nolink}} Press Enter.
  
 4. Wait for the installation to finish. 4. Wait for the installation to finish.
-\\ {{image_2025-01-16_142827704.png?600}}+\\ {{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}}+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}}+6. Click the power button. {{image_2025-01-16_143037961.png?nolink}}
  
 7. Click Log Out... 7. Click Log Out...
-\\ {{image_2025-01-16_143047249.png}}+\\ {{image_2025-01-16_143047249.png?nolink}}
  
 8. Now, click your user. 8. Now, click your user.
-\\ {{image_2025-01-16_143158773.png}}+\\ {{image_2025-01-16_143158773.png?nolink}}
  
-9. Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png}}+9. Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png?nolink}}
  
 10. Click Xfce Session.  10. Click Xfce Session. 
-\\ {{image_2025-01-16_143301425.png}}+\\ {{image_2025-01-16_143301425.png?nolink}}
  
 11. Login as usual. 11. Login as usual.
  
 12. Notice that your desktop looks different. You have successfully changed your desktop environment! 12. Notice that your desktop looks different. You have successfully changed your desktop environment!
-\\ {{image_2025-01-16_143425788.png?600}}+\\ {{image_2025-01-16_143425788.png?nolink&600}} 
 +----- 
 +Now you are all set and ready to explore your very own Debian OS!
installation.1737182052.txt.gz · Last modified: 2025/01/18 06:34 by 1211112299

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki