Instalar apache en CentOS 7
Apache es un servidor de páginas web, en Centos 7 se instala en /etc/httpd
yum install httpd
chkconfig httpd on
Configurar para que inicie automaticamente el servicio
systemctl enable httpd.service
Iniciar servicio
systemctl start httpd.service
Reiniciar servicio
systemctl restart httpd.service
Verificar version de apache
httpd -v
Abrir puertos firewall
firewall-cmd ––permanent ––zone=public ––add-service=http
firewall-cmd ––permanent ––zone=public ––add-service=https
…reiniciar firewall
firewall-cmd ––reload