0% found this document useful (0 votes)
23 views6 pages

CentOS 8 Installation Guide

This document provides a step-by-step guide for installing the CentOS operating system on a virtual machine. It includes detailed instructions on configuring network settings, selecting software, partitioning, setting root and user passwords, and completing the installation process. Additionally, it outlines the requirement to submit a screenshot of the completed installation for a lab assignment.

Uploaded by

qalbeabbas247
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views6 pages

CentOS 8 Installation Guide

This document provides a step-by-step guide for installing the CentOS operating system on a virtual machine. It includes detailed instructions on configuring network settings, selecting software, partitioning, setting root and user passwords, and completing the installation process. Additionally, it outlines the requirement to submit a screenshot of the completed installation for a lab assignment.

Uploaded by

qalbeabbas247
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CIT 171 Lab: CentOS Installation

In this lab, you will use your virtual machine to install the CentOS operating system. For instructions on
how to access your virtual machine, see the tutorials on Canvas.

CentOS Installation
1. Power on your CentOS VM.
2. Make sure “Install CentOS Stream 8-stream” is selected. You will have to click into the screen to
make and confirm your selection (note that your mouse will disappear during this step). If it isn’t
selected, use your arrow keys to highlight this option. Hit Enter.
3. At the next screen, the installation will go through numerous steps automatically. No action is
required on your part.
4. You should now see the “WELCOME TO CENTOS STREAM 8-stream” screen. On this screen, you
will select the language. It should be defaulted to English/English (United States). Click
Continue.
5. The next screen provides an installation summary. We will explore these options in the
following steps.
6. Under SYSTEM, click on NETWORK & HOST NAME
a. Next to Ethernet (near the upper right corner, under Help), click the button to toggle
from OFF to ON
b. Leave the default value for host name
c. Click Done
7. Under SOFTWARE, select INSTALLATION SOURCE*
a. If you are unable to click on this, click into INSTALLATION DESTINATION and click Done
in the upper left-hand corner
b. When you go back to the prior screen, you should now be able to click on INSTALLATION
SOURCE (it may say Closest Mirror or have a red error – you can ignore this)
8. Once inside of INSTALLATION SOURCE, make sure On the network: is selected as the installation
source and change the value closest mirror to https://
9. Keep URL type’s default value (repository URL)
10. Very carefully, type the following URL into the text field:
[Link]/8-stream/BaseOS/x86_64/os/
11. This is what your screen should look like:

12. Click Done to be taken back to the previous page.


13. Under SOFTWARE, click on SOFTWARE SELECTION. Under Base Environment, select
Workstation.

1
Revised: 12/19/23
a. Under Add-Ons for Selected Environment, select GNOME Applications, Graphical
Administration Tools, and System Tools.
b. Click Done. *It may take a few minutes for software dependencies to be checked. You
can proceed to the next step in the meantime.
14. Under SYSTEM, click INSTALLATION DESTINATION.
a. Under Storage Configuration, select Custom
b. Click Done.
15. You should now see the following screen:

16. Under the dropdown menu, change the default selection of LVM to Standard Partition.
17. Click on the + button to add a new mount point
a. Under Mount Point, select /
b. For Desired Capacity, enter 10G
c. Click Add mount point
d. Under File System, select ext4
18. Click on the + button
a. Under Mount Point, select /boot/efi
b. For Desired Capacity, enter 500M
c. Click Add mount point
d. Under File System, select EFI System Partition
19. Click on the + button

2
Revised: 12/19/23
a. Under Mount Point, select /home
b. For Desired Capacity, enter 2G
c. Click Add mount point
d. Under File System, select ext4
20. Click on the + button
a. Under Mount Point, select /var
b. For Desired Capacity, enter 4G
c. Click Add mount point
d. Under File System, select ext4
21. Click on the + button
a. Under Mount Point, select swap
b. For Desired Capacity, enter 4G
c. Leave all additional options at their default values
22. After adding the swap partition, your summary pane should look like the following (It’s ok if the
ordering of the partitions is different, so as long as the sizes and their options are correct.
Likewise, the numbers after sda may vary, which is also fine. Your remaining space may also
vary from the screenshot - this is also ok.):

23. After double-checking your partitions, click Done. A pop-up will appear. Click Accept Changes.
24. Click ROOT PASSWORD
a. For the root password, use cit171
b. Confirm the password and click Done
*Note: This is a weak password, but this will allow me to log into your VMs for

3
Revised: 12/19/23
troubleshooting. If you forget your root password, you will have to reinstall CentOS
Stream.
25. You can skip any other section not explicitly mentioned.
26. Click CREATE USER
a. Type in your full name
b. Accept the default user name that was created
c. Leave Make this user administrator unchecked
d. Check Require a password to use this account
e. Use cit171 as the password. Confirm and click Done.
27. Your Installation Summary page should now look like the following screenshot (but with your
username and Installation Source will say Closest mirror):

28. Click Begin Installation


29. Wait for the install process to finish. This will take at least several minutes. When completing
this lab during an in-class section, this could consume a large amount of time since the virtual
machine server is being taxed.
30. You should see an update confirming that the install is complete. Click Reboot System.

