Module 1 Assignment
Problem Statement: You are assigned a task to install a web server, in order to control multiple worker processes from one master process. After you’ve done your research you found out that NGINX is the best suitable option in this scenario. Update the host system and install NGINX. Check the version installed.
This will update the list of available packages and their versions, then upgrade the currently installed packages to their latest versions.
sudo apt update && sudo apt upgrade -y
We install NGINX using the package manager:
sudo apt install nginx -y
After installation, starting the NGINX service:
sudo systemctl start nginx
Ensure that NGINX starts automatically at boot:
sudo systemctl enable nginx
Checking version:
nginx -v
Getting the IP of Nginx Server:
Testing the service: