Open main menu

CDOT Wiki β

Changes

OPS245 Lab 2 dev

683 bytes added, 14:34, 29 January 2023
Part 1: Installing VM from a Network (Graphical)
# When prompted, enter your password.
# Click the '''create a new VM icon''' located near the top left-corner of the application window.
# Select the '''Local Installmedia''' option and click '''Forward'''.
# Enter (copy and paste) the URL located at the top of this section (depending whether you are at Seneca College or not) and click '''Forward'''.
# Set RAM size to 2048 MB and CPUs to 2, then click '''Forward'''.
# Set Hard Disk size to 15GB and click '''Forward'''.
# <span style="background-color:yellow;">Enter the name: '''centos1rhel1''', <u>AND</u> then select the option: '''Customize configuration before install''', and click '''Finish'''.</span># <span style="background-color:yellow;">Another dialog will appear. Click '''CPUs''' (or "processors") and on right-side under Configuration confirm '''Copy Host CPU Configuration is selected. If it not, select '''Copy Host CPU Configuration''', click '''Apply''', and then click '''Begin Installation''' at the top left-hand side.</span>#<span style="background-color:yellow;">During Under software select the following</span>## Click on "Connect to Red Hat"### Ensure "Account" is selected beside '''Authentication''' and enter the install, User name and Password for your Red Hat account.### Check '''Set System Purpose''' and select the following#### Role: Red Hat Enterprise Linux Server#### SLA: Self-Suppport#### Usage: Production#### Ensure "Connect to Red Hat Insights is selected.### Click '''Gnome DesktopRegister''' (# <span style="background-color:yellow;">Go to software selection)and select '''Server with GUI'''. For partitioning, Do not select any additional software.</span># <span style="background-color:yellow;">Click on '''I will configure partitionsInstallation Destination''' settings, ensure '''Automatic''' is selected under '''Storage Configuration''' and click done, then select '''Done'''</span># <span style="background-color:yellow;">Click here to create them automaticallyon '''Root Password'''. Set the / partition for (note it shows '''ext4Root account is disabled''' filein red and set the root password.</span># <span style="background-system type, and click color:yellow;">Click on '''DoneUser Creation'''and create your regular user account. Make sure you check the box to make them an administrator.</span>#<span style="background-color:yellow;">Set the correct '''Date and Time Zone''', and then click on '''Network and Hostname'''. The network should be turned '''ON'''. For hostname, enter: '''centos1rhel1''' and then click '''Done'''.</span># <span style="background-color:yellow;">Make sure that when you create your regular user account you check the box to make them an administrator.</span>
# <span style="background-color:yellow;">Complete the installation. Login to your regular user account, and perform a '''sudo yum update''' for the centos1 VM (reboot if required). Make certain to adjust your screen-saver settings if desired.</span>
<br>
{{Admon/important|Use same root password / regular username / regular user passwords for c7host r9host and ALL VMs|To simplify the lab checking process make certain that you use the identical root password, regular username, and regular username password for VMs that you create in this labs as you did for c7host r9host machine in lab1.<br><br>}}
<br>
<ol><li value="14"><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, disable and remove firewalld, install iptables-services, start and enable iptablesnftables''' for this newly-created VM.</span></li><li><span style="background-color:yellow;">Repeat the steps as you did with c7host r7host post-install to '''turn off (permissive) SELinux''' and perform a '''yum update'''.</span></li>
<li>Issue the following command to obtain the IPADDR for your centos1 VM to record in your lab2 logbook: <b><code><span style="color:#3366CC;font-size:1.2em;">ip address show</span></code></b></li>
<li>Record the time taken to install, and compare this to the time taken by the previous installations in your lab2 logbook.</li>