INSTALL revision c6db3f5916ebd715971c3db837be9143394f8aa9
2N/A
2N/A APACHE INSTALLATION OVERVIEW
2N/A
2N/A Quick Start - Unix
2N/A ------------------
2N/A
2N/A For complete installation documentation, see [ht]docs/manual/install.html or
2N/A http://httpd.apache.org/docs-2.0/install.html
2N/A
2N/A $ ./configure --prefix=PREFIX
2N/A $ make
2N/A $ make install
2N/A $ PREFIX/bin/apachectl start
2N/A
2N/A NOTES: * Replace PREFIX with the filesystem path under which
2N/A Apache should be installed. A typical installation
2N/A might use "/usr/local/apache2" for PREFIX (without the
2N/A quotes).
2N/A
2N/A * If you are building on FreeBSD, be aware that threads will
2N/A be disabled and the prefork MPM will be used by default,
2N/A as threads do not work well with Apache on FreeBSD. If
2N/A you wish to try a threaded Apache on FreeBSD anyway, use
2N/A "./configure --enable-threads".
2N/A
2N/A * If you are building on Mac OS X (Darwin), make sure to
2N/A use libtool 1.4.2 or newer.
2N/A
2N/A * If you are a developer building Apache directly from CVS,
2N/A you will need to run ./buildconf before running configure.
2N/A
2N/A For a short impression of what possibilities you have, here is a
2N/A typical example which configures Apache for the installation tree
2N/A /sw/pkg/apache with a particular compiler and flags plus the two
2N/A additional modules mod_rewrite and mod_speling for later loading
2N/A through the DSO mechanism:
2N/A
2N/A $ CC="pgcc" CFLAGS="-O2" \
2N/A ./configure --prefix=/sw/pkg/apache \
2N/A --enable-rewrite=shared \
2N/A --enable-speling=shared
2N/A
2N/A The easiest way to find all of the configuration flags for Apache 2.0
2N/A is to run ./configure --help.
2N/A
2N/A
2N/A Quick Start - Windows
2N/A ---------------------
2N/A
2N/A For complete documentation, see [ht]docs/manual/platform/windows.html or
2N/A http://httpd.apache.org/docs-2.0/platform/windows.html.
2N/A
2N/A The Apache/Win32 binaries are primarily distributed as a Windows Installer
2N/A package (.msi), and may be available as a .zip file as well. These packages
2N/A are named apache-2.0.xx-win32-x86.msi and apache-2.0.xx-win32-x86.zip.
2N/A Please choose the .msi package if at all possible.
2N/A
2N/A If you have unpacked a source distribution (named httpd-2.0-xx.zip, without
2N/A any -win32-x86 notation) you must compile the package yourself, see the links
2N/A mentioned above. Unless you intended to do this, please look again for the
2N/A binary package from http://www.apache.org/dist/httpd/binaries/win32/ and
2N/A install that .msi (or .zip package, if you must.)
2N/A
2N/A If you have unpacked this binary distribution from the .zip package, you
_must_ edit the conf/httpd.conf file (with notepad or another text editor)
to reflect the correct ServerName, Domain, and directory paths. Search for
the text "@@" to discover what you must edit. To install and start the
service after you have corrected the httpd.conf file, use the command
bin\Apache -k install
bin\Apache -k start
The .msi package configures the httpd.conf file, and installs and starts
the Apache2 service for you. It also installs plenty of useful shortcuts
and the taskbar ApacheMonitor. We strongly encourage you to use it.
Postscript
----------
The Apache HTTP Server group cannot field user's installation questions.
There are many valuable forums to help you get started. Please refer your
questions to the appropriate forum, such as the Users Mailing List at
http://httpd.apache.org/userslist.html or the usenet newsgroups
comp.infosystems.www.servers.unix or
comp.infosystems.www.servers.ms-windows.
Thanks for using the Apache HTTP Server, version 2.0.
The Apache Software Foundation
http://www.apache.org/