15.2 Installing the Apache HTTP Server

To install the Apache HTTP server:

  1. Enter the following command:

    # yum install httpd
  2. Start the server, and configure it to start after system reboots:

    # service httpd start
    # chkconfig httpd on
  3. Check for configuration errors:

    # service httpd configtest