4
Revised: 12/19/23
31. Let the system reboot. Do not hit/click anything – the system will automatically proceed. In a
moment, you will be taken to an INITIAL SETUP page. Under LICENSING, click LICENSE
INFORMATION.
a. Check I accept the license agreement and click Done
32. Click FINISH CONFIGURATION
33. Login with your user credentials
34. Step through the GNOME initial setup settings
a. Accept the default values
b. Skip connecting any accounts
35. Once done, click Start Using CentOS Linux and begin exploring the OS! Be sure to take a
screenshot of your desktop to include as part of your lab submission.

Canvas “Quiz” Questions


1. Upload a screenshot of your CentOS installation. The screenshot must be legible. If you are
unsure of how to capture a screenshot, take a moment to Google this. Your screenshot should
include your username. To include this, click on the down arrow by the power icon. This is in
the upper-right corner of your screen. See the below screenshot as an example of what to
submit:

5
Revised: 12/19/23
6
Revised: 12/19/23

Common questions

Powered by AI

During the CentOS installation, the storage configuration should be set to 'Custom'. The default selection of LVM is changed to 'Standard Partition'. Specific partition settings include creating a root (/) partition with 10G and ext4 file system, a boot/efi partition with 500M and EFI System Partition, a home (/home) partition with 2G and ext4, a var (/var) partition with 4G and ext4, and a swap partition with 4G. These specifications ensure proper allocation and organization of storage resources according to the lab instructions .

The primary steps for installing CentOS Stream 8 on a virtual machine start with powering on the CentOS VM. Then, select 'Install CentOS Stream 8-stream' with the arrow keys and hit Enter. You will proceed through automatic installation steps until reaching the 'WELCOME TO CENTOS STREAM 8-stream' screen, where you select English as the language. In the installation summary, toggle the network from OFF to ON, leave the default host name, and then navigate through selecting the installation source, specifying it as a network source with the URL 'vault.centos.org/8-stream/BaseOS/x86_64/os/'. Choose 'Workstation' under software selection with add-ons like GNOME Applications, Graphical Administration Tools, and System Tools. Customize the storage configuration to use standard partitions with specified mount points and capacities. Create a root password 'cit171' and set up a user without administrator privileges. Finally, begin the installation, check licensing, and complete the initial GNOME setup .

The URL 'vault.centos.org/8-stream/BaseOS/x86_64/os/' is used as it points directly to the network source containing the necessary repository for fetching the CentOS installation packages. This ensures that the most relevant and appropriate files for setting up the operating system are sourced, facilitating a smooth and comprehensive installation process. Using this specific URL helps maintain version consistency and reliability of the OS installation .

Verifying partition sizes and settings is crucial during CentOS installation as it ensures that the system's storage is correctly allocated and formatted, preventing potential data loss or system errors. Double-checking partition configurations—like root, boot/efi, home, var, and swap—according to specified sizes and file systems affirms that the installation aligns with the planned system environment. This process not only confirms compliance with instructional guidelines but also aids in optimizing system performance by properly managing disk resources .

Skipping the configuration of extra sections during CentOS setup implies a strategic focus on simplicity and adherence to essential configuration steps necessary for functioning, as detailed in the installation guide. This approach minimizes complexity, reduces setup time, and concentrates efforts on the critical aspects like network settings, installation sources, and partition configuration. Although some advanced options are bypassed, it ensures alignment with the installation's core instructional objectives without overcomplicating the initial setup .

To take a compliant screenshot of the CentOS installation desktop for lab submission, one should ensure the screenshot is legible and includes the username. This involves clicking the down arrow by the power icon in the upper-right corner to display the username, which should be part of the screenshot. It is essential to use a reliable method or tool for capturing the screen image. The screenshot serves as evidence of successful installation and proper configuration, thus it is a key part of verifying the completion of lab requirements .

During the CentOS installation, the root password is set to 'cit171', a weak password enabling the instructor to access VMs if needed for troubleshooting. One must skip any other sections not explicitly mentioned and proceed to create a user account by providing full name and accepting the default username. 'Make this user administrator' remains unchecked while requiring a password for the account, using the same 'cit171' password. This setup ensures access while maintaining control over the installation environment .

Clicking 'Accept Changes' after reviewing the partition plan solidifies the partition configurations, making these changes permanent and marking them for execution. This step is crucial as it signifies approval of all custom partition decisions, such as size, mount point, and file system type. In the setup process, this indicates a transition from planning to implementation, affirming that the configuration aligns with the user's requirements and the instructional guidelines provided. Accepting changes ensures that the installation progresses with correct storage allocations, mitigating risks of errors later in the installation process .

During CentOS installation, the selection of add-ons under 'Software Selection' significantly influences the functionality and usability of the system. When installing under 'Workstation', the add-ons recommended include GNOME Applications, Graphical Administration Tools, and System Tools. These add-ons provide essential utilities for a graphical user interface, enhanced system management capabilities, and necessary tools for day-to-day operations. They collectively enhance the system's ease of use and ensure that users can manage and navigate the CentOS environment effectively .

The integration of GNOME initial setup significantly enhances the user experience post-CentOS installation by providing a user-friendly interface that guides users through essential configuration steps. Users are expected to accept default settings and skip connecting accounts, streamlining initial usage for a smooth start. This setup reduces the complexity for users, allowing them to quickly begin using CentOS with a consistent and familiar graphical interface, thereby minimizing potential usability hurdles typical with new operating systems .

You might also like