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.
| 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?
getent passwd deploy_bot)Service
└── runs as deploy_bot
deploy_bot
├── owns files
├── owns processes
└── no interactive login
| 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.