Apache is an HTTP server. It can be used for multiple operating systems. CentOS is one of these operating system. It is open source and founded by Apache Software Foundation which comprises of an open community for web developers. The method for setting up the Apache server will require you to start this server first and then test the set-up. To complete the steps for installation however, you need to be logged in.
The Apache Server is set up on the CentOS by default. It can be installed manually using the following command: # yum install httpd. Whenever your machine boots up with this command, you will need to configure the Apache services to start. The server is started using the command: # apachectl start. After this, you need to test this server. To do so, you must type in http://localhost in the browser. You will find a test page when your installation is done perfectly.