Ravindra BagaleCourses & study guides मराठी Track your progress

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

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
Quick Reference: Packages, Services and Paths · Download PNG
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.

ItemAmazon Linux 2023Ubuntu 22.04 / 24.04
Nginx package / servicenginx / nginxnginx / 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 usernginxwww-data

Learn more in the lesson: 7.2 Quick Reference: Packages, Services and Paths

See all Ravi Sir's Cyber Security Cards