Ravi Sir's Cyber Security Cards › Revision Cards
Quick Reference: Packages, Services and Paths
Quick Reference: Packages, Services and Paths A cheat sheet of names and paths that differ between Amazon Linux and Ubuntu. Amazon Linux / CentOS: httpd . Ubuntu: apache2 . Amazon Linux: /usr/share/nginx/html . Ubuntu: /var/www/html . Looking for apache2 on Amazon Linux. Check the OS first, then use

Read card text
What this card says
What it is
A cheat sheet of names and paths that differ between Amazon Linux and Ubuntu.
Apache name
Amazon Linux / CentOS: httpd.
Ubuntu: apache2.
Nginx web folder
Amazon Linux: /usr/share/nginx/html.
Ubuntu: /var/www/html.
Common mistake
Looking for apache2 on Amazon Linux. Check the OS first, then use the right name.
| Item | Amazon Linux 2023 | Ubuntu 22.04 / 24.04 |
|---|---|---|
| Nginx package / service | nginx / nginx | nginx / nginx |
| Nginx main config | /etc/nginx/nginx.conf | /etc/nginx/nginx.conf |
| Nginx site configs | /etc/nginx/conf.d/*.conf | /etc/nginx/sites-available/ + symlink in sites-enabled/… |
| Nginx default web root | /usr/share/nginx/html | /var/www/html |
| Nginx worker user | nginx | www-data |
Learn more in the lesson: 7.2 Quick Reference: Packages, Services and Paths