Changes

Jump to: navigation, search

OPS245 Lab 1

339 bytes added, 22:56, 8 May 2022
Fixes Lab Script URL and updates ISO URLs.
*'''Name:''' c7host
*'''Boot media / Installation:''' CentOS 7 Full Install DVD (image file)
:::Use the links on the [https://mirror.senecacollege.ca/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso Download at Seneca Lab]:::[OPS245 | Course https://mirror.netflash.net/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso Download from Home Page]] to download the required ISO file.
*'''Disk space:''' 238GB
*'''CPUs:''' 1 CPU, 4 cores ('''Do not mix and match! Always use 1 CPU, and multiples of 2 for cores.''')
sudo yum install python3
</code>
<li><ul><li>Create a new file in your '''~/bin ''' directory called '''myreport.py'''</li>
<li>Since we haven't covered if statements in python yet, we won't be able to check if the user running the script is root. For now, we will have to trust ourselves to remember to use elevated permissions to run this script. We will correct this in lab 2.</li>
</ul></li>
# Make certain that your '''c7host''' VM is running, open the Bash Shell terminal.<br><br>
# Change to the '''~/bin''' directory.<br><br>
#Download the checking script by issuing the following Linux command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">wget https://ictraw.senecacollegegithubusercontent.cacom/~ops245OPS245/labs/main/lab1-check.bash</span></code></b><br><!--For Andrew's sections use this script instead:<br><b><code><span style="color:#3366CC;font-size:1.2em;">wget http://littlesvr.ca/ops245/lab1-check-andrew.bash</span></code></b>--><br>
# Give that downloaded shell script file execute permissions (for the file owner).<br><br>
# Run the shell script using '''sudo ''' and if there are any warnings, make fixes and re-run shell script until you receive a "congratulations" message.<br><br>
#Arrange evidence (command output) for each of these items on your screen:
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Proof that c7host VM is set for '''virtualization''' (Refer to: '''INVESTIGATION 1''' - '''Part 1''' - '''Step #29''')
#: 7. Take a screenshot of the evidence and upload it, the file generated by the lab1-check.bash script, your logbook, and your myreport.py to blackboard.
= Practice For Quizzes, Tests, Midterm &amp; Final Exam =
# Define the term Virtual Machine.
# List the major screens (steps) in the installation of Centos7 CentOS 7 full install DVD.
# What key-combination is used to toggle the view of your running VM from "window-mode" to "full-screen-mode"?
# List the steps for setting SELinux to permissive mode.

Navigation menu