Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7 - SSD

No change in size, 12:30, 11 June 2016
no edit summary
One method to help prevent running out of hard disk space is to compress or '''archive''' files so they take up less space on your computer system. Archiving files is also a popular method to '''bundle files together''' into one smaller file for fast transfers to other computer servers.
#Boot up your '''centos4centos3''' VM.
#Change your working directory to '''/usr/share/doc/sudo*'''
#Use the tar (tape archiver) command to create an archive file named '''/tmp/archive1.tar'''
==Part 2: Restoring Files From an Archive==
#Remain in your '''centos4centos3''' VM.
#Create the directory '''/tmp/extract1'''
#Change to the '''/tmp/extract1''' directory.
'''Perform the Following Steps:'''
# Make certain that your '''c7host''' and '''centos4centos3''' VMs are running.
# Switch to your <u>'''c7host'''</u> machine, open a shell terminal, and login as root.
# Issue the Linux command: <b><code><span style="color:#3366CC;font-size:1.2em;">wget http://matrix.senecac.on.ca/~murray.saul/ops235/lab3-check.bash</span></code></b>
# Give the '''lab3-check.bash''' file execute permissions (for the file owner).
# Run the shell script and if any warnings, make fixes and re-run shell script until you receive "congratulations" message.
#Arrange proof of the following on the screen:<br><span style="color:green;font-size:1.5em;">&#x2713;</span> '''centos4centos3''' VM:<blockquote><ul><li> Archived files '''created'''</li><li>Archive files '''restored'''</ul></blockquote><span style="color:green;font-size:1.5em;">&#x2713;</span> '''c7host''' Machine:<blockquote><ul><li> '''One repository added''' for yum</li><li>Output from running the '''lab3-check.bash''' script with all OK messages</li></ul></blockquote><span style="color:green;font-size:1.5em;">&#x2713;</span> '''Lab3''' log-book filled out.
13,420
edits

Navigation menu