13,420
edits
Changes
no edit summary
== INVESTIGATION 1: BASIC NETWORK CONFIGURATION (REVISITED) ==
Remember how you set up the network interfaces in your virtual machines in OPS235? You're expected to know that ''"inside-out"'' by now.
=== Checking Your Current Network Settings ===
In OPS235 have used the '''ifconfig''' and '''route''' commands. In this course we'll use the '''ip''' command instead (you're welcome to use the old commands but you're expected to know the new ones as well).
=== Making Persistent (Permanent) Network Setting Changes ===
If you change your network settings using the commands in the previous section, those changes will be lost if you restart your Linux machine.
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''
== INVESTIGATION 2: SSH ==
The default (and often the only way) to administer a Linux server is via SSH. Even if you work in a graphical Linux environment, it is very useful to open a terminal and use SSH to monitor and manage your VMs (you can resize the terminal window).
=== Managing Services ===
The SSH server should be installed and running in your VMs. If it's not installed - you can install '''openssh-server''' using yum.
=== SSH Keys ===
After performing lab7 in OPS235, you should have a basic understanding of ssh and public/private key cryptography to create secure connections between servers.<br>
== INVESTIGATION 3: BACKUPS ==
In OPS235, you learned to use the '''gzip''', '''gunzip''', and '''virsh dumpxml''' / '''virsh define''' commands to backup your virtual machines and the '''tar''' command as an archiving tool.
=== Scheduling Tasks with Cron (Automatic Backups) ===
'''Cron''' is a ''daemon'' (i.e. a program that runs in the background). The term ''"Cron"'' is short for '''Chronograph''' which was an old fashioned term for a '''stop watch''' or '''timer'''. The role of '''Cron''' is to run tasks periodically. It can run tasks for the system (as root) or for a user (including regular users).
'''Record steps, commands, and your observations in INVESTIGATION 2 in your OPS335 lab log-book'''
== COMPLETING THE LAB ==
[[Image:lab1_signoff.png|thumb|right|300px|Students should be prepared with '''all required commands (system information) displayed in a terminal (or multiple terminals) prior to calling the instructor for signoff'''.]]
'''Arrange evidence (command output) for each of these items on your screen, then ask your instructor to review them and sign off on the lab's completion:'''
:::*'''NOTE:''' When prompted for the network interface, use the '''virtual interface'''.
== EXPLORATION QUESTIONS ==
# Explain the major different between the '''ip''' and '''ifconfig''' commands.