- OPS335 -
Open System Application Server
This course teaches the maintenance and administration of a UNIX server using Linux. Students will learn to install configure, customize, test and maintain common services available on Linux servers.
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?
Lab Expectations: How to
Complete/Submit Your Labs?
Lab #00 Due by midnight Sep 13, 2010 Suggested Answers to Lab00
Lab #01 Due by midnight Sep 20, 2010 Suggested Answers to Lab01
Lab #02 Due by midnight Sep 27, 2010 Suggested Answers to Lab02
Lab #03 Due by midnight Oct 04, 2010 Suggested Answers to Lab03
Lab #04 Due by midnight Oct 11, 2010 Suggested Answers to Lab04
Lab #05 Due by midnight Oct 18, 2010 Suggested Answers to Lab05
Lab #06 Due by midnight Nov 08, 2010 Suggested Answers to Lab06
Lab #07 Due by midnight Nov 15, 2010 Suggested Answers to Lab07
Lab #08 Due by midnight Nov 22, 2010 Suggested Answers to Lab08
Lab #09 Due by midnight Nov 29, 2010 Suggested Answers to Lab09
Lab #10 Due by midnight Dec 06, 2010 Suggested Answers to Lab10
Unofficial Marks: Please check Blackboard.
Assignment List: Assignment #1-10%
Proposed Weekly Plan: Schedule
Lecture topics, notes and other stuff:
FINAL EXAM: Monday December 13, 11:30AM, Room S1208
Week #14: Dec 06,
Week #13: Nov 29,
- Quiz #2 today - worth 3% bonus
- Assignment #2 due today by 5:30pm. Email copy by midnight. Late assignments handed in on exam day (Monday) will count as 1 week late and be marked out of a maximum grade of B+.
- Review for exam.
- Semester is over - have a great Christmas break.... see (some of) you in January.
Introduction to SAMBA.
A good overview of SAMBA can be found on wikipedia.
SAMBA as a CLIENT
SAMBA as a SERVER
Week #12: Nov 22,
- Maximum Marks for Resubmitted Assignments:
- On time - maximum = 5.5
- Late 1 week - maximum = 5.0
- Late 2 weeks - maximum = 4.5
- Late 3 weeks - maximum = 4.0
- Late 4 weeks - maximum = 3.5
- Late 5 weeks - maximum = 3.0
- Late 6 weeks - maximum = 2.5
Week #11: Nov 15,
Week #10: Nov 08,
- Today's topic is NIS. For an overview read this Wikipedia article.
- Here is the home page for Linux NIS.
Week #9: Nov 01,
Week #8: Oct 25,
Week #7: Oct 18,
Week #6: Oct 11,
- Midterm test and assignment #1 due.
Week #5: Oct 04,
- This week we'll discuss web servers and the Apache web server specifically.
- Here is an example Apache httpd.conf configuration file.
- Here is the network diagram we did in class for lab05. First in Gnome Dia format and second as a png file.
Week #4: Sep 27,
Week #3: Sep 20,
- Finishing up with iptables.
- Short explaination of system logging.
- Suggested answers to lab00 are posted.
- Introduction to Domain Name System (DNS).
- Here's a picture of the country codes used in top level domains.
- Here's a document explaining how DNS works.
- A simple example showing a DNS query in action.
Week #2: Sep 13,
- This weeks topic is netfilter (iptables). Here is a short presentation I made.
- Netfilter has four tables:
- raw table
Allows us to turn off connection tracking (which can be a resource hog) on some packets
but not on others. For example, you could disable connection tracking on packets routed
through your machine and enable connection tracking on packets destined for your host.
iptables -t raw -A PREROUTING -d myhost.com -j ACCEPT
iptables -t raw -A PREROUTING -p tcp -j NOTRACK
- mangle table
- nat table
- filter table
Week #1: Sep 06,
- This weeks topic is Linux Networks. Here are some diagrams we'll discuss:
- And here's some Linux network setup commands you should learn:
- The output of ifconfig and route commands.
- ip, ping, iptables, host, dig, arp, traceroute, tracepath, ethtool
- I also explained the concepts behind
- Finally I gave a short demo on how to draw network diagrams using Gnome dia. In Fedora you can install dia using this command: yum install dia. Of course you have to become root first.
- Here are the dia files I created: ops335-w1.dia, ops335-w2.dia, and ops335-w3.dia
- Also, we learned how to configure a basic gateway in Linux:
- On the intranet PC run these commands:
- ifconfig eth0 10.0.1.2 netmask 255.255.255.0
- route add default gw 10.0.1.1
- On the gateway run these commands:
- ifconfig eth0:1 10.0.1.1 netmask 255.255.255.0
- echo 1 > /proc/sys/net/ipv4/ip_forward
- iptables -t nat -A POSTROUTING -p tcp -o eth0 -j MASQUERADE
- NOTICE When finished working in the lab please throw your trash into the garbage located outside the door. ALSO, please push your chair so the seat is under the table. Finally, power off your machine. These three actions will ensure the lab remains clean and tidy for others over the semester. Thanks.
- Lab tutor - Tue Section C - Andrew Moon (amoon2 AT LEARN)
- Lab tutor - Tue Section B - Vitaly Bluzmans (vbluzmans AT LEARN)
- Lab tutor - Wed Section A - Mike Kirton (mkriton AT LEaRN)
- Lab tutor - Wed Section D - Mike Kriton (mkirton AT LEARN)
- 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% bonus), two assignments (20%)
and one final exam (40%).
- What you should know from OPS235 & ULI101- please review
- How to partition a hard disk using fdisk
- How to format (mkfs) file systems
- How to work with the Logical Volume Manager (LVM)
- 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 cal, cat, chmod, clear, cp, cut, df, du, echo, file, find, fsck, grep, gunzip, gzip, head, id, ifconfig, iptables, ln, lpr, ls, man, mkdir, mkfs, mount, passwd, ping, ps, pwd, rm, route, service, scp, sort, ssh, tail, tar, touch, umask, umount, useradd, userdel, usermod, wc, whereis, which, who, yum
- How to configure a network interface using ifconfig
- How to use a Linux GUI such as GNOME or KDE
people always ask me about Linux.