Bookmark this page

Guided Exercise: Install Red Hat Enterprise Linux

Reinstall one of your servers with a minimal installation of Red Hat Enterprise Linux.

Outcomes

  • Manually install Red Hat Enterprise Linux 9.

As the student user on the workstation machine, use the lab command to prepare your system for this exercise.

This command prepares your environment and ensures that all required resources are available.

[student@workstation ~]$ lab start installing-install

Instructions

  1. Access the servera console and reboot the system into the installation media.

    1. Locate the servera console icon in your classroom environment. Open the console.

    2. To reboot, send Ctrl+Alt+Del to your system by using the relevant keyboard, virtual, or menu entry.

    3. When the boot loader menu appears, select the Install Red Hat Enterprise Linux 9 menu entry.

  2. Keep the default selected language and click Continue.

  3. Click Network & Host Name to configure the network.

    1. Enter servera.lab.example.com in the Host Name field and then click Apply.

    2. Click Configure and then click the IPv4 Settings tab.

    3. Enter the following details:

      FieldValue
      Address 172.25.250.10
      Netmask 24
      Gateway 172.25.250.254
      DNS servers 172.25.250.254

      Note

      Because Red Hat Enterprise Linux is already installed on the servera.lab.example.com machine, the values for each of the required fields exist. For a clean server, you must complete this information.

    4. Click Save to save the network configuration, and then click Done.

  4. Click Installation Source to configure the network installation source.

    1. Select the On the network option.

    2. Enter content.example.com/rhel9.3/x86_64/dvd in the network field.

    3. Click Done.

  5. Click Installation Destination to select the installation disk.

    1. Select the vda disk and then click Done.

    2. On the next page, click Reclaim space.

      Note

      The /dev/vda disk already has partitions and file systems from the previous installation. With this selection, you can wipe the disk for the new installation.

    3. Click Delete all, and then click Reclaim space.

  6. Click Software Selection, select Minimal Install from the Base Environment list, and then click Done.

  7. Set redhat as the password for the root user.

    1. Click Root Password and enter redhat in the Root Password field.

    2. Enter redhat in the Confirm field.

    3. Click Done twice because the password fails the dictionary check.

  8. Add the student user and set student as the password.

    1. Click User Creation.

    2. Enter student in the Full Name field. The User name field automatically fills student as the username.

    3. Select Make this user administrator to enable the student user to use the sudo command to run commands as the root user.

    4. Enter student in the Password field.

    5. Enter student in the Confirm password field.

    6. Click the Done button twice because the password fails the dictionary check.

  9. Click Begin Installation.

  10. Click Reboot System when the installation is complete.

  11. When the system displays the login prompt, log in as the student user.

  12. After you validate the installation, reset the servera machine from the web page of the classroom environment.

Finish

On the workstation machine, change to the student user home directory and use the lab command to complete this exercise. This step is important to ensure that resources from previous exercises do not impact upcoming exercises.

[student@workstation ~]$ lab finish installing-install

Revision: rh134-9.3-5fd2368