OPS245: Difference between revisions

From Littlesvr Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Brainstorming:
{| style="float: right; margin: 0 0 3em 2em; border: 1px solid black;"
!style="background: #cccccc"| Quick Links
|-
|<span style="background:#ffff00">[[OPS245 Weekly Schedule|Weekly Schedule]]</span><br>[https://www.senecacollege.ca/ssos/findOutline.do?subjectCode=OPS245 Course Outline]
|-
!style="background: #cccccc"| Assignments
|-
||[[OPS245 Assignment 1]]
|-
||[[OPS245 Assignment 2]]
|}


*OS Install
= Welcome to OPS245 - ''Open Systems Server'' =
** No Nested virtualization, all VMs in VirtualBox
 
** Mint for workstation
{| width="100%" align="right" cellpadding="10"
** Debian dvd1 for server1
|- valign="top"
** Debian minimal CD for server2
| width="55%"|
** Debian minimal CD in advanced mode for server 3
== What This Course is About ==
* Installing/removing/managing software
 
** Package management
This course teaches the maintenance and administration of Linux servers. This course is the second in a series of courses covering Linux technologies:
*** repo and .deb
* ULI101 taught you to be a Linux user.
*** apt and dpkg
* '''OPS245 will teach you to move from being a Linux user to being a Linux system administrator.'''
*** dependencies
 
*** extra repositories
As a system administrator, you will be responsible for installing, configuring, adjusting, maintaining, and troubleshooting the operation of Linux servers. You will be able to change anything on the system, and you will also have the ability to damage or destroy the system.
** applications vs services, systemctl
 
** tar
Depending on how the course is delivered in your semester: you will need either a workstation computer powerful enough to run several virtual machines at the same time, or a USB SSD drive to store your virtual machines which you will run on a lab computer at Seneca.
*** decompress practice with sample tar files, one without a parent directory
 
**wget
The servers you'll install will run on your own computer, and will not be accessible from the internet. Once you're done with the learning in this course: next semester you'll have the skills to deal with the extra complications of administering public-facing servers.
**scp
 
* User management
== Learning by Doing ==
** sudo, su, sudoers
 
** set root password on workstation only
Most of the learning in this course occurs through the hands-on problem solving that takes place in the labs and assignments. Therefore, it's very important to stay up-to-date with the coursework, and to practice until you have confidently mastered each task.
** Add 3 users on every machine
 
*** add one of them to sudoers
All of the software used in this course is ''open source'' software, so you are free to use, modify, and redistribute it. This means that you can install it as many times as you want on as many different computers as you would like. It also means that you can tinker with it -- you can take it apart, see how it works, and put it back together in the same or a different way, limited only by your time and ambition. You are encouraged to experiment and question liberally.
*** the others can su
 
** File ownership practice
== Course Faculty ==
** scp
 
* Storage management
'''During the <b>Winter 2023</b> semester OPS245 is taught by:'''
** mount, fstab
 
** which files/directories on which storage device
| width="45% |
** wreck root, reinstall. format root, use existing home
 
** LVM
== Required Materials ==
*** Create new LVs
<table cellpadding="10" cellspacing="0" width="100%">
*** Add PVs
<tr>
*** Migrate VG to new PVs
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:ssd.png|left|95px]]</td>
*** Practice running out of space
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''USB3 Solid State Drive (SSD)'''</td>
* Networking
<td  width="20%" style="border-bottom: thin solid #cccccc;text-align:right;">'''Minimum Capacity:''' 120 GB</td>
**Default virtual network with DHCP
</tr>
**ip command
<tr>
**netstat or ss
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:desktop-computer.png|left|95px]]</td>
**New virtual network without DHCP
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Workstation Computer'''</td>
**static network config for workstation and servers
<td  width="20%" style="border-bottom: thin solid #cccccc;">Powerful enough</td>
* Security
</tr>
** Access /root via external boot
<tr>
**brute-force ssh
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:Linux-mint-logo.png|left|50px]]</td>
**password policies
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Linux Mint Cinnamon Edition'''</td>
**ssh keys
<td  width="20%" style="border-bottom: thin solid #cccccc;">[https://www.linuxmint.com/download.php '''DVD Image''']</td>
**sshd_config
</tr>
* Python
<!--tr>
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:log-book.png|left|44px]]</td>
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Lab Log-book'''<br>(download and print)</td>
<td  width="20%" style="border-bottom: thin solid #cccccc;">[https://matrix.senecacollege.ca/~ahad.mammadov/files/OPS335/OPS335-LLB-S2020.pdf PDF]</td>
</tr-->
</table>
 
|}
 
