Open main menu

CDOT Wiki β

Difference between revisions of "OPS245 Weekly Schedule"

m (Adding link to argparse lesson)
(Summer 2022)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
[[Category:OPS245]][[Category:peter.callaghan]]
 
[[Category:OPS245]][[Category:peter.callaghan]]
= Fall 2021 =
+
= Summer 2022 =
 
This schedule is a considered to be a general guideline for week-by-week content. Due dates may vary per instructor.
 
This schedule is a considered to be a general guideline for week-by-week content. Due dates may vary per instructor.
  
Line 9: Line 9:
 
!style="width: 30%"|Labs
 
!style="width: 30%"|Labs
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 1:'''<br>07 - 10 Sep
+
|'''Week 1:'''<br>May 9 - May 13
 
|'''Create a CentOS Linux VM in VMware:'''
 
|'''Create a CentOS Linux VM in VMware:'''
 
*Install CentOS (Full Install) in VMware Workstation application (create customized partitions)
 
*Install CentOS (Full Install) in VMware Workstation application (create customized partitions)
Line 15: Line 15:
 
*Obtain System Information
 
*Obtain System Information
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w1-l1.pptx Welcome to OPS245!]
+
*[https://github.com/OPS245/slides/raw/main/w1-l1.pptx Welcome to OPS245!]
*[https://ict.senecacollege.ca/~ops245/slides/w1-l2.pptx Installing Linux]
+
*[https://www.dropbox.com/s/7dlp8g5ynp7973w/w1-l2.pptx?dl=1 Installing Linux]
 
|[[OPS245 Lab 1|Lab 1: Installing CentOS 7 with VMWare Workstation]]
 
|[[OPS245 Lab 1|Lab 1: Installing CentOS 7 with VMWare Workstation]]
  
Line 27: Line 27:
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 2:'''<br>13 - 17 Sep
+
|'''Week 2:'''<br>May 16 - May 20
 
|'''Post-Installation Tasks:'''
 
|'''Post-Installation Tasks:'''
 
*Post-Install Commands
 
*Post-Install Commands
Line 34: Line 34:
 
*Using a Python Shell Script to Create a Post Installation Report
 
