Apache Installation and Firewall cmd Configuration - IronMansDaughter/Sys-255 GitHub Wiki

Reflection:

This portion of the lab was a tiny bit tricky due to the factor that I had to look up some commands and research some general stuff to get a better grounding in what I was required to accomplish.

Apache Installation:

Command: "sudo yum install httpd"

To install PHP --> Command: "sudo yum install -y php"

To edit apache web server front, change vim file to make the indexes be positive(opposite of what was there) and then make file that we assigned to dir and then echo-ed the message to what ever file we assigned.

Link to Lab instructions:

https://docs.google.com/document/d/1Yf4omb9Pmdcs3XWryZQOPSbHlOEanyYGunWBrC2tSd4/edit#

Firewall-cmd Configuration:

Used the commands in the screenshot below to add and open the ports:

image

To see the output use the command: "firewall-cmd --list-all" --> See screenshot below for example

image