<table cellpadding="15" width="50%" style="display:block;">
<tr>
<td>
[[Image:Andrew.jpg|thumb|left|225px|[http://littlesvr.ca/currentposition.php <b>Andrew Smith</b>]<br />Section '''F'''<br> [mailto:andrew.smith@senecacollege.ca andrew.smith@senecacollege.ca]<br>]]
</td>
 
<!--
<td>
[[Image:JasonCarman.jpg|thumb|left|230px|<b> Jason Carman</b><br>OPS345 Sections '''D, E'''<br>[mailto:jason.carman@senecacollege.ca jason.carman@senecacollege.ca]<br>]]
</td>
-->
 
<!--
<td>
[[Image:HansHeim.jpg|thumb|left|230px|<b> Hans Heim</b><br>OPS345 Sections '''E, F'''<br>[mailto:hans.heim@senecacollege.ca hans.heim@senecacollege.ca]<br>]]
</td>
-->
 
</tr>
</table>
 
== If you're not from Seneca ==
You're welcome to use these materials for learning anyway. You won't get any course credit, and I won't be marking your stuff, but I (Andrew) might reply to your questions if you email me.


[[Category:OPS245]]
[[Category:OPS245]]

Revision as of 14:41, 6 January 2023

Quick Links
Weekly Schedule
Course Outline
Assignments
OPS245 Assignment 1
OPS245 Assignment 2

Welcome to OPS245 - Open Systems Server

What This Course is About

This course teaches the maintenance and administration of Linux servers. This course is the second in a series of courses covering Linux technologies:

  • ULI101 taught you to be a Linux user.
  • OPS245 will teach you to move from being a Linux user to being a Linux system administrator.

As a system administrator, you will be responsible for installing, configuring, adjusting, maintaining, and troubleshooting the operation of Linux servers. You will be able to change anything on the system, and you will also have the ability to damage or destroy the system.

Depending on how the course is delivered in your semester: you will need either a workstation computer powerful enough to run several virtual machines at the same time, or a USB SSD drive to store your virtual machines which you will run on a lab computer at Seneca.

The servers you'll install will run on your own computer, and will not be accessible from the internet. Once you're done with the learning in this course: next semester you'll have the skills to deal with the extra complications of administering public-facing servers.

Learning by Doing

Most of the learning in this course occurs through the hands-on problem solving that takes place in the labs and assignments. Therefore, it's very important to stay up-to-date with the coursework, and to practice until you have confidently mastered each task.

All of the software used in this course is open source software, so you are free to use, modify, and redistribute it. This means that you can install it as many times as you want on as many different computers as you would like. It also means that you can tinker with it -- you can take it apart, see how it works, and put it back together in the same or a different way, limited only by your time and ambition. You are encouraged to experiment and question liberally.

Course Faculty

During the Winter 2023 semester OPS245 is taught by:

Required Materials

Ssd.png
USB3 Solid State Drive (SSD) Minimum Capacity: 120 GB
Desktop-computer.png
Workstation Computer Powerful enough
Linux-mint-logo.png
Linux Mint Cinnamon Edition DVD Image

If you're not from Seneca

You're welcome to use these materials for learning anyway. You won't get any course credit, and I won't be marking your stuff, but I (Andrew) might reply to your questions if you email me.