*Using a Python Shell Script to Create a Post Installation Report
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w2-l1.pptx Python Scripting (part 1)]
+
*[https://www.dropbox.com/s/2dxebm9yrmync1t/w2-l1.pptx?dl=1 Python Scripting (part 1)]
  
 
|'''Scripting Practice:'''
 
|'''Scripting Practice:'''
Line 40: Line 40:
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 3:'''<br>20 - 24 Sep
+
|'''Week 3:'''<br>May 23 - May 27
 
|'''Creating & Using Virtual Machines'''
 
|'''Creating & Using Virtual Machines'''
 
*Installing and Using Virtualization Software
 
*Installing and Using Virtualization Software
 
*Installing Guest VMs
 
*Installing Guest VMs
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w3-l1.pptx Installing Virtual Machines]
+
*[https://www.dropbox.com/s/0xgkv4a26hjjzjm/w3-l1.pptx?dl=1 Installing Virtual Machines]
*[https://ict.senecacollege.ca/~ops245/slides/w3-l2.pptx Python Scripting (part 2)]
+
*[https://www.dropbox.com/s/9i95fs2706rklhp/w3-l2.pptx?dl=1 Python Scripting (part 2)]
 
'''Script Samples:'''
 
'''Script Samples:'''
*[https://ict.senecacollege.ca/~ops245/samples/menu.py menu.py]
+
*[https://www.dropbox.com/s/neahqj4bsj7lgro/menu.py?dl=1 menu.py]
*[https://ict.senecacollege.ca/~ops245/samples/if1.py if1.py]
+
*[https://www.dropbox.com/s/b04u0e1snvfcrqs/if1.py?dl=1 if1.py]
*[https://ict.senecacollege.ca/~ops245/samples/twoif.py twoif.py]
+
*[https://www.dropbox.com/s/j5omwggit05vi5g/twoif.py?dl=1 twoif.py]
*[https://ict.senecacollege.ca/~ops245/samples/if2.py if2.py]
+
*[https://www.dropbox.com/s/2mof7xszd7kp9ma/if2.py?dl=1 if2.py]
*[https://ict.senecacollege.ca/~ops245/samples/if3.py if3.py]
+
*[https://www.dropbox.com/s/ywo3b797okb3tf8/if3.py?dl=1 if3.py]
*[https://ict.senecacollege.ca/~ops245/samples/if4.py if4.py]
+
*[https://www.dropbox.com/s/mral0c2pnxpqsgu/if4.py?dl=1 if4.py]
*[https://ict.senecacollege.ca/~ops245/samples/if5.py if5.py]
+
*[https://www.dropbox.com/s/9v857kr93r82pbh/if5.py?dl=1 if5.py]
 
|[[OPS245 Lab 2|Lab 2: Creating and Using Virtual Machines]]
 
|[[OPS245 Lab 2|Lab 2: Creating and Using Virtual Machines]]
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 4:'''<br>30 Sep - 01 Oct
+
|'''Week 4:'''<br>May 30 - Jun 3
 
|'''Creating & Using Virtual Machines / Continued:'''
 
|'''Creating & Using Virtual Machines / Continued:'''
 
*Manipulating Virtual Machines
 
*Manipulating Virtual Machines
Line 65: Line 65:
 
*Decision Making in Python Scripts
 
*Decision Making in Python Scripts
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w4-l1.pptx Managing Virtual Machines]
+
*[https://www.dropbox.com/s/citztrp5f8kkd92/w4-l1.pptx?dl=1 Managing Virtual Machines]
*[https://ict.senecacollege.ca/~ops245/slides/w4-l2.pptx Python Scripting (part 3)]
+
*[https://www.dropbox.com/s/zpekjhrr58nuxl4/w4-l2.pptx?dl=1 Python Scripting (part 3)]
 
'''Script Samples:'''
 
'''Script Samples:'''
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/userprint.py userprint.py]
+
*[https://www.dropbox.com/s/4nraz2sp31inpg7/userprint.py?dl=1 userprint.py]
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/countup.py countup.py]
+
*[https://www.dropbox.com/s/ziwugivlpwd0prg/countup.py?dl=1 countup.py]
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/countup2.py countup2.py]
+
*[https://www.dropbox.com/s/mv2ke7a8hyfrkqj/countup2.py?dl=1 countup2.py]
  
 
|
 
|
Line 76: Line 76:
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 5:'''<br>04 - 08 Oct
+
|'''Week 5:'''<br>Jun 6 - Jun 10
 
|'''Troubleshooting, Archiving, Package Management:'''
 
|'''Troubleshooting, Archiving, Package Management:'''
 
*Common Troubleshooting Examples
 
*Common Troubleshooting Examples
Line 82: Line 82:
 
*Package Management
 
*Package Management
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w5-l1.pptx Troubleshooting, Archiving, Package Management]
+
*[https://www.dropbox.com/s/hp7qqvai7xklv5w/w5-l1.pptx?dl=1 Troubleshooting, Archiving, Package Management]
 +
*[https://www.dropbox.com/s/95xdxemu20fad3s/w5-l2.pptx?dl=1 Python Scripting (part 4)t]
 
|[[OPS245 Lab 3|Lab 3: Troubleshooting, Archiving, and Packages]]
 
|[[OPS245 Lab 3|Lab 3: Troubleshooting, Archiving, and Packages]]
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 6:'''<br>11 - 15 Oct
+
|'''Week 6:'''<br>Jun 13 - Jun 17
 
|'''Managing Users, Groups & Services:'''
 
|'''Managing Users, Groups & Services:'''
 
*User Management
 
*User Management
Line 96: Line 97:
 
*Assignment 1
 
*Assignment 1
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w6-l1.pptx Managing Users, Groups & Services]
+
*[https://www.dropbox.com/s/l7dvohl9ghnnodh/w6-l1.pptx?dl=1 Managing Users, Groups & Services]
*[https://ict.senecacollege.ca/~ops245/slides/w6-l2.pptx Managing Sudo]
+
*[https://www.dropbox.com/s/ilxjqe8sdwmrfuk/w6-l2.pptx?dl=1 Managing Sudo]
*[https://ict.senecacollege.ca/~ops245/slides/w6-l3.pptx Python Scripting (part 4)]
+
*[https://www.dropbox.com/s/9prvagrjem3nx7d/w6-l3.pptx?dl=1 Python Scripting (part 5)]
 
'''Script Samples:'''
 
'''Script Samples:'''
  
Line 104: Line 105:
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 7:'''<br>18 - 22 Oct
+
|'''Week 7:'''<br>Jun 20 - Jun 24
 
|'''Evaluation:'''
 
|'''Evaluation:'''
 
*Test 1
 
*Test 1
Line 112: Line 113:
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
!colspan="4" style="text-align:left;"| '''Study Week:'''<br>25 - 29 Oct
+
!colspan="4" style="text-align:left;"| '''Study Week:'''<br>Jun 27 - Jul 1
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 8:'''<br>01 - 05 Nov
+
|'''Week 8:'''<br>Jul 4 - Jul 8
 
|'''Monitoring Disk Space, Intro to LVM'''
 
|'''Monitoring Disk Space, Intro to LVM'''
 
*Monitoring Hard Disk Space
 
*Monitoring Hard Disk Space
Line 123: Line 124:
 
*Error Handling in Python Scripts
 
*Error Handling in Python Scripts
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w8-l1.pptx Monitoring Disk Space, <code>crontab</code>]
+
*[https://www.dropbox.com/s/vp7dyu760ah433q/w8-l1.pptx?dl=1 Monitoring Disk Space, <code>crontab</code>]
*[https://ict.senecacollege.ca/~ops245/slides/w8-l2.pptx Python Scripting (part 5)]
+
*[https://www.dropbox.com/s/h0lymk1pq8somdp/w8-l2.pptx?dl=1 Python Scripting (part 6)]
 
|[[OPS245 Lab 5|Lab 5: Monitoring Disk Space - Investigation 1]]
 
|[[OPS245 Lab 5|Lab 5: Monitoring Disk Space - Investigation 1]]
  
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 9:'''<br>08 - 12 Nov
+
|'''Week 9:'''<br>Jul 11 - Jul 15
 
|'''Using LVM'''
 
|'''Using LVM'''
 
*Using Logical Volume Manager (LVM)
 
*Using Logical Volume Manager (LVM)
 
*Creating Shell Scripts to Flag Low Disk Space
 
*Creating Shell Scripts to Flag Low Disk Space
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w9-l1.pptx Introduction to LVM]
+
*[https://www.dropbox.com/s/u0cqkaptjurkp08/w9-l1.pptx?dl=1 Introduction to LVM]
*[https://ict.senecacollege.ca/~ops245/slides/w9-l2.pptx Advanced uses of the <code>awk</code> command]
+
*[https://www.dropbox.com/s/lnw8gzln1b2yfw0/w9-l2.pptx?dl=1 Advanced uses of the <code>awk</code> command]
 
*Demonstration of Growing ''/home'' partition using LVM: [https://youtu.be/4fGQmw9RInYg YouTube]
 
*Demonstration of Growing ''/home'' partition using LVM: [https://youtu.be/4fGQmw9RInYg YouTube]
 
'''Script Samples:'''
 
'''Script Samples:'''
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/awkFile1 awkFile1]
+
*[https://www.dropbox.com/s/p3bxgyhka592sff/cars.txt?dl=1 cars]
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/awkFile2 awkFile2]
+
*[https://www.dropbox.com/s/vdedytlcc2wlocu/users2.txt?dl=1 users2.txt]
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/awkFile3 awkFile3]
+
*[https://www.dropbox.com/s/oc1ae5s3uolp60n/awkFile1?dl=1 awkFile1]
*[https://ict.senecacollege.ca/~peter.callaghan/ops245/samples/awkFile4 awkFile4]
+
*[https://www.dropbox.com/s/izv1l12bqxp6hbn/awkFile2?dl=1 awkFile2]
 +
*[https://www.dropbox.com/s/i15jbfrw0t1afw5/awkFile3?dl=1 awkFile3]
 +
*[https://www.dropbox.com/s/d2apxu1nc6p50q9/awkFile4?dl=1 awkFile4]
 
|[[OPS245 Lab 5#INVESTIGATION 2: MANAGING HARD DISK SPACE USING LVM|Lab 5: Using LVM - Investigation 2]]
 
|[[OPS245 Lab 5#INVESTIGATION 2: MANAGING HARD DISK SPACE USING LVM|Lab 5: Using LVM - Investigation 2]]
  
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 10:'''<br>15 - 19 Nov
+
|'''Week 10:'''<br>Jul 18 - Jul 22
 
|'''Configuring a Network Using Virtual Machines'''
 
|'''Configuring a Network Using Virtual Machines'''
 
*Static Network Configuration
 
*Static Network Configuration
Line 153: Line 156:
 
*Using Python Scripts to Access Files
 
*Using Python Scripts to Access Files
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w10-l1.pptx Creating a Virtual Network]
+
*[https://www.dropbox.com/s/degjqz79cahb8em/w10-l1.pptx?dl=1 Creating a Virtual Network]
*[https://ict.senecacollege.ca/~ops245/slides/w10-l2.pptx Python Scripting (part 6)]
+
*[https://www.dropbox.com/s/bjdc97c430ypvjk/w10-l2.pptx?dl=1 Python Scripting (part 7)]
 
|[[OPS245 Lab 6|Lab 6: Virtual Networks]]
 
|[[OPS245 Lab 6|Lab 6: Virtual Networks]]
  
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 11:'''<br>22 - 26 Nov
+
|'''Week 11:'''<br>Jul 25 - Jul 29
 
|'''Setup and Configure Secure Shell Services'''
 
|'''Setup and Configure Secure Shell Services'''
 
*Network Services
 
*Network Services
 
*SSH
 
*SSH
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w11-l1.pptx Securing Network via SSH]
+
*[https://www.dropbox.com/s/q61rurwnpmavk0z/w11-l1.pptx?dl=1 Securing Network via SSH]
*[https://ict.senecacollege.ca/~ops245/slides/w11-l2.pptx Configuring Firewalls (iptables)]
+
*[https://www.dropbox.com/s/nmjeh2uciq2d7sp/W11-l2.pptx?dl=1 Configuring Firewalls (iptables)]
 
|[[OPS245 Lab 7|Lab 7: Setup and Configure SSH]]
 
|[[OPS245 Lab 7|Lab 7: Setup and Configure SSH]]
  
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 12:'''<br>29 Nov - 03 Dec
+
|'''Week 12:'''<br>Aug 1 - Aug 5
 
|'''Setting Up, Using & Maintaining a DHCP Server'''
 
|'''Setting Up, Using & Maintaining a DHCP Server'''
 
*DHCP Server
 
*DHCP Server
 
|'''Lecture Notes:'''
 
|'''Lecture Notes:'''
*[https://ict.senecacollege.ca/~ops245/slides/w12-l1.pptx Setting up a DHCP Server]
+
*[https://www.dropbox.com/s/taikt9hk9ffjtyg/w12-l1.pptx?dl=1 Setting up a DHCP Server]
 
|[[OPS245 Lab 8|Lab 8: Setup and Configure a DHCP Server]]
 
|[[OPS245 Lab 8|Lab 8: Setup and Configure a DHCP Server]]
  
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 13:'''<br>06 - 10 Dec
+
|'''Week 13:'''<br>Aug 8 - Aug 12
 
|'''Evaluation:'''
 
|'''Evaluation:'''
 
*Assignment 2
 
*Assignment 2
Line 187: Line 190:
  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|'''Week 14:'''<br>13 - 17 Dec
+
|'''Week 14:'''<br>Aug 15 - Aug 19
 
|'''Evaluation:'''
 
|'''Evaluation:'''
 
*Final Assessment
 
*Final Assessment
 
|
 
|
 
|
 
|

Latest revision as of 11:45, 10 May 2022

Summer 2022

This schedule is a considered to be a general guideline for week-by-week content. Due dates may vary per instructor.

Week Objectives and Tasks References Labs
Week 1:
May 9 - May 13
Create a CentOS Linux VM in VMware:
  • Install CentOS (Full Install) in VMware Workstation application (create customized partitions)
  • Shell Scripting
  • Obtain System Information
Lecture Notes: Lab 1: Installing CentOS 7 with VMWare Workstation


WARNING:
If working from home, use VMware Workstation (Windows/Linux) or VMware Fusion (macOS).

Do not use any other virtualization software!

Week 2:
May 16 - May 20
Post-Installation Tasks:
  • Post-Install Commands
  • Bash Shell Scripting Essentials
  • Introduction to Python Scripting
  • Using a Python Shell Script to Create a Post Installation Report
Lecture Notes: Scripting Practice:
Week 3:
May 23 - May 27
Creating & Using Virtual Machines
  • Installing and Using Virtualization Software
  • Installing Guest VMs
Lecture Notes:

Script Samples:

Lab 2: Creating and Using Virtual Machines
Week 4:
May 30 - Jun 3
Creating & Using Virtual Machines / Continued:
  • Manipulating Virtual Machines
  • Backing-up Virtual Machines
  • Manipulating Virtual Machines with Shell Scripts
  • Decision Making in Python Scripts
Lecture Notes:

Script Samples:


Week 5:
Jun 6 - Jun 10
Troubleshooting, Archiving, Package Management:
  • Common Troubleshooting Examples
  • Archiving Files
  • Package Management
Lecture Notes: Lab 3: Troubleshooting, Archiving, and Packages
Week 6:
Jun 13 - Jun 17
Managing Users, Groups & Services:
  • User Management
  • Group Management
  • Service Status
  • Starting / Stopping Services
  • Looping in Python scripts

Evaluation:

  • Assignment 1
Lecture Notes:

Script Samples:

Lab 4: Users, Groups and Services
Week 7:
Jun 20 - Jun 24
Evaluation:
  • Test 1


Study Week:
Jun 27 - Jul 1
Week 8:
Jul 4 - Jul 8
Monitoring Disk Space, Intro to LVM
  • Monitoring Hard Disk Space
  • LVM - Definition
  • Using LVM
  • Creating Shell Scripts to Flag Low Disk Space
  • Error Handling in Python Scripts
Lecture Notes: Lab 5: Monitoring Disk Space - Investigation 1


Week 9:
Jul 11 - Jul 15
Using LVM
  • Using Logical Volume Manager (LVM)
  • Creating Shell Scripts to Flag Low Disk Space
Lecture Notes:

Script Samples:

Lab 5: Using LVM - Investigation 2


Week 10:
Jul 18 - Jul 22
Configuring a Network Using Virtual Machines
  • Static Network Configuration
  • Network Configuration with a DHCP client
  • Basic TCP/IP network commands: ping, ip, ss
  • Using Python Scripts to Access Files
Lecture Notes: Lab 6: Virtual Networks


Week 11:
Jul 25 - Jul 29
Setup and Configure Secure Shell Services
  • Network Services
  • SSH
Lecture Notes: Lab 7: Setup and Configure SSH


Week 12:
Aug 1 - Aug 5
Setting Up, Using & Maintaining a DHCP Server
  • DHCP Server
Lecture Notes: Lab 8: Setup and Configure a DHCP Server


Week 13:
Aug 8 - Aug 12
Evaluation:
  • Assignment 2
  • Test 2
Week 14:
Aug 15 - Aug 19
Evaluation:
  • Final Assessment