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.
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...