How To's

Install Apache CentOS 6

3,098 views · 1 found this helpful

Was this helpful?

Step 1: Install httpd

yum install httpd

This will connect to the nearest CentoOS Mirror, download and install the Apache httpd service.
It will come with a default welcome page.

Step 2: Start the service httpd

service httpd start

You should now see the default welcome page on http://1.2.3.4:80 in your browser with 1.2.3.4 being your IP.

Optional: Set httpd to start on system boot

chkconfig httpd on

You have now completed the basic setup of a web server.

  • Updated

← All articles

Still stuck?

Our engineers answer tickets directly, 24/7.