Book Image

Learning RHEL Networking

By : Andrew Mallett, Adam Miller
Book Image

Learning RHEL Networking

By: Andrew Mallett, Adam Miller

Overview of this book

Table of Contents (18 chapters)
Learning RHEL Networking
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring the httpd service


The Apache httpd web server can serve pages to clients on the Internet or locally on our internal intranet, so don't feel that you will have to necessarily ramp up security if you are deploying a web server. Of course, if the website is to be facing the Internet, additional security and isolation of this service may be required. However, we are working in a lab environment and will focus more on the configuration of the web server.

Installing Apache 2.4

The required packages are unlikely to be installed by default, so we will need to at least add the httpd package. Additionally, you may like to add the documentation. Consider only adding the documentation to a development server; I would not recommend adding it to a production server. We will add both packages to a server as follows:

$ sudo yum install httpd httpd-manual

Even at this stage, with so little effort added, we can start our service and browser to the web server using the following commands:

$ sudo...