OPS245: Difference between revisions

From Littlesvr Wiki
Jump to navigation Jump to search
No edit summary
(4 intermediate revisions by the same user not shown)
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 - ''Introduction to Linux Server Administration'' =
** 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%"|
* Installing/removing/managing software
== What This Course is About ==
** Package management
 
*** repo and .deb
This course teaches the maintenance and administration of Linux servers. This course is the second in a series of courses covering Linux technologies:
*** apt and dpkg
* ULI101 taught you to be a Linux user.
*** dependencies
* '''OPS245 will teach you to move from being a Linux user to being a Linux system administrator.'''
*** extra repositories
 
** applications vs services, systemctl
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.
** tar
 
*** decompress practice with sample tar files, one without a parent directory
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.
**wget
 
**scp
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.
* User management
 
** sudo, su, sudoers
== Learning by Doing ==
** set root password on workstation only
 
** Add 3 users on every machine
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 one of them to sudoers
 
*** the others can su
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.
** File ownership practice
 
** scp
== Course Faculty ==
* Storage management
 
** mount, fstab
'''During the <b>Winter 2023</b> semester OPS245 is taught by:'''
** which files/directories on which storage device
 
** wreck root, reinstall. format root, use existing home
| width="45% |
** LVM
 
*** Create new LVs
== Required Materials ==
*** Add PVs
<table cellpadding="10" cellspacing="0" width="100%">
*** Migrate VG to new PVs
<tr>
*** Practice running out of space
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:ssd.png|left|95px]]</td>
* Networking
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''USB3 Solid State Drive (SSD)'''</td>
**Default virtual network with DHCP
<td  width="20%" style="border-bottom: thin solid #cccccc;text-align:right;">'''Minimum Capacity:''' 120 GB</td>
**ip command
</tr>
**netstat or ss
<tr>
**New virtual network without DHCP
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:desktop-computer.png|left|95px]]</td>
**static network config for workstation and servers
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Workstation Computer'''</td>
* Security
<td  width="20%" style="border-bottom: thin solid #cccccc;">Powerful enough</td>
** Access /root via external boot
</tr>
**brute-force ssh
<tr>
**password policies
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:Linux-mint-logo.png|left|50px]]</td>
**ssh keys
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Linux Mint Cinnamon Edition'''</td>
**sshd_config
<td  width="20%" style="border-bottom: thin solid #cccccc;">[https://www.linuxmint.com/download.php '''DVD Image''']</td>
* Python
</tr>
<tr>
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:debian-logo.png|left|50px]]</td>
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Debian DVD Installer'''</td>
<td  width="20%" style="border-bottom: thin solid #cccccc;">[https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/ '''DVD Image''']</td>
</tr>
<tr>
<td  width="10%" style="border-bottom: thin solid #cccccc;">[[Image:debian-logo.png|left|50px]]</td>
<td  width="20%" style="border-bottom: thin solid #cccccc;">'''Debian CD Net Installer'''</td>
<td  width="20%" style="border-bottom: thin solid #cccccc;">[https://cdimage.debian.org/debian-cd/current/amd64/iso-cd// '''CD Image''']</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]]

Revision as of 22:08, 18 January 2023

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

Welcome to OPS245 - Introduction to Linux Server Administration

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
Debian-logo.png
Debian DVD Installer DVD Image
Debian-logo.png
Debian CD Net Installer CD 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.