Changes

Jump to: navigation, search

OPS235 Lab 3

164 bytes added, 03:50, 4 August 2020
m
no edit summary
'''Perform the following steps:'''
#Boot up your '''centos3''' VM.H
#Change your working directory to '''/usr/share/doc/sudo*'''
#Use the tar (tape archiver) command to create an archive file named "/tmp/archive1.tar" by issuing the following command:<br><b><code><span style="color:#3366CC;font-size:1.2em;">tar cvf /tmp/archive1.tar .</span></code></b>
#Change to the '''/tmp/extract1''' directory.
#Move the file '''archive1.tar.gz''' to your current directory.
#Unzip the first archive you created by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">gunzip ../archive1.tar.gz</span></code></b>#Extract the files from the first archive by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">tar xvf ../archive1.tar</span></code></b>
#Are all the files there?
#Compare '''/tmp/extract1/README''' and '''/usr/share/doc/sudo*/README'''. Are they exactly the same? Why?
# Verify that the elinks package has been removed. Also verify that the application called: '''xchat''' is not installed.
# Use the wget command to download the xchat rpm binary from the following URL:
::<b><code><span style="color:#3366CC;font-size:1.2em;">http://mirror.centos.org/centos/7/os/x86_64/Packages/xchat-2.8.8-2425.el7.x86_64.rpm</span></code></b><br>
::What do you think is the purpose of the numbers also contained in the filename?
<ol><li value="8">Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">yum localinstall xchat-2.8.8-2425.el7.x86_64.rpm</span></code></b></li>
<li>Verify that the '''xchat''' command has been installed.</li>
<li>Run the xchat application. What does it say if you run this application as root?</li></ol>
= LAB 3 SIGN-OFF (SHOW INSTRUCTOR) =
===Exclusively for Summer 2020 term, submissions are accepted only online!===
Follow the submission instructions for lab 3 on Blackboard.
{{Admon/important|Time for a new backup!|If you have successfully completed this lab, make a new backup of your virtual machines as well as your host machine.}}
[[Category:CentOS 7]]
[[Category:SSD2]]
[[Category:Digital Classroom]]

Navigation menu