Setup a Web Server and monitor it with process and access control

profileMario123
P1-Setupawebserverandmonitoritwithprocessandaccesscontrol.pdf

CS4400 - System Administration

Project 1: Setup a Web Server and monitor it with process and access control

Project Objectives - You are a newly hired web server administrator. On your first day, company decides to move from old Apache webserver to new NGNIX webserver. You are given the task to setup an NGINX webserver on a Linux machine. Once setup, the server should be accessible to other machines in our network. You should know how to monitor and manage the server. Therefore, following tasks are considered crucial for a web server admin:

1. Which processes has the server spawned? 2. What ports has the server opened? 3. Where are its log files? 4. If logs are not being created, how can you create? 5. Where and how to change the welcome page of the server? 6. What services and commands are there to stop and start the server? 7. Which users are allowed to access the server pages? 8. Which users can access the logs of server? Create dummy users and

practice access control on server files.

What to submit:

1. Follow the project template uploaded on Blackboard 2. Answer the above asked questions and attach the snapshots that you think

are important and explanatory

Helpful Resources:

● https://ubuntu.com/tutorials/install-and-configure-nginx#1-overview ● Process Control - Chapter 4 ULSH ● Access control - Chapter 3 ULSH ● https://opensource.com/article/18/9/linux-iptables-firewalld ● https://man7.org/linux/man-pages/man8/lsof.8.html ● http://manpages.ubuntu.com/manpages/bionic/man5/acl.5.html ● Lecture Slides 2-4