Installing Apache and serving web pages

In this recipe, we will learn how to install and configure the Apache web server to enable the serving of static web pages. Apache is one of the world's most popular open source web servers. It runs as the backend for over half of all the Internet's web sites and can be used to serve both static and dynamic web pages. Commonly referred to as httpd, it supports an extensive range of features. It is the purpose of this recipe to show you how easily it can be installed using the YUM package manager so that you can maintain your server with the latest security updates. Apache 2.4 is available on CentOS 7.

Getting ready

To complete this recipe, you will require a working installation of the CentOS 7 operating system ...

Get Linux: Powerful Server Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.