1 view

Install Apache RPM using Yum

yum install httpd

Start Apache httpd service

systemctl start httpd.service

Enable HTTPD service using systemctl (it is called chkconfig in previos Linux versions)

systemctl enable httpd.service

You may have to open port 80 as hell to make it a public web server, How to open port 80 in CentOS 7?

Welcome to Ask DevOps!
You can find quick one line answers to popular DevOps, Amazon AWS, Microsoft Azure, Google cloud services, tools & basic to advanced Linux questions!
DevOps Tools list