Apache download rpm
To configure the source tree using all the default options, simply type. To change the default options, configure accepts a variety of variables and command line options. The most important option is the location --prefix where Apache is to be installed later, because Apache has to be configured for this location to work correctly.
More fine-tuned control of the location of files is possible with additional configure options. Also at this point, you can specify which features you want included in Apache by enabling and disabling modules. Apache comes with a wide range of modules included by default. They will be compiled as shared objects DSOs which can be loaded or unloaded at runtime.
Similarly, you can disable modules with the --disable- module option. Be careful when using these options, since configure cannot warn you if the module you specify does not exist; it will simply ignore the option.
In addition, it is sometimes necessary to provide the configure script with extra information about the location of your compiler, libraries, or header files. This is done by passing either environment variables or command line options to configure.
While the Apache httpd project does not currently create binary RPMs for the various distributions out there, it is easy to build your own binary RPMs from the canonical Apache httpd tarball. This document explains how to build, install, configure and run Apache httpd 2.
RPMs can be built directly from the Apache httpd source tarballs using the following command:. Corresponding "-devel" packages will be required to be installed on your build system prior to building the RPMs, the rpmbuild command will automatically calculate what RPMs are required and will list any dependencies that are missing on your system.
These "-devel" packages will not be required after the build is completed, and can be safely removed. Install it as follows:. Self contained modules are included with the server. Modules that depend on external libraries are provided as separate RPMs to install if needed. It is possible to configure additional instances of the Apache httpd server running independently alongside each other on the same machine.
0コメント