Changes

Jump to: navigation, search

OPS245 Lab 2 dev

473 bytes added, 16:39, 29 January 2023
Part 3: Installing from a Network using a Kickstart File
# <span style="background-color:yellow;">Repeat the steps as you did in the previous investigation ([https://wiki.cdot.senecacollege.ca/wiki/OPS245_Lab_2#Part_1:_Install_KVM_Virtualization_Application Investigation1 Part 1]) to '''stop and disable firewalld, start and enable nftables''' for this newly-created VM.</span>
# <span style="background-color:yellow;">Repeat the steps as you did with r9host post-install to '''turn off SELinux'''</span><br />
:::You'll notice something when you go to set '''SElinux''' to '''permissive'''. The kickstart file already did that for you. It could even have performed the switch from firewalld to nftables for you (but it didn't).# Remember that rhel3 is text-based interface only (no graphics). To recover from a blank screen, press a key (like the SPACE key) to return to the screen display.
# Issue the following command to obtain and record your rhel3 IPADDR in your lab2 logbook: <b><code><span style="background-color:yellow;">ip address show</span></code></b>
# Perform a <code><span style="background-color:yellow;">'''dnf update'''</span></code>. Notice you receive a message telling you the system is not registered with an entitlement server. That is because the kickstart file did not attach a subscription for you.
# Attach a subscription using the subscription-manager cli tool. This will register your system with Red Hat (using your Red Hat account) like we did in the installation for r9host, rhel1 and rhel2; just as a post installation task. Issue the following commands to set the system purpose (just like we did graphically through the installer):## sudo subscription-manager syspurpose role --set "Red Hat Enterprise Linux Server"# *** insert information about # sudo subscription and steps -manager syspurpose service-level --set "Self-Support"## sudo subscription-manager syspurpose usage --set "Production"# Now use the following command to attach a your subscription ***. Enter your Red Hat account credentials (which you created in Lab 1) when prompted:# Remember that rhel3 is text# sudo subscription-based interface only (no graphics). To recover from a blank screen, press a key (like the SPACE key) to return to the screen display.manager register# Try updating your system again with dnf
# Record the time taken to install, and compare this to the time taken by the previous installations in your lab2 logbook.

Navigation menu