Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS7 - VMware

389 bytes added, 10:09, 7 June 2016
no edit summary
|}
#Boot-up your '''centos1''' VM. '''when the Grub Boot menu appears''', press the letter <b><code><span style="color:#3366CC;font-size:1.2em;">e</span></code></b> (for "edit").
#Using your arrow keys, scroll to next screen to '''linux''' , or '''linux16''', or '''linux-efi''' command and type the word <b><code><span style="color:#3366CC;font-size:1.2em;">single</span></code></b> as an argument after '''quiet''' (see diagram for reference) and then press <b><code><span style="color:#3366CC;font-size:1.2em;">ctrl-x</span></code></b> to boot.
#The system should boot into text-based mode. Enter your '''root''' password.
#One thing to look at is partition space usage. Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">df -h</span></code></b>
#Move the file '''archive2.tgz''' to the '''/tmp/extract2''' directory.
#Extract the files from the second archive:
#*<b><code><span style="color:#3366CC;font-size:1.2em;">tar xvzf /tmp/extract2/archive2.tgztar.gz</span></code></b>
#Note that this time a separate <b><code><span style="color:#3366CC;font-size:1.2em;">gunzip</span></code></b> command was not needed. Why?
#Repeat the previous command, leaving out the option '''z'''. Does it work? Why?
'''Perform the Following Steps:'''
# Make certain that your '''centos1 ''' and '''centos4 ''' VMs are running.# Switch to your <u>'''centos1 '''</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).
#What is the purpose of booting into single-user mode?
#List the steps in order to boot into single-user mode.#List the steps to reset a forgotten root password.
#What is the difference between a .tgz file and a .tar.gz file? What do these stand for?
#What is the purpose of a repository?
#How do you build software from source code?
#What does yum do that compiled source code does not?
#Other than running an installed package, what commands can you issue to verify that the package was installed?
#List the steps to remove a package via yum command.
#List the steps to install a package using the yum command.
#List the steps to add a repository to be used with yum.
#What is the command to list all repositories associated with the yum command?
#What is the command to view all repositories that have been added to-date?
#How do you use the '''sed''' command to modify text?
#What is the '''Here-Document''', and how can it be used in issuing command and shell scripting?
 
[[Category:OPS235]][[Category:OPS235 Labs]]
13,420
edits

Navigation menu