Part 2: Apache Server Installation on Cent OS –Dedicated Server

dedicated server

Apache is an opensource HTTP Server for Windows and Linux Operating system that is required to run various programming language frameworks.

A full description of Apache can be found on its parent website httpd.apache.org.

Hardware Requirements for installing Apache:

Version of Apache:

This installation guide is written for Apache server 2.2.3 but your installation version may vary. Kindly check the version before proceeding with the document.

Installing Apache Server on CentOS, RedHat or Linux

  1. Install Apache Server
    yum install httpd
    This is normally pre-installed with CENTOS

Configuring Apache Server on CentOS, RedHat or Linux

Configure Server

  1. Set Apache to start on system boot-up
  • Add this command: chkconfig –levels 235 httpd on

2. Start virtual host on port 80

  • Open httpd configuration file located at/etc/httpd/conf/httpd.conf
  • Comment out the line containing the text NameVirtualHost *:80
  • Save the file and restart Apache Server daemon
    service httpd restart
    Attention: Ignore “NameVirtualHost *:80 has no VirtualHosts” warning.

Test Apache Server on CentOS, RedHat or Linux

virtual machine

  1. Visit localhost in your web browser.  You should see an Apache Test Page.

This was second part of the Cent OS installation series. Stick around for more tutorials. Or check out our latest products on Memory4Less.com

 

Author: Admin

Computer & Server accessories & parts retailer.

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *