Changes

Jump to: navigation, search

OPS235 Lab 3 - CentOS6

80 bytes removed, 12:30, 24 September 2018
no edit summary
[[Category:OPS235]]
{{Admon/caution|Draft LabTHIS IS AN OLD VERSION OF THE LAB|'''This lab has NOT been released for regular distributionis an archived version. When the lab is ready to be released, Do not use this caution banner will disappearin your OPS235 course.'''}}
=Logical Volume Management and Software Package Management=
# Issue the following command: <code>rpm -e lynx</code>
# Issue an RPM query to verify that lynx is no longer installed. Record this command in your lab log-book.
# Move to the appropriate sub-directory for packages that begin with the letter '''b'''.# Issue the following command: <code>rpm -i elinks-0.12-0.21.pre5.el6_3.x86_64.rpm</code> and note the result. Did it work? Explain in your lab log-book why this command may not have worked.
'''Answer the Investigation 2 observations / questions in your lab log book.'''
Because we're using LVM though - we can avoid that. We can add a new harddrive (which will serve as a physical volume) to the volume group, and extend the root logical volume to make use of the new available space.
'''Perform the following operations to increase the size of lv_root in centos33centos3:'''
<u>'''<font>Steps:</font>'''</u>
vgextend vg_centos3 /dev/vdb
lvextend -l L +100%FREE 2G -r vg_centos3/lv_root</code>
<li>Now rerun the ls/pvs/vgs/lvs/df commands. What has changed and what caused those changes?</li>
<li>Among the changes, note that your root filesystem is now 2GB bigger - and you have not even rebooted your machine!</li>
'''Arrange evidence for each of these items on your screen, then ask your instructor to review them and sign off on the lab's completion:'''
# elinks installed application removed on the host (disk pack - main system c6host).
# Unnecessary/unused packages have been deleted (list at least 4, and show that they are no longer installed).
# Fresh backup of the virtual machines.

Navigation menu