OPS245: Difference between revisions

From Littlesvr Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 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>[[OPS245 Passing Requirements|Course Passing Requirements]]
|-
!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%"|
** 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
* [[OPS145|OPS145 (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
* [[OPS345]] will teach you to administer Linux servers (web servers, email servers, firewalls), as well as use cloud-provided services for DNS, databases, and file storage systems.
*** 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>Fall 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 style="border-bottom: thin solid #cccccc;">[[Image:desktop-computer.png|left|95px]]</td>
* Networking
<td style="border-bottom: thin solid #cccccc;">'''Workstation Computer'''</td>
**Default virtual network with DHCP
<td style="border-bottom: thin solid #cccccc;">Powerful enough</td>
**ip command
</tr>
**netstat or ss
<tr>
**New virtual network without DHCP
<td style="border-bottom: thin solid #cccccc;">[[Image:Linux-mint-logo.png|left|50px]]</td>
**static network config for workstation and servers
<td style="border-bottom: thin solid #cccccc;">'''Linux Mint Cinnamon Edition'''</td>
* Security
<td style="border-bottom: thin solid #cccccc;">[https://www.linuxmint.com/download.php DVD Image]</td>
** Access /root via external boot
</tr>
**brute-force ssh
<tr>
**password policies
<td style="border-bottom: thin solid #cccccc;">[[Image:debian-logo.png|left|50px]]</td>
**ssh keys
<td style="border-bottom: thin solid #cccccc;">'''Debian DVD Installer'''</td>
**sshd_config
<td style="border-bottom: thin solid #cccccc;">[https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/ DVD Image]</td>
* Python
</tr>
<tr>
<td style="border-bottom: thin solid #cccccc;">[[Image:debian-logo.png|left|50px]]</td>
<td style="border-bottom: thin solid #cccccc;">'''Debian CD Net Installer'''</td>
<td style="border-bottom: thin solid #cccccc;">[https://cdimage.debian.org/debian-cd/current/amd64/iso-cd// CD Image]</td>
</tr>
<tr>
<td style="border-bottom: thin solid #cccccc;">[[Image:ssd.png|left|95px]]</td>
<td style="border-bottom: thin solid #cccccc;">'''USB3 Solid State Drive (SSD)'''</td>
<td style="border-bottom: thin solid #cccccc;">Minimum Capacity: 120 GB</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 '''C'''<br> [mailto:andrew.smith@senecapolytechnic.ca andrew.smith@senecapolytechnic.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]]

Latest revision as of 23:38, 30 December 2023

Quick Links
Weekly Schedule
Course Passing Requirements
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:

  • OPS145 (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.
  • OPS345 will teach you to administer Linux servers (web servers, email servers, firewalls), as well as use cloud-provided services for DNS, databases, and file storage systems.

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 Fall 2023 semester OPS245 is taught by:

Required Materials

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
Ssd.png
USB3 Solid State Drive (SSD) Minimum Capacity: 120 GB

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.