Part 2: Apache Server Installation on Cent OS –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:
- AMD Quad Core Processor / Intel Quad Core Processor
- 4 Cores x 2.1 GHz
- 4GB DDR3 RAM Memory – 8GB DDR3 RAM Memory (preferable)
- 36GB to 100GB Hard Drive
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
- Install Apache Server
yum install httpd
This is normally pre-installed with CENTOS
Configuring Apache Server on CentOS, RedHat or Linux
- 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
- 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