13,420
edits
Changes
no edit summary
:'''Perform the following steps:'''
# Launch the '''VMware Workstation''' application.
:: '''CPUs:''' 1
:'''Perform the following steps:'''
{{Admon/important|Removing VMs|If for some reason you want to remove a Virtual Machine, they can right-click the VM, and select delete in the Virtual Machine Manager. It is recommended to '''"delete the image file" in the remove VM dialog box when removing and then recreating a VM'''. Note: If you fail to properly remove the VM image file, it may affect the hard disk size for the new VM (i.e. use the old smaller size. Make certain to remove that VM image file prior to recreating the VM. '''Sometimes, you may need to use the rm command to manually remove this file!'''}}
:: '''CPUs:''' 1
:'''Perform the following steps:'''
# Create the VM (called '''centos2''') as you did with the ''centos1'' machine, except for the following differences:<br><br><ol type="a"><li>Select '''Network Installation''' using the installation source URL displayed above.</li><li>When customizing your partitions, do the same operation that you did in centos2, but after automatically creating the partitions, reduce the size of the root LVM partition to '''8000 MB''' and add an LVM partition with a size of '''2000 MB''' (mount point: '''/home''', name: '''home''', and make certain root and /home partitions have '''ext4''' file system).</li><li>Don't forget to install the GNOME desktop here as you will need a GUI for Centos2<br><br></li></ol>
:: '''CPUs:''' 1
:'''Perform the following steps:'''
# Create the VM as you did with the ''centos2'' virtual machine, specifying a network install as before, but specify the kickstart location under the "options section" for network install. What do you think is the purpose of this kickstart file?
=== Part 2: Backing Up Virtual Machines ===
:'''Perform the following steps:'''
# Shut down your '''centos1''', '''centos2''', and '''centos3''' VMs.
You will continue our use of Bash Shell scripting by first creating a Bash Shell script that will allow the Linux sysadmin to select their created VMs for backup to root's home directory. Afterwards you will download, view and run a couple Bash Shell scripts that use the virsh command to start and stop your virtual machines.
:'''Perform the following steps:'''
# Start the '''centos1''' virtual machine, and stop the '''centos2''' and '''centos3''' virtual machines.
{{Admon/important|Backup ALL of your VMs!|If you have successfully completed this lab, make a new backup of all of your virtual machines onto your UBS Key.}}
:'''Perform the Following Steps:'''
# Make certain ALL of your VMs are running.