Skip to main content

Install Apache Web Server and Perform the Initial Firewall Configuration

Hands-On Lab

 

Photo of

Training Architect

Length

00:30:00

Difficulty

Intermediate

In this lab, we will install Apache web server, and then start it and enable it to start at boot. We will then install and configure the firewall. We will also open up two ports: port 22 and port 80. We need to open up port 22 because we will be connected via SSH and don't want to enforce firewall rules before we allow our own traffic — otherwise, we'll lock ourselves out. It is important to open port 22 before applying any firewall rules, as opening port 80 means we can access the Apache demo page from outside and confirm our Apache server is functional and accessible from the outside world.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.