8bitb.com

Fall (2013)

Fall (2010)



































Beta ---- Spring (2013)

New site ---- Spring (2013)


Quick links

DMACC
DMACC webmail
Safari login
Redhat Network login
Redhat Academy login
Blackboard















wsx3



















































































































































































Old site ---- Fall (2012)







New site ---- Summer (2012)







































































































































































































































































































































































































































































































































































































































































































































































































































Syllabi

General policies for all classes
CIS 210 Web Development I
CIS 178 Java I
NET 144 Digital and Computer Electronics
NET 402 Linux Network Administration
NET 412 Linux System Administration
NET 435 Linux Programming for Admin
NET 512 Linux Enterprise Administration I

Reference books

Kickstart
BIND v9
RHE6 Deployment
RHE6 Logical Volume Manager
RHE6 Security Guide
RHE6 Security Enhanced Linux
DNS for Rocket Scientists
LDAP for Rocket Scientists
LDAP Blog

Books

The book of VIM
DNS
Email
Setting up a minimal website
Issues
arduino

Class procedures

Linux System Admin

Videos

Learning to count
Binary to Hex
Processor Basics Part 1
Processor Basics Part 2
Processor Speed
Processor Adding
Digital Part 1
Digital Part 2
Digital Part 3
Digital Part 4

Evaluations

Java

DUE DATE (Thursday Oct 20th)

  1. Create a user class that has fname, mname, lname, uname, passwd.
  2. Constructor that can be passed fname, mname, lname that will initialize uname.
  3. Method to get uname
  4. Method to set fname, mname, lname
  5. Method to set password which must be min of 8 max of 12 characters, 2 upper, 2 lower, 2 numeric, 2 special
  6. Method to get passwd

Assignment (DUE Nov 10)

  1. Create a program that allows a user to enter a hostname, ip address, subnet mask in a GUI jframe.
  2. Code handlers for hostname, ipaddress and subnet mask. ( 3 handlers )
  3. All handlers display the value that was entered for debugging.
  4. ** Work on validating IP address in IP handler using regular expresssion.
  1. Start working on ideas for creating a GUI calculator that can add, sub, mult, div. This will be one of the end of class projects.

Linux Administration

  1. Create users and groups. Add users to groups
  2. Configure directory and file permissions.
  3. Use chmod and chown
  4. Set SUID, SGID, and sticky bits.
  5. Create and manage symbolic and hard links
  6. Create corp tree where access to directories is based on group membership
  7. Start and stop services using the service command
  8. Schedule services to start on boot using the chkconfig command
  9. Create web site that has the following
    1. Links on the same page
    2. Links to a different page
    3. Links to a different site
    4. Write step by step procedure on how to install GUI and TUI servers.
      1. Must have top level menu with links to sections that have links back to the top level menu.
      2. Document how to set up networking using dhcp for GUI.
      3. Document how to set up static networking using for TUI.
      4. Document what packages to select.
      5. Document what optional packages to select.
  10. Configure rsyslog
    1. man rsyslog.conf and know facility and levels
    2. Configure /etc/rsyslog.conf
    3. Be able to log specified facility.level to a specified file
    4. Test rsyslogd with logger
  11. Create bash script that has parent menu that can invoke child menu(s).
    1. Be able to search for all configuration file changes using find and grep
  12. Backups using tar
  13. Backups using rsync
  14. ssh and scp to other students machine
  15. ssh scp to other students machine without password
  16. Manage CRON jobs
  17. Create script that tars home directory and scp to other students machine as a cron job without having to enter a password.

Linux System Administration

  1. Prepare physical drives for LVM
  2. Creating logical groups and volumes
  3. Extend and reduce mounted volumes
  4. Creating swap files
  5. Creating LUKS partitions
  6. Configure rsyslog to log all possible facility and priority levels to a unique file for only that specific facility and priority. Create a script that uses logger to test. In the script log each possible facility.priority and then use grep to verify that the message was written to the expected file. Display success or fail to stdout.
  7. Write a cron job that does a yum update at 2:00 am every night.
  8. Work with setfacl and getfacl
    1. DNS
    2. Register Domain Name
    3. Create parent child menu where DNS child menu will:
      1. Configure host to use my DNS server
      2. Backup cache only DNS server files in /etc and /var/named (Listen on localhost)(DHCP Default)
      3. Backup cache only DNS server (Listen on configured IP)
      4. Copy sample DNS files to /etc and /var/named
      5. Backup DNS server (Listen on configured IP) (Has A records and MX records)
      6. Restore host to use itself as cache only DNS server (Listen on localhost)
      7. Restore host to use itself as cache only DNS server (Listen on configured IP)
      8. Restore host to use itself as DNS server (Listen on configured IP) (Has A records and MX records)
      9. Dig
      10. Ping google.com

Webdev

  1. Eval Thursday October 27
    1. Cookie to read and write more than 1 key value pair
    2. Modify the DOM using innerHTML
  2. XML Project (DUE Nov 10)
    1. Create XML file to markup data for selected data object (For example, football teams)
    2. Create DTD and check XML file using xmllint (Must be well formed and valid)
    3. Create XSL file to display XML file in a HTML table.
    4. Create a press release of your web page as a RSS feed.
  3. MYSQL (EVAL Dec 1)
    1. Create database with customer and demographics table
    2. Perform SQL queries on customer and demographics tables.
    3. Perform SQL join on customer and demographics tables.
  4. MYSQL (Project Nov 22)
    1. Pass username and password from command line and authenticate user using mysql.
    2. Pass username and password from command line and create users.
  5. PHP eval (Dec 8)
    1. Passing command line args
    2. Writing functions
    3. Validate username and password, passed from command line, against MYSQL database.

