- OPS335 -
Open System Application Server
This course teaches the maintenance and administration of a UNIX server
using Linux. Students will learn to install and upgrade the operating
system software, set up user accounts, back up and restore files,
install and configure servers, monitor network traffic and recover from
During this semester you will have to complete about 10 labs, 2
assignments, 1 midterm test, and 1 final exam. This is the place where
I will post information you will need. Please visit this page often.
Course Outline: OPS335
Text: Linux Administration Handbook,
2nd Edition by Evi Nemeth, Garth Snyder and Trent R. Hein, ISBN
0131480049, Published by Prentice Hall
Academic Policies: My Academic
Assignment Expectations: How
to Prepare Assignments?
Resubmit Procedures: How to
Lab Expectations: How to
Complete/Submit Your Labs?
Lab #00 Due by midnight Jan 22, 2009 Answer to Lab #00
Lab #01 Due by midnight Jan 29, 2009 Answer to Lab #01
Lab #02 Due by midnight Feb 05, 2009 Answer to Lab #02
Lab #03 Due by midnight Feb 12, 2009 Answer to Lab #03
Lab #04 Due by midnight Feb 19, 2009 Answer to Lab #04
Lab #05 Due by midnight Feb 26, 2009 Answer to Lab #05
Lab #06 Due by midnight Mar 19, 2009 Answer to Lab #06
Lab #07 Due by midnight Mar 26, 2009 Answer to Lab #07
Lab #08 Due by midnight Apr 02, 2009 Answer to Lab #08
Lab #09 Due by midnight Apr 09, 2009 Answer to Lab #09
Lab #10 Due by midnight Apr 16, 2009 Answer to Lab #10
Unofficial Marks: grades so far
Assignment List: Assignment #1-5% Assignment #2-10%
Proposed Weekly Plan: Schedule
Lecture topics, notes and other stuff:
Week # 14: Apr 14,
Week # 13: Apr 7,
- Class did Quiz #2. Here are the suggested answers:
Week # 12: Mar 31,
Week # 11: Mar 24,
Week # 10: Mar 17,
Week # 9: Mar 10,
- Students filled out Seneca feedback forms.
- Midterm test returned.
- This weeks topic is NFS - Network File Systems.
- We'll also talk about autofs.
Week # 8: Mar 2,
- Midterm Test.
- Assignment #1 Returned.
- NOTE: This Friday we'll do the SAMBA lab.
Week # 7: Feb 24,
Week # 6: Feb 17,
- Assignment #1 collected. Please email your ODT file before midnight tonight.
- Students will do QUIZ #1 - worth 2%.
- Introduction to SAMBA. A good overview of SAMBA can be found on wikipedia.
- Here are some iptables examples.
- And an iptables flowchart.
Week # 5: Feb 10,
Week # 4: Feb 3,
- This weeks topic is Linux Networks. Here are some diagrams we'll discuss:
Week # 3: Jan 27,
- Assignment #1 is now on-line. Due date is Feb 24.
- Today's topic is Linux startup.
- Power on - Code in ROM BIOS finds and loads 1st stage loader from boot device (MBR)
- 1st stage loader finds and loads 2nd stage loader (GRUB)
- 2nd stage loader finds and loads Linux kernel and initial ram disk
- kernel checks the system hardware, mounts the root device and loads the needed kernel modules
- kernel runs init program (PID=1)
- System V method for starting Linux
- init reads /etc/inittab to get default run level
- init runs rc
- rc runs runlevel scripts
- Newer versions of Linux now use upstart instead of System V init.
- Runs scripts in parallel
- Event driven
- BSD init does not use /etc/inittab file.
- No run levels.
- rc file determines what scripts to run.
- More info on init can be found on Wikipedia
Week # 2: Jan 20,
- Today we'll review file systems and containers (files, partitions) in which to put them.
- I'll show how we can use the dd command to copy an entire hard drive or to zero out a drive thereby destroying all data on it.
- The rest of the lecture will be about LVM (Logical Volume Management). I explained a little about lab #2.
- I will also explain the difference between the cp command and the mv command. Especially when the source and destination are on different file systems.
- To see how long a command takes we can use the time command.
- I will also explain how the command tune2fs can be used to set parameters inside the superblock of a file system. For example, maximum mount count, current mount count, LABEL and UUID.
- I will use the uuidgen command to generate a unique UUID and explaine how UUIDs can simplify your life in cases when you have to add another HD to your system.
Week # 1: Jan 16,
- Today we'll discuss three important concepts:
- File Systems: ways of arranging data for easy and efficient access. eg. ext2, ext3, fat, ntfs, reiserfs, xfs, minix, etc. We use the command, mkfs, to create (format) a file system. fsck is used to check a file system. mount and umount are used to connect a FS to our current tree.
- Containers: every FS needs a container, such as a HD partition, a file inside another FS, space in RAM or a logical volume.
- Virtual File System: or VFS is a software layer that allows users to seemlessly use many FS at the same time. eg. copying a file from one FS to another.
- Lab #1 will cover some of this material in more detail.
- TestDisk is a nice tool for recovering partition tables and fixing other disk problems.
Week # 1: Jan 13,
- Lab tutor for section A is Reaz (rahmed7)
- Lab tutor for section B is Ka (kc3lee)
- Here are some common errors students
make when doing their labs.
- Please read my Policies and Procedures. You can find links to
them at the top of this page.
- Labs, assignments, tests, grading. We'll have about 10 labs
(10%), one midterm test (30%), two quizzes (5%), two assignments (15%)
and one final exam (40%).
people always ask me.
- Here's a picture of the initial
menu displayed on the PCs in lab T2107. The PCs are preloaded with
Fedora - that's what we'll be using this semester. Also, each PC has
a data recovery card installed which will restore the original image on
each boot. You will not be using your own hard drive this semester - at
least for this course you won't.
- What you should know from OPS235 - please review
- How to partition a hard disk using fdisk
- How to navigate a file system tree using cd
- How to use the vi editor
- How to add/remove user accounts using useradd/userdel
- How to add/remove software packages using rpm and yum
- How to change file/directory permissions using chmod
- How to mount/unmount file systems using mount/umount
- How to use file redirection with > and <
- How to use pipes with |
- How to use basic commands such as cp, cat, echo, ls, mkdir,
rm, touch, wc, head, tail, chmod, ln, find, sort, cut, grep, gzip,
gunzip, tar, file, df, du, pwd, who, cal, passwd, whereis, which,
umask, id, clear
- How to configure a network interface using ifconfig
- How to use a Linux GUI such as GNOME or KDE