Changes

Jump to: navigation, search

OPS235 Lab 6 - CentOS6

79 bytes removed, 16:41, 12 January 2014
Investigation 3: What files does the system-config-network GUI tool change?.
=== Investigation 3: What files does the <code>system-config-network</code> GUI tool change?. ===
{{Admon/note | Use fedora1 centos1 | Complete this investigation on your fedora1 centos1 VM.}}
{{Admon/note | Backing up Files |One very important aspect of system admin is performing backups. There are many methods for backing up the data on a a computer system.<br />The following is an example of a common backup system used in Business Unix/Linux systems:<br /><br />'''Full Backup''': Backup all specified files (eg. configuration, data files, etc)<br />'''Incremental Backup''': Backup of only files that have changed since last (full) backup<br /><br />When the system is required to be fully restored, then the '''full backup''' is recovered, followed by each .<br />In this investigation, you will learn how to perform an '''incremental backup''' using the <code>find</code> utility|}}
# Start the '''fedora1centos1''' VM and login# Before we configure fedora1 centos1 we should create a timestamp file that can be used to see which files have changed as a result of using the GUI tool.
#* <code>date > /tmp/timestamp</code>
# Run the network configuration tool and enter the following static configuration in the same way that you configured '''fedora2centos2'''.
#* IP Address: '''192.168.235.11'''
#* Subnetmask: '''255.255.255.0'''
#* DNS Server: '''192.168.235.1'''
# Save and exit the network configuration tool.
# Restart You may have to restart the NetworkManager servicenetwork using the correct command.# Verify the configuration by pinging fedora centos host ('''192.168.235.1''') and fedora2 centos2 ('''192.168.235.12''')# To verify that fedora1 has the correct default gateway configured, enter the command <code>route -n</code>
{{Admon/note | Creating an Incremental Backup |
:*Copy those configuration files to a "specified" directory for backup purposes
Previously, you created a file called <code>/tmp/timestamp</code> that just contains the current date and time prior to running the network configuration toool for fedora2.centos1. Any files that were modified by the GUI network configuration program should have a timestamp later (or newer) than the "timestamp" file you created. All the Linux TCP/IP configuration files are stored under the '''/etc''' directory or its sub-directories. The <code>find</code> command (using the correct options) can be used to only list those files that have been recently created since the timestamp date contained in the <code>/tmp/timestamp</code> file.|}}
<ol>

Navigation menu