PearsonVue

Each year millions of people around the world take an exam with Pearson VUE. Chances are you, or someone you know, has recently tested with us. Your neighbor, the computer programmer ... your dad’s nurse, children’s teacher, real estate agent or college grad who wants to go to business school ... all demonstrate their knowledge, skill and commitment when they test with Pearson VUE.

Get Started
How to Install Apache on CentOS

How to Install Apache on CentOS

Apache is a free, open source and popular HTTP Server that runs on Unix-like operating systems including Linux and also Windows OS. Since its release 20 years ago, it has been the most popular web server powering several sites on the Internet. It is easy to install and configure to host single or multiple websites on a same Linux or Windows server.
In this article, we will explain how to install, configure and manage Apache HTTP web server on a CentOS.

1. First update the system software packages to the latest version.

 yum update

Yum Update
2. Next, install Apache HTTP server from the default software repositories using the YUM Package  Manager.

 yum install httpd

Yum Install httpd

3. Once Apache web server installed, you can start it first time and enable it to start automatically at system boot.

 systemctl start httpd
 systemctl enable httpd

Systemctl Start

 systemctl status httpd

Systemctl Status

Configure firewalld to Allow Apache Traffic

4. By default, CentOS  built-in firewall is set to block Apache traffic. To allow web traffic on Apache, update the system firewall rules to permit inbound packets on HTTP and HTTPS using the commands below.

 firewall-cmd --zone=public  --add-service=http --permanent
 firewall-cmd --zone=public  --add-service=https --permanent
 firewall-cmd --reload

Firewall-cmd

Test Apache HTTP Server on CentOS

5.Now you can verify Apache server by going to the following URL, a default Apache page will be shown.

 Server Name OR IP

Test Http

 

Hamed Salami

Just another networker,certified network specialist with B.Sc. in Computer engineering and experience of advanced networking specialized.Extensive experience in network design, configuration, support as well as troubleshooting complex networking issues. practicing high-availability, faster convergence and network security to protect data with purposeful Network Architecture, Capacity Planning and Best Practices.

Comments

Leave a comment

Subscribe to the best creative feed.

Don't worry, we don't spam

Follow on Facebook
Follow on Twitter

Most Viewed Posts

Most Have Comments