Information
HTTP or web servers provide the ability to host web site content.
Rationale:
Unless there is a need to run the system as a web server, it is recommended that the package be removed to reduce the potential attack surface.
Notes:
Several http servers exist. apache, apache2, lighttpd, and nginx are example packages that provide an HTTP server.
These and other packages should also be audited, and removed if not required.
Solution
Run the following command to remove httpd:
# yum remove httpd