How to Install Apache in CentOS 6
- Home /
- Cloud Hosting /
-
How to Install Apache in CentOS 6
Verified and Tested 02/25/15
Introduction
In this How-To, we will walk you through the install of Apache in CentOS 6.
Apache is a web server that is very popular in Linux systems and over the Internet. It is used by many Web Hosting companies world wide because of its popularity and efficiency in hosting sites over the World Wide Web.
Prerequisites
A cloud server with CentOS 6 already installed. If you currently do not have a server, consider one of the many affordable cloud servers from Atlantic.Net.
Installing Apache on CentOS 6
Install Apache with the following command:
sudo yum install httpd
Start Apache with the following command:
service httpd start
You will want the Apache service to start on start-up/reboot with the following command:
chkconfig httpd on
You can now verify that Apache is installed correctly by typing http:// and your IP on your browser.
http://YOUR.IP.ADD.RESS
You should see the following screenshot in your browser:
Congratulations! You have just installed Apache on your CentOS 6 Cloud Server. Thank you for following along in this How-To and check back with us for any new updates.