installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| installation [2025/01/18 06:23] – 1211112299 | installation [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? | \\ {{image_2025-01-16_034042770.png? | ||
| + | ----- | ||
| + | ===== 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 | + | sudo tasksel |
| + | \\ {{image_2025-01-16_142505681.png? | ||
| + | \\ Notice that the terminal | ||
| + | \\ {{image_2025-01-16_142514426.png? | ||
| - | 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? | + | **Note: If you are unable to run sudo commands, follow the instructions |
| - | 2. Search for Settings | + | 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? |
| - | \\ {{image_2025-01-16_140456909.png? | + | |
| - | 3. On the left pane, scroll down or search for Users and click on it. {{image_2025-01-16_140517967.png? | + | 3. Press Tab until Ok button is highlighted. {{image_2025-01-16_142733645.png? |
| - | 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? | + | \\ {{image_2025-01-16_142827704.png? |
| - | 5. Then, enter your user password as the Administrator' | + | 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? |
| - | 6. Now press Activities again, and search for Terminal. Click on it. | + | 6. Click the power button. {{image_2025-01-16_143037961.png? |
| - | \\ {{image_2025-01-16_140920616.png? | + | |
| - | 7. Try using a sudo command and see the results. | + | 7. Click Log Out... |
| - | sudo whoami | + | \\ {{image_2025-01-16_143047249.png? |
| - | \\ {{image_2025-01-16_140944452.png? | + | |
| - | \\ {{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? |
| - | \\ {{image_2025-01-16_141354849.png? | + | |
| - | \\ Notice that '' | + | |
| - | \\ {{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? |
| - | sudo visudo / | + | |
| - | \\ {{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? |
| - | \\ {{image_2025-01-16_141628075.png? | + | |
| - | + | ||
| - | 11. Add the following line to that section of the file. Note that you should replace '' | + | |
| - | megat ALL=(ALL: | + | |
| - | \\ {{image_2025-01-16_141753705.png?nolink&600}} | + | |
| - | + | ||
| - | 12. Save the file using '' | + | |
| - | + | ||
| - | 13. Type this command to exit root. | + | |
| - | exit | + | |
| - | \\ {{image_2025-01-16_141931069.png? | + | |
| - | + | ||
| - | 14. Type any sudo command again and see the difference. | + | |
| - | sudo whoami | + | |
| - | \\ {{image_2025-01-16_142011640.png? | + | |
| - | + | ||
| - | **Congratulations, | + | |
| - | + | ||
| - | ===== 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. | + | 11. Login as usual. |
| - | - In terminal, type '' | + | 12. Notice that your desktop looks different. You 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& |
| - | - 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 |
| - | - Once its installed, let's switch to the Xfce desktop environment. Click the top right button. {{image_2025-01-16_142948053.png? | + | |
| - | | + | |
| - | - Click Log Out...\\ {{image_2025-01-16_143047249.png? | + | |
| - | - Now, click your user.\\ {{image_2025-01-16_143158773.png? | + | |
| - | - Click the Gear icon on the bottom right corner. {{image_2025-01-16_143220215.png? | + | |
| - | - Click Xfce Session. {{image_2025-01-16_143301425.png? | + | |
| - | - Login as usual. | + | |
| - | - You have successfully changed your desktop environment!\\ {{image_2025-01-16_143425788.png? | + | |
installation.1737181434.txt.gz · Last modified: 2025/01/18 06:23 by 1211112299
