- Instalacja Apache.
sudo yum update httpd
sudo yum install httpd
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload
2. Sprawdzenie działania
sudo systemctl start httpd
sudo systemctl status httpd
http://your_server_ip

3. Zarzadzanie procesem Apache
sudo systemctl stop httpd
sudo systemctl start httpd
sudo systemctl restart httpd
sudo systemctl reload httpd
Apache będzie startował po bootowaniu gdy damy polecenie jak niżej (enable)
sudo systemctl disable httpd
sudo systemctl enable httpd