Full Course Notes My Certificate


1. The Big Picture

This course is about being able to operate a Linux server hosting a full application stack.

                     Users
                       │
                       ▼
                Load Balancer
                    Nginx
                       │
           ┌───────────┼───────────┐
           ▼           ▼           ▼
        App 1       App 2        App 3
      Nginx/Apache  Tomcat      PHP/App
           │           │           │
           └───────────┼───────────┘
                       ▼
                    Database
              MySQL / MariaDB / PostgreSQL

Domains covered:

Category Topics
Linux Users & Permissions, SSH, Processes & Services, Networking, Firewall, SELinux, Cron, Bash, Ansible, Git
Web Layer Nginx, Apache, SSL/TLS, Load Balancing, PHP-FPM, Tomcat
Database Layer MariaDB/MySQL, PostgreSQL

Core idea: DevOps is not about memorizing commands — it's knowing how to run infrastructure, diagnose problems, secure systems, and connect components together.


2. Linux Users

Type Purpose Example
Normal user Interactive login, works per permissions useradd developer
Service account Owns processes/files for an app, no login needed useradd -s /sbin/nologin deploy_bot

Why /sbin/nologin?

Service
  └── runs as deploy_bot
deploy_bot
  ├── owns files
  ├── owns processes
  └── no interactive login

Account Expiration vs Password Expiration

Concept Command Meaning
Account expiration useradd -e 2026-12-31 temp_auditor / usermod -e ... When the account itself stops working
Check expiration chage -l temp_auditor View expiration details
Password expiration (different setting) When the password must be changed

⚠️ These are two different things — don't confuse them.