CompTIA Linux+ XK0-005 – Question057

SIMULATION
Junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.
INSTRUCTIONS
Install Apache and start the service. Verify that the Apache service is running with the defaults.
Typing help in the terminal will show a list of relevant event commands.

Correct Answer: See the explanation below.

Explanation:

Explanation:
yum install httpd
systemctl -now enable httpd
systemctl status httpd
netstat -tunlp | grep 80
pkill systemctl restart httpd
systemetctl status httpd