Aceess:
ssh root@ip-address
Update:
sudo yum update
install apache:
sudo yum install httpd
enable http and https in the firewall:
1 - sudo firewall-cmd --permanent --add-service=http
2 - sudo firewall-cmd --permanent --add-service=https
3 - sudo firewall-cmd --reload
start apache:
sudo systemctl start httpd
enable apache after each reboot:
sudo systemctl enable httpd
restart apache:
sudo systemctl restart httpd