DevOps Classroom notes 02/Feb/2026

Setup a Website in Nginx

  • We would need a linux server and webserver and some website
    Preview
  • Linux Servers:
    • Ubuntu 24.04
  • WebServer:
    • Nginx
  • Website:

Steps:

  • Create a linux vm (Azure/AWS/GCP)
  • Installing nginx You are a linux expert, Give me step by step commands to install nginx on ubuntu 24.04
sudo apt update
sudo apt install nginx -y
sudo systemctl status nginx.service
  • In nginx and apache the folder where we can host websites is /var/www/html
  • Now download the website
sudo apt install unzip
cd /tmp
wget https://templatemo.com/tm-zip-files-2020/templatemo_589_lugx_gaming.zip
cd templatemo_589_lugx_gaming/
sudo cp --recursive . /var/www/html/

  • Navigate to http:// Preview

Package Managers

  • In Linux to install softwares we have folliwng ways
    • code + make
    • packages (.deb, .rpm)
      • deb dpkg -i <package>.deb
      • rpm rpm -ivh <package>.rpm
    • Package Managers
      • apt (Debian)
      • dnf (yum) (Redhat)
      • snap
  • APT:

    • APT is a package manager used in debian based distributions
    • apt will have package definitions that needs to be up to date apt update
    • To install software apt install <package-name>
  • Exericse: Try installing the same website using apache server on redhat

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube