0x0E. Web stack debugging #1

- Concepts
For this project, we expect you to look at these concepts:
Requirements
General
Allowed editors
vi, vim, emacsUbuntu 20.04LTS
All your files should end with a new file
A
README.mdfile at the root of the folder of the project is mandatoryAll your Bash script files must be executable
Your Bash scripts must pass
Shellcheckwithout any errorYour Bash scripts must run without error
The first line of all your Bash scripts should be exactly
#!/usr/bin/env bashThe second line of all your Bash scripts should be a comment explaining what is the script doing
You are not allowed to use
wget
Tasks
0. Nginx likes port 80
Using your debugging skills, find out what’s keeping your Ubuntu container’s Nginx installation from listening on port 80. Feel free to install whatever tool you need, start and destroy as many containers as you need to debug the issue. Then, write a Bash script with the minimum number of commands to automate your fix.
Requirements
Nginx must be running, and listening on port
80of all the server’s active IPv4 IPsWrite a Bash script that configures a server to the above requirements
- GitHub Repository:
alx-system_engineering-devops- Directory:
0x0E-web_stack_debugging_1- File:
0-nginx_likes_port_80
1. Make it sweet and short
Using what you did for task #0, make your fix short and sweet.
Requirements
Your Bash script must be 5 lines long or less
There must be a new line at the end of the file
You must respect usual Bash script requirements
You cannot use
;You cannot use
&&;You cannot use
wgetYou cannot execute your previous answer file (Do not include the name of the previous script in this one)
service(init) must say thatnginxis not running ← for real
- GitHub Repository:
alx-system_engineering-devops- Directory:
0x0E-web_stack_debugging_1- File:
1-debugging_made_short