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 ...
Get Learning Red Hat Enterprise Linux & Fedora, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.