1. Intro
How to Install httpd(apache2) on CentOS 7
2. Command
– Install
yum install httpd
– Add Service and Start Service
systemctl enable httpd
systemctl start httpd
– Add firewall rule
firewall-cmd –permanent –zone=public –add-service=http,https
firewall-cmd –reload