O'Reilly logo

Learning Red Hat Enterprise Linux & Fedora, Fourth Edition by Bill McCarty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running Apache

Installing and configuring the Apache web server is not difficult. Once your web server is up and running, other Internet users can view and download documents within the web-enabled directories on your Linux system. This section explains the installation and configuration of Apache, the most popular web server on the Internet.

Installing Apache

Use the Package Management Tool to install the Web Server package group, which contains the Apache web server. This package group contains over two dozen optional packages. Unless you specifically require the support they provide, you should deselect them before initiating the installation. However, you should not generally deselect the optional redhat-config-httpd package, which is helpful in configuring Apache.

Tip

When you install Apache, the procedure may fail owing to missing packages. It appears that Red Hat’s developers erroneously specified some required packages in the Apache web server package group as optional. Select the following packages for installation and try again:

  • commons-logging

  • xerces-j

  • jakarta-regexp

  • bcel

  • redhat-java-rpm-scripts

  • xalan-j

Configuring Apache

Configuring a web server can be as easy or as difficult as you choose. Like other web servers, Apache provides seemingly countless options. As distributed with Red Hat Enterprise Linux and Fedora Core, Apache has a default configuration that generally requires only a little tweaking before use. Apache’s configuration files reside in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required