OPS245: Difference between revisions

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