Digital

  1. (DUE Nov 16) Wiring table for 4 bit counter using JK flip-flops
  2. (DUE Nov 23)Car wash concept for
    1. Start Rinse
    2. Stop Rinse, Start Soap
    3. Start Brush
    4. Stop Soap, Stop Brush
    5. Start rinse
    6. Stop rinse, Start Dry
    7. Stop Dry
  3. (DUE Nov 30)Car wash circuit
    1. Chip list, with pinouts, with pricing
    2. Wiring table

Linux Enterprise I

  1. (DUE Nov 9) Install and configure openldap
    1. Create manager
    2. Create containers
    3. Add users to containers
    4. Search to verify users are in containers
    5. Add, modify, and delete attributes
    6. Authenticate from client to server using LDAP
    7. Procedure on web site for how to perform basic install
  2. (DUE Nov 23) Create mass users
    1. Idea for script that will create 50000 user with max of 3000 per container
    2. Script that will create 50000 users with max of 3000 per container
    3. Script that can be passed username and password and authenticate from DS
    4. Time authentication times
  3. (DUE Dec 7) Create schema for uniforms
    1. +++

Linux Prog for Admin

  1. Regular expression to validate IP address from command line
  2. Regular expression to validate IP address where the regular expression is in a file
  3. Script to validate IP address where IP is passed as a command line argument.
  4. Script to validate IP address where IP address is read from comma separated text file
    1. Allow for blank lines
    2. Allow for comment lines that start with '#' in char position 0
    3. Add actions to be taken on IP address or Domain name and log errors to syslog using logger
      1. P=Ping
      2. R=Resolve Domain name
      3. File format examples
        • bluedog.com,R:P,local1,warn
        • 161.210.253.3,P,local1,error
        • # This is a comment
        • 10.1.0.20,P,local1,info
  5. Find files
    1. Create a file named suid.set.ok that has a list of files, one per line, that can have the suid set. Write a script that will find all files that have the suid bit set if the name is in suid.set.ok then continue else log error message to rsyslog. When logging message to rsyslog make certain that you use some unique text that can easily found using grep. Such as __SUID_ALERT__
    2. Write a script named md5sum.sh that when passed "create" will find all files that have the group owner name of md5sum and do a md5 check sum on the file. Append the md5 checksum and file name to a file named md5.file.log in /var/log.

      When passed "check" md5sum.sh will find all files that have the group owner name of md5sum and do a new md5 checksum on the file. It will then check the new md5 genereate with the md5 in the md5.file.log. If match then continue else log error message to rsyslog. When logging message to rsyslog make certain that you use some unique text that can easily found using grep. Such as __MD5SUM_ALERT__

    3. Create a script named md5sum_logwatch.sh that will grep the log files for __SUID_ALERT__ and __MD5SUM_ALERT and send email message to root.
    4. Create a cron job to execute the md5sum.sh script, passing "check", followed by md5sum_logwatch.sh every morning at 6:00 AM.
  6. SED
    1. Use find to recursively find all files below /etc that have an extension of (.conf).
    2. Use grep to verify that file found has a specified IP address.
    3. Use sed to change the IP address found to another specified IP addrress.
    4. Print the names of the files that were changed.
    5. Print the total number of files that were changed



































Specific classes

Net Apps
Digital

This site is being developed for FALL 2010.

Summer (2011)

You can find the required books for fall classes here

Fall (2010)

Links to old sites

Last spring (2009)
Last fall (2009)

ALERT

I will be gone on Monday, 09/12/11. Joe Lane will be subbing all of my classes.

8:00 Linux Enterprise

( Test has been moved to wednesday)

The Linux Enterprise class can install another TUI server and then install openldap and add a manager account. ( Procedure for openldap is at www.8bitb.com - Fall 2010 - Procedures - Linux Enterprise I )

Installing openldap
Add a manager account

10:00 Digital

The digital class has a test and then can continue in the Digital book with chapter 2.



12:00 Linux Prog

( Test has been moved to wednesday)

The Linux Prog class can continue to work with kickstart. Should end up with 3 different kickstart files on the web server.

  1. GUI Workstation
  2. TUI Webserver
  3. TUI Directory Service

Perform the following different type of installs

  1. GUI workstation where kickstart file is on floppy and RPMs are on local DVD.
  2. GUI workstation where kickstart file is on web server and RPMs are on DVD. (Time how long it takes to install so it can be compared when RPMs are on web server)
  3. GUI workstation where kickstart file is on web server and RPMs are on web server. (Time how long it takes to install so it can be compared when RPMs were on DVD)
  4. TUI webserver where kickstart file is on web server and RPMs are on web server.
  5. TUI openldap server where kickstart file is on web server and RPMs are on web server.

Can also work on kickstart POST scripts to add user accounts during the install. Configure services to start on boot. Firewall configurations.