OPS245: Difference between revisions

From Littlesvr Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 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%"|
* 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
* [[OPS145|OPS145 (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
* [[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.
** applications vs services, systemctl
 
** tar
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.
*** decompress practice with sample tar files, one without a parent directory
 
**wget
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.
**scp
 
* User management
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.
** sudo, su, sudoers
 
** set root password on workstation only
== Learning by Doing ==
** Add 3 users on every machine
 
*** add one of them to sudoers
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.
*** the others can su
 
** File ownership practice
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>Fall 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 style="border-bottom: thin solid #cccccc;">[[Image:desktop-computer.png|left|95px]]</td>
**Default virtual network with DHCP
<td style="border-bottom: thin solid #cccccc;">'''Workstation Computer'''</td>
**ip command
<td style="border-bottom: thin solid #cccccc;">Powerful enough</td>
**netstat or ss
</tr>
**New virtual network without DHCP
<tr>
**static network config for workstation and servers
<td style="border-bottom: thin solid #cccccc;">[[Image:Linux-mint-logo.png|left|50px]]</td>
* Security
<td style="border-bottom: thin solid #cccccc;">'''Linux Mint Cinnamon Edition'''</td>
** Access /root via external boot
<td style="border-bottom: thin solid #cccccc;">[https://www.linuxmint.com/download.php DVD Image]</td>
**brute-force ssh
</tr>
**password policies
<tr>
**ssh keys
<td style="border-bottom: thin solid #cccccc;">[[Image:debian-logo.png|left|50px]]</td>
**sshd_config
<td style="border-bottom: thin solid #cccccc;">'''Debian DVD Installer'''</td>
* Python
<td style="border-bottom: thin solid #cccccc;">[https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/ DVD Image]</td>
</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]]

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.