How to Install Apache Web Server on CentOS 7
Posted: 13 Apr 2020, 21:49
How to Install Apache Web Server on CentOS 7
Installing Apache on CentOS
1: Update Software Versions List
2: Install Apache
3: Activate Apache
4: Start Apache start when the system boots
5: Verify Apache Service Status
6: Configure firewalld to Allow Apache Traffic
7: Open Page in Browser
Installing Apache on CentOS
1: Update Software Versions List
Code: Select all
sudo yum update
Code: Select all
sudo yum install httpd
Code: Select all
sudo systemctl start httpd
Code: Select all
sudo systemctl enable httpd
Code: Select all
sudo systemctl status httpd
Code: Select all
sudo firewall-cmd --zone=public --permanent --add-service=http
Code: Select all
sudo firewall-cmd --zone=public --permanent --add-service=https
Code: Select all
sudo firewall-cmd --reload
Code: Select all
http://IP Address/