Installing the Apache web server with CGI/Perl, PHP, configuring mod_perl, and preparing httpd for a production environment
In this recipe we will learn how to install the Apache web server to enable dynamic pages and configure httpd
in readiness for a production environment.
Apache is one of the world's most popular web servers and it can be used to serve both static and dynamic web pages. Commonly referred to as httpd
, Apache is an open source that supports an extensive range of features, but it is the purpose of this recipe to show you how easily it can be installed using the Yum package manager in order that you can maintain your server with the latest security updates.
Getting ready
To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges, a console based text editor of your choice, and a connection to the Internet in order to facilitate the download of additional packages. It is expected that your server will be using a static...