Configuring Apache Web Server - ricky-ninh/tech-journal-SEC-440-01SL GitHub Wiki

  1. To install apache on your app server, run the command sudo dnf install httpd -y

app server apache step 1

  1. Enable Apache with the command sudo systemctl enable httpd

app server apache step 2

  1. Add the Apache service to your app server's firewall with the below commands
sudo firewall-cmd--add-service=http --permanent
sudo firewall-cmd --add-service=https --permanent
sudo firewall-cmd --reload

app server apache step 3 without https

app server apache step 3

  1. Turn on the Apache service with sudo systemctl start httpd

app server apache step 4

  1. Using a web browser, browse to the IP address of your app1 server http://192.168.150.30 and you should get something similar below.

app server apache step 5


Back to SEC 440 Unix Test Lab Guide Using Webmin