mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
New Japanese translation.
Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp> Reviewed by: Yoshiki Hayashi git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95427 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1,634 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta name="generator" content="HTML Tidy, see www.w3.org" />
|
||||
|
||||
<title>Compiling and Installing Apache</title>
|
||||
</head>
|
||||
<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
|
||||
vlink="#000080" alink="#FF0000">
|
||||
<!--#include virtual="header.html" -->
|
||||
|
||||
<h1 align="CENTER">Compiling and Installing</h1>
|
||||
|
||||
<p>This document covers compilation and installation of Apache
|
||||
on Unix and Unix-like systems only. For compiling and
|
||||
installation on Windows, see <a
|
||||
href="platform/windows.html">Using Apache with Microsoft
|
||||
Windows</a>. For other platforms, see the <a
|
||||
href="platform/">platform</a> documentation.</p>
|
||||
|
||||
<p>Apache 2.0's configuration and installation environment has
|
||||
changed completely from Apache 1.3. Apache 1.3 used a custom
|
||||
set of scripts to achieve easy installation. Apache 2.0 now
|
||||
uses libtool and autoconf to create an environment that looks
|
||||
like many other Open Source projects.</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="#overview">Overview for the impatient</a></li>
|
||||
|
||||
<li><a href="#requirements">Requirements</a></li>
|
||||
|
||||
<li><a href="#download">Download</a></li>
|
||||
|
||||
<li><a href="#extract">Extract</a></li>
|
||||
|
||||
<li>
|
||||
<a href="#configure">Configuring the source tree</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="#environment">Environment Variables</a></li>
|
||||
|
||||
<li><a href="#output">autoconf Output Options</a></li>
|
||||
|
||||
<li><a href="#pathnames">Pathnames</a></li>
|
||||
|
||||
<li><a href="#modules">Modules</a></li>
|
||||
|
||||
<li><a href="#suexec">Suexec</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li><a href="#compile">Build</a></li>
|
||||
|
||||
<li><a href="#install">Install</a></li>
|
||||
|
||||
<li><a href="#customize">Customize</a></li>
|
||||
|
||||
<li><a href="#test">Test</a></li>
|
||||
</ul>
|
||||
<hr />
|
||||
|
||||
<h3><a id="overview" name="overview">Overview for the
|
||||
impatient</a></h3>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="#download">Download</a></td>
|
||||
|
||||
<td><code>$ lynx
|
||||
http://www.apache.org/dist/httpd/httpd-2_0_<em>NN</em>.tar.gz</code>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#extract">Extract</a></td>
|
||||
|
||||
<td><code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
|
||||
$ tar xvf httpd-2_0_<em>NN</em>.tar</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#configure">Configure</a></td>
|
||||
|
||||
<td><code>$ ./configure --prefix=<em>PREFIX</em></code>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#compile">Compile</a></td>
|
||||
|
||||
<td><code>$ make</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#install">Install</a></td>
|
||||
|
||||
<td><code>$ make install</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#customize">Customize</a></td>
|
||||
|
||||
<td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#test">Test</a></td>
|
||||
|
||||
<td><code>$ <em>PREFIX</em>/bin/apachectl start</code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p><em>NN</em> must be replaced with the current minor version
|
||||
number, and <em>PREFIX</em> must be replaced with the
|
||||
filesystem path under which the server should be installed. If
|
||||
<em>PREFIX</em> is not specified, it defaults to
|
||||
<code>/usr/local/apache2</code>.</p>
|
||||
|
||||
<p>Each section of the compilation and installation process is
|
||||
described in more detail below, beginning with the requirements
|
||||
for compiling and installing Apache HTTPD.</p>
|
||||
|
||||
<h3><a id="requirements"
|
||||
name="requirements">Requirements</a></h3>
|
||||
|
||||
<p>The following requirements exist for building Apache:</p>
|
||||
|
||||
<ul>
|
||||
<li>Disk Space<br />
|
||||
<br />
|
||||
Make sure you have at least 50 MB of temporary free disk
|
||||
space available. After installation Apache occupies
|
||||
approximately 10 MB of disk space. The actual disk space
|
||||
requirements will vary considerably based on your chosen
|
||||
configuration options and any third-party modules.<br />
|
||||
<br />
|
||||
</li>
|
||||
|
||||
<li>ANSI-C Compiler and Build System<br />
|
||||
<br />
|
||||
Make sure you have an ANSI-C compiler installed. The <a
|
||||
href="http://www.gnu.org/software/gcc/gcc.html">GNU C
|
||||
compiler (GCC)</a> from the <a
|
||||
href="http://www.gnu.org/">Free Software Foundation (FSF)</a>
|
||||
is recommended (version 2.7.2 is fine). If you don't have GCC
|
||||
then at least make sure your vendor's compiler is ANSI
|
||||
compliant. In addition, your <code>PATH</code> must contain
|
||||
basic build tools such as <code>make</code>.<br />
|
||||
<br />
|
||||
</li>
|
||||
|
||||
<li>Accurate time keeping<br />
|
||||
<br />
|
||||
Elements of the HTTP protocol are expressed as the time of
|
||||
day. So, it's time to investigate setting some time
|
||||
synchronization facility on your system. Usually the ntpdate
|
||||
or xntpd programs are used for this purpose which are based
|
||||
on the Network Time Protocol (NTP). See the Usenet newsgroup
|
||||
<a
|
||||
href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a>
|
||||
and the <a href="http://www.eecis.udel.edu/~ntp/">NTP
|
||||
homepage</a> for more details about NTP software and public
|
||||
time servers.<br />
|
||||
<br />
|
||||
</li>
|
||||
|
||||
<li><a href="http://www.perl.org/">Perl 5</a>
|
||||
[OPTIONAL]<br />
|
||||
<br />
|
||||
For some of the support scripts like <a
|
||||
href="programs/apxs.html">apxs</a> or <a
|
||||
href="programs/dbmmanage.html">dbmmanage</a> (which are
|
||||
written in Perl) the Perl 5 interpreter is required (versions
|
||||
5.003 and 5.004 are fine). If no such interpreter is found by
|
||||
the `configure' script there is no harm. Of course, you still
|
||||
can build and install Apache 2.0. Only those support scripts
|
||||
cannot be used. If you have multiple Perl interpreters
|
||||
installed (perhaps a Perl 4 from the vendor and a Perl 5 from
|
||||
your own), then it is recommended to use the --with-perl
|
||||
option (see below) to make sure the correct one is selected
|
||||
by ./configure.<br />
|
||||
<br />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3><a id="download" name="download">Download</a></h3>
|
||||
|
||||
<p>Apache can be downloaded from the <a
|
||||
href="http://www.apache.org/dist/httpd/">Apache Software
|
||||
Foundation download site</a> or from a <a
|
||||
href="http://www.apache.org/dyn/closer.cgi/httpd/">nearby
|
||||
mirror</a>.</p>
|
||||
|
||||
<p>Version numbers that end in <code>alpha</code> indicate
|
||||
early pre-test versions which may or may not work. Version
|
||||
numbers ending in <code>beta</code> indicate more reliable
|
||||
releases that still require further testing or bug fixing. If
|
||||
you wish to download the best available production release of
|
||||
the Apache HTTP Server, you should choose the latest version
|
||||
with neither <code>alpha</code> nor <code>beta</code> in its
|
||||
filename.</p>
|
||||
|
||||
<p>After downloading, especially if a mirror site is used, it
|
||||
is important to verify that you have a complete and unmodified
|
||||
version of the Apache HTTP Server. This can be accomplished by
|
||||
testing the downloaded tarball against the PGP signature. This,
|
||||
in turn, is a two step procedure. First, you must obtain the
|
||||
<code>KEYS</code> file from the <a
|
||||
href="http://www.apache.org/dist/httpd/">Apache distribution
|
||||
site</a>. (To assure that the <code>KEYS</code> file itself has
|
||||
not been modified, it may be a good idea to use a file from a
|
||||
previous distribution of Apache or import the keys from a
|
||||
public key server.) The keys are imported into your personal
|
||||
key ring using one of the following commands (depending on your
|
||||
pgp version):</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ pgp < KEYS</code>
|
||||
</blockquote>
|
||||
or
|
||||
|
||||
<blockquote>
|
||||
<code>$ gpg --import KEYS</code>
|
||||
</blockquote>
|
||||
|
||||
<p>The next step is to test the tarball against the PGP
|
||||
signature, which should always be obtained from the <a
|
||||
href="http://www.apache.org/dist/httpd/">main Apache
|
||||
website</a>. The signature file has a filename identical to the
|
||||
source tarball with the addition of <code>.asc</code>. Then you
|
||||
can check the distribution with one of the following commands
|
||||
(again, depending on your pgp version):</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ pgp httpd-2_0_<em>NN</em>.tar.gz.asc</code>
|
||||
</blockquote>
|
||||
or
|
||||
|
||||
<blockquote>
|
||||
<code>$ gpg --verify httpd-2_0_<em>NN</em>.tar.gz.asc</code>
|
||||
</blockquote>
|
||||
You should receive a message like<br />
|
||||
<br />
|
||||
|
||||
|
||||
<blockquote>
|
||||
<code>Good signature from user "Martin Kraemer
|
||||
<martin@apache.org>".</code>
|
||||
</blockquote>
|
||||
|
||||
<p>Depending on the trust relationships contained in your key
|
||||
ring, you may also receive a message saying that the
|
||||
relationship between the key and the signer of the key cannot
|
||||
be verified. This is not a problem if you trust the
|
||||
authenticity of the <code>KEYS</code> file.</p>
|
||||
|
||||
<h3><a id="extract" name="extract">Extract</a></h3>
|
||||
|
||||
<p>Extracting the source from the Apache HTTPD tarball is a
|
||||
simple matter of uncompressing, and then untarring:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
|
||||
$ tar xvf httpd-2_0_<em>NN</em>.tar</code>
|
||||
</blockquote>
|
||||
|
||||
<p>This will create a new directory under the current directory
|
||||
containing the source code for the distribution. You should
|
||||
<code>cd</code> into that directory before proceeding with
|
||||
compiling the server.</p>
|
||||
|
||||
<h3><a id="configure" name="configure">Configuring the source
|
||||
tree</a></h3>
|
||||
|
||||
<p>The next step is to configure the Apache source tree for
|
||||
your particular platform and personal requirements. This is
|
||||
done using the script <code>configure</code> included in the
|
||||
root directory of the distribution. (Developers downloading the
|
||||
CVS version of the Apache source tree will need to have
|
||||
<code>autoconf</code> and <code>libtool</code> installed and
|
||||
will need to run <code>buildconf</code> before proceeding with
|
||||
the next steps. This is not necessary for official
|
||||
releases.)</p>
|
||||
|
||||
<p>To configure the source tree using all the default options,
|
||||
simply type <code>./configure</code>. To change the default
|
||||
options, <code>configure</code> accepts a variety of variables
|
||||
and command line options. Environment variables are generally
|
||||
placed before the <code>./configure</code> command, while other
|
||||
options are placed after. The most important option here is the
|
||||
location prefix where Apache is to be installed later, because
|
||||
Apache has to be configured for this location to work
|
||||
correctly. But there are a lot of other options available for
|
||||
your pleasure.</p>
|
||||
|
||||
<p>For a short impression of what possibilities you have, here
|
||||
is a typical example which compiles Apache for the installation
|
||||
tree /sw/pkg/apache with a particular compiler and flags plus
|
||||
the two additional modules mod_rewrite and mod_speling for
|
||||
later loading through the DSO mechanism:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ CC="pgcc" CFLAGS="-O2" \<br />
|
||||
./configure --prefix=/sw/pkg/apache \<br />
|
||||
--enable-rewrite=shared \<br />
|
||||
--enable-speling=shared</code>
|
||||
</blockquote>
|
||||
|
||||
<p>When configure is run it will take several minutes to test
|
||||
for the availability of features on your system and build
|
||||
Makefiles which will later be used to compile the server.</p>
|
||||
|
||||
<p>The easiest way to find all of the configuration flags for
|
||||
Apache is to run ./configure --help. What follows is a brief
|
||||
description of most of the arguments and environment
|
||||
variables.</p>
|
||||
|
||||
<h4><a id="environment" name="environment">Environment
|
||||
Variables</a></h4>
|
||||
|
||||
<p>The autoconf build process uses several environment
|
||||
variables to configure the build environment. In general, these
|
||||
variables change the method used to build Apache, but not the
|
||||
eventual features of the server. These variables can be placed
|
||||
in the environment before invoking <code>configure</code>, but
|
||||
it is usually easier to specify them on the
|
||||
<code>configure</code> command line as demonstrated in the
|
||||
example above.</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>CC=...</code></dt>
|
||||
|
||||
<dd>The name of the C compiler command.</dd>
|
||||
|
||||
<dt><code>CPPFLAGS=...</code></dt>
|
||||
|
||||
<dd>Miscellaneous C preprocessor and compiler options.</dd>
|
||||
|
||||
<dt><code>CFLAGS=...</code></dt>
|
||||
|
||||
<dd>Debugging and optimization options for the C
|
||||
compiler.</dd>
|
||||
|
||||
<dt><code>LDFLAGS=...</code></dt>
|
||||
|
||||
<dd>Miscellaneous options to be passed to the linker.</dd>
|
||||
|
||||
<dt><code>LIBS=...</code></dt>
|
||||
|
||||
<dd>Library location information ("-L" and "-l" options) to
|
||||
pass to the linker.</dd>
|
||||
|
||||
<dt><code>INCLUDES=...</code></dt>
|
||||
|
||||
<dd>Header file search directories ("-I<em>dir</em>").</dd>
|
||||
|
||||
<dt><code>TARGET=...</code> [Default: apache]</dt>
|
||||
|
||||
<dd>Name of the executable which will be built.</dd>
|
||||
|
||||
<dt><code>NOTEST_CPPFLAGS=...</code></dt>
|
||||
|
||||
<dt><code>NOTEST_CFLAGS=...</code></dt>
|
||||
|
||||
<dt><code>NOTEST_LDFLAGS=...</code></dt>
|
||||
|
||||
<dt><code>NOTEST_LIBS=...</code></dt>
|
||||
|
||||
<dd>These variables share the same function as their
|
||||
non-NOTEST namesakes. However, the variables are applied to
|
||||
the build process only after autoconf has performed its
|
||||
feature testing. This allows the inclusion of flags which
|
||||
will cause problems during feature testing, but must be used
|
||||
for the final compilation.</dd>
|
||||
|
||||
<dt><code>SHLIB_PATH=...</code></dt>
|
||||
|
||||
<dd>Options which specify shared library paths for the
|
||||
compiler and linker.</dd>
|
||||
</dl>
|
||||
|
||||
<h4><a id="output" name="output">autoconf Output
|
||||
Options</a></h4>
|
||||
|
||||
<dl>
|
||||
<dt><code>--help</code></dt>
|
||||
|
||||
<dd>Prints the usage message including all available options,
|
||||
but does not actually configure anything.</dd>
|
||||
|
||||
<dt><code>--quiet</code></dt>
|
||||
|
||||
<dd>Prevents the printing of the usual "checking..."
|
||||
messages.</dd>
|
||||
|
||||
<dt><code>--verbose</code></dt>
|
||||
|
||||
<dd>Prints much more information during the configuration
|
||||
process, including the names of all the files examined.</dd>
|
||||
</dl>
|
||||
|
||||
<h4><a id="pathnames" name="pathnames">Pathnames</a></h4>
|
||||
|
||||
<p>There are currently two ways to configure the pathnames
|
||||
under which Apache will install its files. First, you can
|
||||
specify a directory and have Apache install itself under that
|
||||
directory in its default locations.</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--prefix=<em>PREFIX</em></code> [Default:
|
||||
/usr/local/apache2]</dt>
|
||||
|
||||
<dd>Specifies the directory under which the Apache files will
|
||||
be installed.</dd>
|
||||
</dl>
|
||||
|
||||
<p>It is possible to specify that architecture-dependent files
|
||||
should be placed under a different directory.</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--exec-prefix=<em>EPREFIX</em></code> [Default:
|
||||
<em>PREFIX</em>]</dt>
|
||||
|
||||
<dd>Specifies the directory under which
|
||||
architecture-dependent files will be placed.</dd>
|
||||
</dl>
|
||||
|
||||
<p>The second, and more flexible way to configure the install
|
||||
path locations for Apache is using the
|
||||
<code>config.layout</code> file. Using this method, it is
|
||||
possible to separately specify the location for each type of
|
||||
file within the Apache installation. The
|
||||
<code>config.layout</code> file contains several example
|
||||
configurations, and you can also create your own custom
|
||||
configuration following the examples. The different layouts in
|
||||
this file are grouped into <code><Layout
|
||||
FOO>...</Layout></code> sections and referred to by
|
||||
name as in <code>FOO</code>.</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--enable-layout=<em>LAYOUT</em></code></dt>
|
||||
|
||||
<dd>Use the named layout in the <code>config.layout</code>
|
||||
file to specify the installation paths.</dd>
|
||||
</dl>
|
||||
|
||||
<p>Presently it is not possible to mix the
|
||||
<code>--enable-layout</code> and <code>--prefix</code> options.
|
||||
Nor is it possible to individually specify detailed pathnames
|
||||
on the <code>configure</code> command line. If you want just a
|
||||
basic install, you can simply use the <code>--prefix</code>
|
||||
option on its own. If you want to customize your install, you
|
||||
should edit the <code>config.layout</code> file and use the
|
||||
<code>--enable-layout</code> option.</p>
|
||||
|
||||
<h4><a id="modules" name="modules">Modules</a></h4>
|
||||
|
||||
<p>Apache is a modular server. Only the most basic
|
||||
functionality is included in the core server. Extended features
|
||||
are available in various modules. During the configuration
|
||||
process, you must select which modules to compile for use with
|
||||
your server. You can view a <a
|
||||
href="mod/index.html">list of modules</a> included in
|
||||
the documentation. Those modules with a <a
|
||||
href="mod/module-dict.html#Status">status</a> of "Base" are
|
||||
included by default and must be specifically disabled if you do
|
||||
not want them. Modules with any other status must be
|
||||
specifically enabled if you wish to use them.</p>
|
||||
|
||||
<p>There are two ways for a module to be compiled and used with
|
||||
Apache. Modules may be <em>statically compiled</em>, which
|
||||
means that they are permanently included in the Apache binary.
|
||||
Alternatively, if your operating system supports Dynamic Shared
|
||||
Objects (DSOs) and autoconf can detect that support, then
|
||||
modules may be <em>dynamically compiled</em>. DSO modules are
|
||||
stored separately from the Apache binary, and may be included
|
||||
or excluded from the server using the run-time configuration
|
||||
directives provided by <a href="mod/mod_so.html">mod_so</a>.
|
||||
The mod_so is automatically included in the server if any
|
||||
dynamic modules are included in the compilation. If you would
|
||||
like to make your server capable of loading DSOs without
|
||||
actually compiling any dynamic modules, you can explicitly
|
||||
<code>--enable-so</code>.</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--enable-<em>MODULE</em>[=shared]</code></dt>
|
||||
|
||||
<dd>Compile and include the module <em>MODULE</em>. The
|
||||
identifier <em>MODULE</em> is the <a
|
||||
href="mod/module-dict.html#ModuleIdentifier">Module
|
||||
Identifier</a> from the module documentation without the
|
||||
"_module" string. To compile the module as a DSO, add the
|
||||
option <code>=shared</code>.</dd>
|
||||
|
||||
<dt><code>--disable-<em>MODULE</em></code></dt>
|
||||
|
||||
<dd>Remove the module <em>MODULE</em> which would otherwise
|
||||
be compiled and included.</dd>
|
||||
|
||||
<dt><code>--enable-modules=<em>MODULE-LIST</em></code></dt>
|
||||
|
||||
<dd>Compile and include the modules listed in the
|
||||
space-separated <em>MODULE-LIST</em>.</dd>
|
||||
|
||||
<dt>
|
||||
<code>--enable-mods-shared=<em>MODULE-LIST</em></code></dt>
|
||||
|
||||
<dd>Compile and include the modules in the space-separated
|
||||
<em>MODULE-LIST</em> as dynamically loadable (DSO)
|
||||
modules.</dd>
|
||||
</dl>
|
||||
|
||||
<p>The <em>MODULE-LIST</em> in the
|
||||
<code>--enable-modules</code> and
|
||||
<code>--enable-mods-shared</code> options is usually a
|
||||
space-separated list of module identifiers. For example, to
|
||||
enable mod_dav and mod_info, you can either use</p>
|
||||
|
||||
<blockquote>
|
||||
<code>./configure --enable-dav --enable-info</code>
|
||||
</blockquote>
|
||||
|
||||
<p>or, equivalently,</p>
|
||||
|
||||
<blockquote>
|
||||
<code>./configure --enable-modules="dav info"</code>
|
||||
</blockquote>
|
||||
|
||||
<p>In addition, the special keywords <code>all</code> or
|
||||
<code>most</code> can be used to add all or most of the modules
|
||||
in one step. You can then remove any modules that you do not
|
||||
want with the <code>--disable-<em>MODULE</em></code> option.
|
||||
For example, to include all modules as DSOs with the exception
|
||||
of mod_info, you can use</p>
|
||||
|
||||
<blockquote>
|
||||
<code>./configure --enable-mods-shared=all
|
||||
--disable-info</code>
|
||||
</blockquote>
|
||||
|
||||
<p>In addition to the standard set of modules, Apache 2.0 also
|
||||
includes a choice of <a href="mpm.html">Multi-Processing
|
||||
Modules</a> (MPMs). One, and only one MPM must be included in
|
||||
the compilation process. The default MPMs for each platform are
|
||||
listed on the <a href="mpm.html">MPM documentation page</a>,
|
||||
but can be overridden on the <code>configure</code> command
|
||||
line.</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--with-mpm=<em>NAME</em></code></dt>
|
||||
|
||||
<dd>Choose the mpm <em>NAME</em>.</dd>
|
||||
</dl>
|
||||
|
||||
<h4><a id="suexec" name="suexec">Suexec</a></h4>
|
||||
|
||||
<p>Apache includes a support program called <a
|
||||
href="suexec.html">suexec</a> which can be used to isolate user
|
||||
CGI programs. However, if suexec is improperly configured, it
|
||||
can cause serious security problems. Therefore, you should
|
||||
carefully read and consider the <a href="suexec.html">suexec
|
||||
documentation</a> before implementing this feature.</p>
|
||||
|
||||
<h3><a id="compile" name="compile">Build</a></h3>
|
||||
|
||||
<p>Now you can build the various parts which form the Apache
|
||||
package by simply running the command:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ make</code>
|
||||
</blockquote>
|
||||
|
||||
<p>Please be patient here, since a base configuration takes
|
||||
approximately 3 minutes to compile under a Pentium III/Linux
|
||||
2.2 system, but this will vary widely depending on your
|
||||
hardware and the number of modules which you have enabled.</p>
|
||||
|
||||
<h3><a id="install" name="install">Install</a></h3>
|
||||
|
||||
<p>Now its time to install the package under the configured
|
||||
installation <em>PREFIX</em> (see <code>--prefix</code> option
|
||||
above) by running:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ make install</code>
|
||||
</blockquote>
|
||||
|
||||
<p>If you are upgrading, the installation will not overwrite
|
||||
your configuration files or documents.</p>
|
||||
|
||||
<h3><a id="customize" name="customize">Customize</a></h3>
|
||||
|
||||
<p>Next, you can customize your Apache HTTP server by editing
|
||||
the <a href="configuring.html">configuration files</a> under
|
||||
<em>PREFIX</em>/conf/.</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ vi <em>PREFIX</em>/conf/httpd.conf</code>
|
||||
</blockquote>
|
||||
|
||||
<p>Have a look at the Apache manual under <a
|
||||
href="./">docs/manual/</a> or <a
|
||||
href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs/</a>
|
||||
for a complete reference of available <a
|
||||
href="mod/directives.html">configuration directives</a>.</p>
|
||||
|
||||
<h3><a id="test" name="test">Test</a></h3>
|
||||
|
||||
<p>Now you can <a href="invoking.html">start</a> your Apache
|
||||
HTTP server by immediately running:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ <em>PREFIX</em>/bin/apachectl start</code>
|
||||
</blockquote>
|
||||
|
||||
<p>and then you should be able to request your first document
|
||||
via URL http://localhost/. The web page you see is located
|
||||
under the <a href="mod/core.html#documentroot">DocumentRoot</a>
|
||||
which will usually be <code><em>PREFIX</em>/htdocs/</code>.
|
||||
Then <a href="stopping.html">stop</a> the server again by
|
||||
running:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ <em>PREFIX</em>/bin/apachectl stop</code>
|
||||
</blockquote>
|
||||
<!--#include virtual="footer.html" -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
647
docs/manual/install.html.ja.jis
Normal file
647
docs/manual/install.html.ja.jis
Normal file
@@ -0,0 +1,647 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<title>Apache$B$N%3%s%Q%$%k$H%$%s%9%H!<%k(B</title>
|
||||
</head>
|
||||
<!-- English revision: 1.40 -->
|
||||
<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
|
||||
vlink="#000080" alink="#FF0000">
|
||||
<!--#include virtual="header.html" -->
|
||||
|
||||
<h1 align="center">$B%3%s%Q%$%k$H%$%s%9%H!<%k(B</h1>
|
||||
|
||||
<p>$B$3$NJ8=q$G07$&HO0O$O!"(BUnix $B$d(B Unix $B$KN`;w$7$?%7%9%F%`$G$N(B
|
||||
Apache $B$N%3%s%Q%$%k$H%$%s%9%H!<%k$G$9!#(B Windows $B$K$*$1$k(B
|
||||
$B%3%s%Q%$%k$H%$%s%9%H!<%k$K4X$7$F$O!V(B<a
|
||||
href="platform/windows.html">Microsoft
|
||||
Windows $B$G(B Apache $B$r;H$&(B</a>$B!W$r$4Mw2<$5$$!#(B
|
||||
$B$=$NB>$N%W%i%C%H%[!<%`$K4X$7$F$O!V(B<a
|
||||
href="platform/">$B%W%i%C%H%[!<%`(B</a>$B!W$r$4Mw2<$5$$!#(B</p>
|
||||
|
||||
<p> Apache 2.0 $B$N@_Dj$H%$%s%9%H!<%k$N4D6-$O!"(BApache 1.3 $B$H$O(B
|
||||
$B40A4$K0[$J$k$b$N$K$J$j$^$7$?!#4JC1$K%$%s%9%H!<%k$G$-$k$h$&$K!"(B
|
||||
Apache 1.3 $B$G$OFC@=%9%/%j%W%H$r;H$C$F$$$^$7$?!#(B
|
||||
Apache 2.0 $B$G$OB>$N(B Open Source $B%W%m%8%'%/%H$HF1MM$N4D6-$K(B
|
||||
$B$9$k$?$a$K(B libtool $B$H(B autoconf $B$r;H$&$h$&$K$J$C$F$$$^$9!#(B</p>
|
||||
|
||||
<ul>
|
||||
<li><a href="#overview">$B35MW(B ($B$;$C$+$A$J?M8~$1(B)</a></li>
|
||||
|
||||
<li><a href="#requirements">$BI,MW$J$b$N(B</a></li>
|
||||
|
||||
<li><a href="#download">$B%@%&%s%m!<%I(B</a></li>
|
||||
|
||||
<li><a href="#extract">$BE83+(B</a></li>
|
||||
|
||||
<li>
|
||||
<a href="#configure">$B%=!<%9%D%j!<$N@_Dj(B</a>
|
||||
|
||||
<ul>
|
||||
<li><a href="#environment">$B4D6-JQ?t(B</a></li>
|
||||
|
||||
<li><a href="#output">autoconf $B$N=PNO%*%W%7%g%s(B</a></li>
|
||||
|
||||
<li><a href="#pathnames">$B%Q%9L>(B</a></li>
|
||||
|
||||
<li><a href="#modules">$B%b%8%e!<%k(B</a></li>
|
||||
|
||||
<li><a href="#suexec">Suexec</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li><a href="#compile">$B%S%k%I(B</a></li>
|
||||
|
||||
<li><a href="#install">$B%$%s%9%H!<%k(B</a></li>
|
||||
|
||||
<li><a href="#customize">$B%+%9%?%^%$%:(B</a></li>
|
||||
|
||||
<li><a href="#test">$B%F%9%H(B</a></li>
|
||||
</ul>
|
||||
<hr />
|
||||
|
||||
<h3><a id="overview" name="overview">$B35MW(B
|
||||
($B$;$C$+$A$J?M8~$1(B)</a></h3>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="#download">$B%@%&%s%m!<%I(B</a></td>
|
||||
|
||||
<td><code>$ lynx
|
||||
http://www.apache.org/dist/httpd/httpd-2_0_<em>NN</em>.tar.gz</code>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#extract">$BE83+(B</a></td>
|
||||
|
||||
<td><code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
|
||||
$ tar xvf httpd-2_0_<em>NN</em>.tar</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#configure">$B@_Dj(B</a></td>
|
||||
|
||||
<td><code>$ ./configure --prefix=<em>PREFIX</em></code>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#compile">$B%3%s%Q%$%k(B</a></td>
|
||||
|
||||
<td><code>$ make</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#install">$B%$%s%9%H!<%k(B</a></td>
|
||||
|
||||
<td><code>$ make install</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#customize">$B%+%9%?%^%$%:(B</a></td>
|
||||
|
||||
<td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href="#test">$B%F%9%H(B</a></td>
|
||||
|
||||
<td><code>$ <em>PREFIX</em>/bin/apachectl start</code>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p><em>NN</em> $B$O:G?7$N%^%$%J!<%P!<%8%g%s%J%s%P!<$K!"(B
|
||||
<em>PREFIX</em> $B$O%$%s%9%H!<%k$9$k%5!<%P$G$N%U%!%$%k%7%9%F%`$N%Q%9$K!"(B
|
||||
$BCV$-49$($F$/$@$5$$!#(B<em>PREFIX</em> $B$r;XDj$7$J$+$C$?>l9g$O!"(B
|
||||
$B%G%U%)%k%H$N(B <code>/usr/local/apache2</code> $B$K$J$j$^$9!#(B</p>
|
||||
|
||||
<p>Apache HTTPD $B$N%3%s%Q%$%k$H%$%s%9%H!<%k$KI,MW$J$b$N$r$O$8$a$H$7$F!"(B
|
||||
$BJT=8$H%$%s%9%H!<%k%W%m%;%9$G$N$=$l$>$l$N9`$O(B
|
||||
$B<!$K>\$7$/5-=R$5$l$F$$$^$9!#(B</p>
|
||||
|
||||
<h3><a id="requirements"
|
||||
name="requirements">$BI,MW$J$b$N(B</a></h3>
|
||||
|
||||
<p>Apache $B$N%S%k%I$K$O<!$N$b$N$,I,MW$G$9(B:</p>
|
||||
|
||||
<ul>
|
||||
<li>$B%G%#%9%/%9%Z!<%9(B<br />
|
||||
<br />
|
||||
$B%G%#%9%/$K>/$J$/$H$b(B 50 MB $B$N0l;~E*$J6u$-MFNL$,$"$k$h$&$K(B
|
||||
$B5$$rIU$1$F$/$@$5$$!#%$%s%9%H!<%k8e$O(B Apache $B$O(B 10 MB $BDxEY$N(B
|
||||
$B%G%#%9%/%9%Z!<%9$r@j$a$^$9!#<B:]$KI,MW$K$J$k%G%#%9%/%9%Z!<%9$O!"(B
|
||||
$B@_Dj%*%W%7%g%s$d%5!<%I%Q!<%F%#!<@=%b%8%e!<%k$r$I$&A*Br$9$k$+$K$h$C$F(B
|
||||
$BBg$-$/JQ$o$k$G$7$g$&!#(B<br />
|
||||
<br />
|
||||
</li>
|
||||
|
||||
<li>ANSI-C $B%3%s%Q%$%i$H%S%k%I%7%9%F%`(B<br />
|
||||
<br />
|
||||
ANSI-C $B%3%s%Q%$%i$r%$%s%9%H!<%k$7$F$*$$$F2<$5$$!#$*A&$a$O(B <a
|
||||
href="http://www.gnu.org/">Free Software Foundation (FSF)</a>
|
||||
$B$K$h$k(B <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C
|
||||
compiler (GCC)</a> $B$G$9(B ($B%P!<%8%g%s(B 2.7.2 $B$GBg>fIW$G$9(B)$B!#(BGCC $B$,$J$$>l9g$O!"(B
|
||||
$B>/$J$/$H$bDs6!$5$l$F$$$k%3%s%Q%$%i$,(B ANSI $B=`5r$G$"$k$3$H$r3NG'$7$F$*$$$F2<$5$$!#(B
|
||||
$B$=$l$+$i!"JQ?t(B <code>PATH</code> $B$K$O(B <code>make</code>
|
||||
$B$H$$$C$?4pK\E*$J%S%k%I%D!<%k$,4^$^$l$F$$$kI,MW$,$"$j$^$9!#(B<br />
|
||||
<br />
|
||||
</li>
|
||||
|
||||
<li>$B;~9o$r@53N$K$9$k(B<br />
|
||||
<br />
|
||||
HTTP $B%W%m%H%3%k$NMWAG$OF|;~$N;~9o$GI=8=$5$l$F$$$^$9!#$G$9$+$i!"(B
|
||||
$B@53N$J;~9o$K%7%s%/%m$5$;$k5!G=$r%7%9%F%`$K@_Dj$9$k$3$H$r6cL#$7$F$_$F2<$5$$!#(B
|
||||
Network Time Protocol (NTP) $B$r%Y!<%9$H$7$?(B ntpdate $B$d(B xntpd $B%W%m%0%i%`$,(B
|
||||
$B$3$NL\E*$K$h$/MQ$$$i$l$^$9!#(BNTP $B%=%U%H%&%'%"$d8x3+(B NTP
|
||||
$B%5!<%P$K4X$9$k>\:Y$O!"(BUsenet $B%K%e!<%9%0%k!<%W(B <a
|
||||
href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a> $B$d(B <a
|
||||
href="http://www.eecis.udel.edu/~ntp/">NTP $B%[!<%`%Z!<%8(B</a> $B$r$4Mw2<$5$$!#(B<br />
|
||||
<br />
|
||||
</li>
|
||||
|
||||
<li><a href="http://www.perl.org/">Perl 5</a>
|
||||
[$B%*%W%7%g%s(B]<br />
|
||||
<br />
|
||||
$B!!Ds6!$5$l$F$$$k%9%/%j%W%H4v$D$+!"Nc$($P(B <a
|
||||
href="programs/apxs.html">apxs</a> $B$d(B <a
|
||||
href="programs/dbmmanage.html">dbmmanage</a> $B$O(B
|
||||
Perl $B$G=q$+$l$F$$$k$N$G!"(BPerl
|
||||
5 $B%$%s%?%W%j%?$,I,MW$K$J$j$^$9(B (5.003 $B$d(B 5.004 $B$GBg>fIW(B)$B!#(B
|
||||
"configure"$B%9%/%j%W%H$G$3$N$h$&$J%$%s%?%W%j%?$,8+$D$+$i$J$/$F$b!"(B
|
||||
$BJL$KIT6q9g$O$"$j$^$;$s!#$b$A$m$s!"(BApache
|
||||
2.0 $B$N%3%s%Q%$%k$H%$%s%9%H!<%k$O$G$-$^$9!#(B
|
||||
$B$3$l$i$N%5%]!<%H%9%/%j%W%H$,;H$($J$/$J$k$@$1$G$9!#(B
|
||||
Perl $B%$%s%?%W%j%?$rJ#?t%$%s%9%H!<%k$7$F$$$k>l9g(B ($B%Y%s%@!<$N(B Perl
|
||||
4 $B$H<+J,$GF~$l$?(B Perl 5 $B$,$"$k>l9g$J$I(B) $B$O!"(B
|
||||
--with-perl $B%*%W%7%g%s(B ($B2<5-;2>H(B) $B$r;H$C$F(B ./configure
|
||||
$B$,E,@Z$J$b$N$r3N<B$KA*$V$h$&$K$9$k$HNI$$$G$7$g$&!#(B<br />
|
||||
<br />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3><a id="download" name="download">$B%@%&%s%m!<%I(B</a></h3>
|
||||
|
||||
<p>Apache $B$O(B <a
|
||||
href="http://www.apache.org/dist/httpd/">Apache Software
|
||||
Foundation $B%@%&%s%m!<%I%5%$%H(B</a>$B$d(B<a
|
||||
href="http://www.apache.org/dyn/closer.cgi/httpd/">$B6a$/$N(B
|
||||
$B%_%i!<%5%$%H(B</a>$B$+$i%@%&%s%m!<%I$G$-$^$9!#(B</p>
|
||||
|
||||
<p><code>alpha</code> $B$G=*$o$k%P!<%8%g%sHV9f$O!"(B
|
||||
$BF0$/$+F0$+$J$$$+$h$/J,$+$i$J$$!"(B
|
||||
$BAa4|$N%W%j%F%9%H%P!<%8%g%s$G$"$k$3$H$r<($7$F$$$^$9!#(B
|
||||
<code>beta</code> $B$G=*$o$k%P!<%8%g%s$O$=$l$h$j$O?.Mj@-$N$"$k(B
|
||||
$B%j%j!<%9$G$9$,!"%F%9%H$H%P%0%U%#%C%/%9$r=E$M$kCJ3,$N$b$N$G$9!#(B
|
||||
Apache HTTP $B%5!<%P$NF~<j2DG=$JCf$G:G9b$N@=IJ%j%j!<%9$r(B
|
||||
$B%@%&%s%m!<%I$7$?$$$N$G$"$l$P!"%U%!%$%kL>$K(B <code>alpha</code>
|
||||
$B$b(B <code>beta</code>
|
||||
$B$bIU$+$J$$:G?7$N%P!<%8%g%s$rA*$s$G$/$@$5$$!#(B</p>
|
||||
|
||||
<p>$B%@%&%s%m!<%I8e!"FC$K%_%i!<%5%$%H$r;H$C$?>l9g$O!"(B
|
||||
$B%@%&%s%m!<%I$7$?$b$N$,(B Apache HTTP
|
||||
$B%5!<%P$N40A4$G2~cb$5$l$F$$$J$$%P!<%8%g%s$G$"$k$3$H$r(B
|
||||
$B8!>Z$9$k$3$H$,=EMW$G$9!#$3$l$O%@%&%s%m!<%I$7$?(B tarball $B$N(B PGP $B=pL>$r(B
|
||||
$B%F%9%H$9$k$3$H$K$h$C$F8!>Z$7$^$9!#(B
|
||||
$B$3$l$OFs$D$NCJ3,$,$"$j$^$9!#(B
|
||||
$B$^$:(B <code>KEYS</code> $B%U%!%$%k$r(B <a
|
||||
href="http://www.apache.org/dist/httpd/">Apache $BG[I[%5%$%H(B</a>
|
||||
$B$+$i%@%&%s%m!<%I$7$F$/$@$5$$!#(B(<code>KEYS</code> $B%U%!%$%k<+BN$,(B
|
||||
$B2~cb$5$l$F$$$J$$$3$H$r3N<B$K$9$k$?$a$K!"0JA0$N(B Apache
|
||||
$BG[I[$+$i<h$j=P$7$?%U%!%$%k$r;H$C$?$j!"(B
|
||||
$B8x3+80%5!<%P$+$i80$r<h$j9~$`$N$b$$$$$G$7$g$&!#(B)
|
||||
$B<+J,$N8D?M%-!<%[%k%@!<$K80$r<h$j9~$`$K$O!"(B
|
||||
$B<!$N%3%^%s%I(B (pgp $B$N%P!<%8%g%s$K0MB8(B) $B$r;H$$$^$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ pgp < KEYS</code>
|
||||
</blockquote>
|
||||
$B$^$?$O!"(B
|
||||
|
||||
<blockquote>
|
||||
<code>$ gpg --import KEYS</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$B<!$N%9%F%C%W$G$O!"(Btarball $B$r(B PGP $B=pL>$G%F%9%H$7$^$9!#(B
|
||||
PGP $B=pL>$OI,$:(B <a
|
||||
href="http://www.apache.org/dist/httpd/">$B%a%$%s$N(B Apache
|
||||
$B%&%'%V%5%$%H(B</a>$B$+$i<hF@$7$F$/$@$5$$!#(B
|
||||
$B=pL>%U%!%$%k$NL>A0$O!"%=!<%9%U%!%$%k$N(B tarball $B$HF1$8L>A0$K(B
|
||||
<code>.asc</code> $B$rIU2C$7$?$b$N$K$J$C$F$$$^$9!#(B
|
||||
$B0J2<$N%3%^%s%I(B ($B$d$C$Q$j(B pgp $B$N%P!<%8%g%s$K0MB8(B) $B$N$I$l$+0l$D$G!"(B
|
||||
$BG[I[%U%!%$%k$r%A%'%C%/$9$k$3$H$,$G$-$^$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ pgp httpd-2_0_<em>NN</em>.tar.gz.asc</code>
|
||||
</blockquote>
|
||||
$B$^$?$O!"(B
|
||||
|
||||
<blockquote>
|
||||
<code>$ gpg --verify httpd-2_0_<em>NN</em>.tar.gz.asc</code>
|
||||
</blockquote>
|
||||
$B$9$k$H!"$3$s$J%a%C%;!<%8$r<u$1$k$O$:$G$9!#(B<br />
|
||||
<br />
|
||||
|
||||
|
||||
<blockquote>
|
||||
<code>Good signature from user "Martin Kraemer
|
||||
<martin@apache.org>".</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$B<+J,$N%-!<%[%k%@!<$K3JG<$5$l$F$$$k?.Mj4X78$,860x$G!"(B
|
||||
"$B80$H$=$N80$N=pL><T$,8!>Z$G$-$J$+$C$?(B"
|
||||
$B$H$$$&;]$N%a%C%;!<%8$rF1;~$K<u$1$k$+$b$7$l$^$;$s!#(B
|
||||
$B$7$+$7!"(B<code>KEYS</code>
|
||||
$B%U%!%$%k$N?.Xa@-$r<u$1F~$l$k$J$i$PLdBj$G$O$"$j$^$;$s!#(B</p>
|
||||
|
||||
<h3><a id="extract" name="extract">$BE83+(B</a></h3>
|
||||
|
||||
<p>Apache HTTPD $B$N(B tarball
|
||||
$B$+$i%=!<%9%U%!%$%k$rE83+$7$F<h$j=P$9$H$O!"(B
|
||||
$BC1$J$k05=L$N2r=|$H(B tar $B$NE83+$G$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
|
||||
$ tar xvf httpd-2_0_<em>NN</em>.tar</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$BG[I[MQ$N%=!<%9%3!<%I$,$"$k8=:_$$$k%G%#%l%/%H%j$N2<$K!"(B
|
||||
$B?7$7$$%G%#%l%/%H%j$,:n$i$l$^$9!#(B
|
||||
$B%5!<%P$r%3%s%Q%$%k$9$kCJ3,$K?J$`A0$K!"$=$N%G%#%l%/%H%j$K(B
|
||||
<code>cd</code> $B$G0\F0$7$F$/$@$5$$!#(B</p>
|
||||
|
||||
<h3><a id="configure" name="configure">
|
||||
$B%=!<%9%D%j!<$r@_Dj$9$k(B</a></h3>
|
||||
|
||||
<p>$B<!$N%9%F%C%W$O!"$"$J$?$N%W%i%C%H%[!<%`$H(B
|
||||
$B8D?ME*$JMW5a$K9g$&$h$&$K(B Apache
|
||||
$B%=!<%9%D%j!<$r@_Dj$9$k$3$H$G$9!#(B
|
||||
$B$3$l$OG[I[%G%#%l%/%H%j$N%k!<%H%G%#%l%/%H%j$K$"$k!"(B
|
||||
<code>configure</code> $B%9%/%j%W%H$G9T$J$$$^$9!#(B
|
||||
(Apache $B%=!<%9%D%j!<$N(B CVS
|
||||
$BHG$r%@%&%s%m!<%I$7$?3+H/<T$O!"<!$N%9%F%C%W$K?J$`A0$K(B
|
||||
<code>autoconf</code> $B$H(B<code>libtool</code>
|
||||
$B$r%$%s%9%H!<%k$7$F(B <code>buildconf</code>
|
||||
$B$r<B9T$9$kI,MW$,$"$k$G$7$g$&!#(B
|
||||
$B8x<0%j%j!<%9$G$O$3$N:n6H$OI,MW$"$j$^$;$s!#(B) </p>
|
||||
|
||||
<p>$B%G%U%)%k%H%*%W%7%g%s$r;H$C$F%=!<%9%D%j!<$rA4$F@_Dj$9$k(B
|
||||
$B$N$G$"$l$P!"C1=c$K(B <code>./configure</code> $B$H%?%$%W$7$F$/$@$5$$!#(B
|
||||
$B%G%U%)%k%H%*%W%7%g%s$rJQ99$G$-$k$h$&$K!"(B<code>configure</code>
|
||||
$B$K$OMM!9$JJQ?t$d%3%^%s%I%i%$%s%*%W%7%g%s$,MQ0U$5$l$F$$$^$9!#(B
|
||||
$B0lHLE*$K!"4D6-JQ?t$,(B <code>./configure</code> $B$NA0$K@_CV$5$l$F!"(B
|
||||
$BB>$N%*%W%7%g%s$O$=$N8e$K@_CV$5$l$^$9!#(B
|
||||
$B$3$3$G:G$b=EMW$J%*%W%7%g%s$O(B Apache
|
||||
$B$r$I$3$K%$%s%9%H!<%k$9$k$+$r7h$a$k(B location prefix $B$G$9!#(B
|
||||
$B$J$<$J$i!"(BApache $B$,@5$7$/F0:n$9$k$?$a$K$O(B
|
||||
$B$3$N>l=jMQ$K@_Dj$5$l$F$$$J$$$H$$$1$J$$$+$i$G$9!#(B
|
||||
$B$7$+$7!"$*9%$_$K$h$jMxMQ$G$-$k%*%W%7%g%s$O$b$C$HBt;3$"$j$^$9!#(B</p>
|
||||
|
||||
<p>$B$A$g$C$H$I$s$J$3$H$,$G$-$k$+$r8+$;$^$7$g$&!#(B
|
||||
$B$3$3$GE57?E*$JNc$H$7$F!"(B/sw/pkg/apache $B$H$$$&%$%s%9%H!<%k%D%j!<$G(B
|
||||
$B%3%s%Q%$%i$H%U%i%0$r;XDj$7$F!"$5$i$KFs$D$NDI2C%b%8%e!<%k(B
|
||||
mod_rewrite $B$H(B mod_speling $B$r8e$G(B DSO $B%a%+%K%:%`$G%m!<%I$9$k$h$&$K(B
|
||||
$B%3%s%Q%$%k$7$F$_$^$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ CC="pgcc" CFLAGS="-O2" \<br />
|
||||
./configure --prefix=/sw/pkg/apache \<br />
|
||||
--enable-rewrite=shared \<br />
|
||||
--enable-speling=shared</code>
|
||||
</blockquote>
|
||||
|
||||
<p>configure $B$r<B9T$7$?$i!"%7%9%F%`$N5!G=$r(B
|
||||
$B%F%9%H$7$?$j!"8e$G%5!<%P$r%3%s%Q%$%k$9$k$?$a$KI,MW$J(B Makefile
|
||||
$B$r@8@.$7$?$j$9$k$N$K?tJ,4V$+$+$k$G$7$g$&!#(B</p>
|
||||
|
||||
<p>Apache $B$NA4$F$N@_Dj%U%i%0$r8+$k:G$b4JC1$JJ}K!$O!"(B
|
||||
./configure --help $B$r<B9T$9$kJ}K!$G$9!#(B
|
||||
$B0z?t$d4D6-JQ?t$K4X$9$k4JC1$J5-=R$,=PNO$5$l$^$9!#(B</p>
|
||||
|
||||
<h4><a id="environment" name="environment">$B4D6-JQ?t(B</a></h4>
|
||||
|
||||
<p>autoconf $B$G$N%S%k%I$G$O4v$D$+$N4D6-JQ?t$r;H$C$F%S%k%I4D6-$r(B
|
||||
$B@_Dj$7$^$9!#0lHLE*$K!"$3$l$i$NJQ?t$G(B Apache $B$r%S%k%I$9$k:]$N(B
|
||||
$BJ}K!$,JQ$o$C$?$j$7$^$9$,!"$G$-$"$,$k%5!<%P$N5!G=$K$O1F6A$"$j$^$;$s!#(B
|
||||
$B$3$l$i$NJQ?t$O(B <code>configure</code> $B$r8F$S=P$9D>A0$N4D6-Cf$K(B
|
||||
$BCV$/$3$H$,$G$-$^$9$,!"DL>o$O>e$K<($7$?Nc$N$h$&$K(B <code>configure</code>
|
||||
$B$N%3%^%s%I%i%$%s$G$b$C$H4JC1$K;XDj$G$-$^$9!#(B</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>CC=...</code></dt>
|
||||
|
||||
<dd>C $B%3%s%Q%$%i$N%3%^%s%IL>!#(B</dd>
|
||||
|
||||
<dt><code>CPPFLAGS=...</code></dt>
|
||||
|
||||
<dd>$B$=$NB>$N(B C $B%W%j%W%m%;%C%5$d%3%s%Q%$%i$N%*%W%7%g%s!#(B</dd>
|
||||
|
||||
<dt><code>CFLAGS=...</code></dt>
|
||||
|
||||
<dd>C $B%3%s%Q%$%i$N%G%P%C%0!&:GE,2=%*%W%7%g%s!#(B</dd>
|
||||
|
||||
<dt><code>LDFLAGS=...</code></dt>
|
||||
|
||||
<dd>$B$=$NB>$N%j%s%+$KEO$5$l$k%*%W%7%g%s!#(B</dd>
|
||||
|
||||
<dt><code>LIBS=...</code></dt>
|
||||
|
||||
<dd>$B%j%s%+$KEO$9%i%$%V%i%j$N0LCV>pJs(B ("-L"$B$H(B"-l"$B%*%W%7%g%s(B) $B!#(B
|
||||
</dd>
|
||||
|
||||
<dt><code>INCLUDES=...</code></dt>
|
||||
|
||||
<dd>$B%X%C%@%U%!%$%k$NC5:w%G%#%l%/%H%j(B ("-I<em>dir</em>") $B!#(B</dd>
|
||||
|
||||
<dt><code>TARGET=...</code> [$B%G%U%)%k%HCM(B:apache]</dt>
|
||||
|
||||
<dd>$B%S%k%I$9$k<B9T%U%!%$%k$NL>A0!#(B</dd>
|
||||
|
||||
<dt><code>NOTEST_CPPFLAGS=...</code></dt>
|
||||
|
||||
<dt><code>NOTEST_CFLAGS=...</code></dt>
|
||||
|
||||
<dt><code>NOTEST_LDFLAGS=...</code></dt>
|
||||
|
||||
<dt><code>NOTEST_LIBS=...</code></dt>
|
||||
|
||||
<dd>$B$3$l$i$NJQ?t$O(B"NOTEST $B$G$J$$HG(B"$B$N$b$N$HF1$85!G=$r(B
|
||||
$B;}$C$F$$$^$9!#$7$+$7!"$3$l$i$NJQ?t$O(B autoconf
|
||||
$B$,%F%9%H$r9T$C$?8e$N%S%k%I%W%m%;%9$K$*$$$F$N$_!"E,MQ$5$l$^$9!#(B
|
||||
$B$3$l$r;H$&$H!"%F%9%HCf$KLdBj$r5/$9$1$l$I$b(B
|
||||
$B:G=*E*$K$OI,MW$K$J$k%U%i%0$r(B
|
||||
$B4^$a$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</dd>
|
||||
|
||||
<dt><code>SHLIB_PATH=...</code></dt>
|
||||
|
||||
<dd>$B%3%s%Q%$%i$H%j%s%+$KEO$9!"6&M-%i%$%V%i%j$X$N%Q%9$r;XDj$9$k(B
|
||||
$B%*%W%7%g%s!#(B</dd>
|
||||
</dl>
|
||||
|
||||
<h4><a id="output" name="output">autoconf $B=PNO%*%W%7%g%s(B</a></h4>
|
||||
|
||||
<dl>
|
||||
<dt><code>--help</code></dt>
|
||||
|
||||
<dd>$B;HMQ2DG=$JA4%*%W%7%g%s$J$I;H$$J}$r%W%j%s%H$7$^$9!#(B
|
||||
$B<B:]$K@_Dj$O$5$l$^$;$s!#(B</dd>
|
||||
|
||||
<dt><code>--quiet</code></dt>
|
||||
|
||||
<dd>"cheking..." $B$H$$$C$?%a%C%;!<%8$,%W%j%s%H$5$l$J$$$h$&$K(B
|
||||
$B$7$^$9!#(B</dd>
|
||||
|
||||
<dt><code>--verbose</code></dt>
|
||||
|
||||
<dd>$B8!::$5$l$kA4%U%!%$%kL>$r4^$a!"@_Dj%W%m%;%9Cf$K(B
|
||||
$B>pJs$r$?$/$5$s%W%j%s%H$7$^$9!#(B</dd>
|
||||
</dl>
|
||||
|
||||
<h4><a id="pathnames" name="pathnames">$B%Q%9L>(B</a></h4>
|
||||
|
||||
<p>Apache $B$r%$%s%9%H!<%k$9$k%Q%9L>$r@_Dj$9$k$K$O!"(B
|
||||
$B8=:_FsDL$j$NJ}K!$,$"$j$^$9!#$^$:0l$DL\$O!"(B
|
||||
$B%G%#%l%/%H%j$r;XDj$7$F!"$=$N2<$K%G%U%)%k%H$NG[CV$G(B
|
||||
Apache $B$N%$%s%9%H!<%k$r9T$&J}K!$G$9!#(B</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--prefix=<em>PREFIX</em></code> [$B%G%U%)%k%HCM(B:
|
||||
/usr/local/apache2]</dt>
|
||||
|
||||
<dd>Apache $B$N%U%!%$%k72$,%$%s%9%H!<%k$5$l$k%G%#%l%/%H%j$r(B
|
||||
$B;XDj$7$^$9!#(B</dd>
|
||||
</dl>
|
||||
|
||||
<p>$B%"!<%-%F%/%A%c$K0MB8$7$?%U%!%$%k$r!"(B
|
||||
$B0[$J$k%G%#%l%/%H%j$KG[CV$9$k$h$&$K$b$G$-$^$9!#(B</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--exec-prefix=<em>EPREFIX</em></code>
|
||||
[$B%G%U%)%k%HCM(B:<em>PREFIX</em>]</dt>
|
||||
|
||||
<dd>$B%"!<%-%F%/%A%c0MB8$N%U%!%$%k$rG[CV$9$Y$-(B
|
||||
$B%G%#%l%/%H%j$r;XDj$7$^$9!#(B</dd>
|
||||
</dl>
|
||||
|
||||
<p>$BFs$DL\$NJ}K!$O!"$b$C$H=@Fp$K%$%s%9%H!<%k%Q%9$NG[CV$r(B
|
||||
$B@_Dj$9$kJ}K!$G!"(B<code>config.layout</code> $B%U%!%$%k$r(B
|
||||
$B;H$$$^$9!#$3$NJ}K!$r;H$&$3$H$K$h$C$F!"(B
|
||||
Apache $B$N%$%s%9%H!<%kCf$K!"$=$l$>$l$N%U%!%$%k$N$?$a$NG[CV$r(B
|
||||
$B8D!9$K;XDj$G$-$k$h$&$K$J$j$^$9!#(B<code>config.layout</code>
|
||||
$B%U%!%$%k$K$O@_DjNc$,4v$D$+4^$^$l$F$$$^$9$7!"(B
|
||||
$B$*9%$_$N@_Dj$r<!$NNc$K=>$C$F:n$j=P$9$3$H$b$G$-$^$9!#(B
|
||||
$B$3$N%U%!%$%kCf$G$O!"0[$J$kG[CV$O(B <code><Layout
|
||||
FOO>...</Layout></code> $B%;%/%7%g%s$G%0%k!<%W2=$5$l!"(B
|
||||
<code>FOO</code> $B$H$$$C$?L>A0$G;2>H$5$l$^$9!#(B</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--enable-layout=<em>LAYOUT</em></code></dt>
|
||||
|
||||
<dd>$B%$%s%9%H!<%k%Q%9$r;XDj$9$k$?$a!"(B
|
||||
<code>config.layout</code> $B%U%!%$%kCf$G$N!"(B
|
||||
$B;XDj$5$l$?L>A0$N%l%$%"%&%H$r;HMQ$7$^$9!#(B</dd>
|
||||
</dl>
|
||||
|
||||
<p>$B8=:_$O(B <code>--enable-layout</code> $B$H(B<code>--prefix</code>
|
||||
$B%*%W%7%g%s$r%_%C%/%9$9$k$3$H$O$G$-$^$;$s!#(B
|
||||
$B$^$?(B <code>configure</code> $B%3%^%s%I%i%$%sCf$G!"(B
|
||||
$B>\$7$/8D!9$N%Q%9L>$r;XDj$9$k$3$H$b$G$-$^$;$s!#(B
|
||||
$B4pK\E*$J%$%s%9%H!<%k:n6H$r9T$$$?$$$@$1$J$i$P!"C1=c$K(B
|
||||
<code>--prefix</code> $B%*%W%7%g%s$r$=$N$^$^;H$&$3$H$,$G$-$^$9!#(B
|
||||
$B%$%s%9%H!<%k$r%+%9%?%^%$%:$7$?$$$N$G$"$l$P!"(B
|
||||
<code>config.layout</code> $B%U%!%$%k$rJT=8$7$F(B
|
||||
<code>--enable-layout</code> $B%*%W%7%g%s$r;H$&I,MW$,(B
|
||||
$B$"$k$G$7$g$&!#(B</p>
|
||||
|
||||
<h4><a id="modules" name="modules">$B%b%8%e!<%k(B</a></h4>
|
||||
|
||||
<p>Apache $B$O%b%8%e!<%k2=$5$l$?%5!<%P$G$9!#(B
|
||||
$B$4$/$4$/4pK\E*$J5!G=$@$1$,!"%3%"%5!<%P$K4^$^$l$F$$$^$9!#(B
|
||||
$B3HD%5!G=$OMM!9$J%b%8%e!<%k$N7A$GDs6!$5$l$^$9!#(B
|
||||
$B@_Dj%W%m%;%9Cf$G$O!"$I$s$J%b%8%e!<%k$r%5!<%P$G;H$&$h$&$K(B
|
||||
$B%3%s%Q%$%k$9$k$+A*$P$J$1$l$P$J$j$^$;$s!#$3$N%^%K%e%"%k$K$"$k(B<a
|
||||
href="mod/index.html">$B%b%8%e!<%k$N0lMw(B</a>$B$r(B
|
||||
$B;2>H$G$-$^$9!#(B
|
||||
"Base" <a href="mod/module-dict.html#Status">$B%9%F!<%?%9(B</a>$B$N(B
|
||||
$B%b%8%e!<%k$O%G%U%)%k%H$G4^$^$l$^$9$7!"(B
|
||||
$B;H$$$?$/$J$$$N$G$"$l$P!"$o$6$HL58z$K$7$J$1$l$P(B
|
||||
$B$J$j$^$;$s!#B>$N%9%F!<%?%9$N%b%8%e!<%k$O!"(B
|
||||
$B;H$$$?$1$l$PM-8z$K$7$J$1$l$P$J$j$^$;$s!#(B</p>
|
||||
|
||||
<p>Apache $B$H0l=o$K%3%s%Q%$%k$7$F;H$&$h$&$K$9$k$K$O!"(B
|
||||
$BFsDL$j$NJ}K!$,$"$j$^$9!#0l$D$a$O%b%8%e!<%k$r(B
|
||||
<em>$B%9%?%F%#%C%/%3%s%Q%$%k(B</em>$B$9$kJ}K!$G$9!#$3$N>l9g$O!"(B
|
||||
Apache $B$N%P%$%J%j$K915WE*$KAH$_9~$^$l$k$3$H$K$J$j$^$9!#(B
|
||||
$B$3$l$NBe$o$j$K!"$b$7%*%Z%l!<%F%#%s%0%7%9%F%`$,F0E*6&M-(B
|
||||
$B%i%$%V%i%j(B (DSO) ($BLuCm(B: Dynamic Shared Object) $B$r(B
|
||||
$BDs6!$7$F$$$F(B autoconf $B$,$=$l$rG'<1$G$-$k(B
|
||||
$B>l9g$O!"%b%8%e!<%k$r(B<em>$B%@%$%J%_%C%/%3%s%Q%$%k(B</em>$B$9$kJ}K!$,$"$j$^$9!#(B
|
||||
DSO $B%b%8%e!<%k$O(B Apache $B$N%P%$%J%j$H$OJL$K(B
|
||||
$BJ]B8$5$l!"(B<a href="mod/mod_so.html">mod_so</a> $B$GDs6!$5$l$k(B
|
||||
$B<B9T;~@_Dj%G%#%l%/%F%#%V$r;H$C$F(B
|
||||
$BAH$_9~$s$@$j<h$j30$7$?$j$G$-$^$9!#(B
|
||||
$BF0E*%b%8%e!<%k$r<B:]$K0l$D$b%3%s%Q%$%k$9$k$3$H$J$/(B
|
||||
$B%5!<%P$,(B DSO $B$r%m!<%I$G$-$k$h$&$K$9$k$K$O!"(B
|
||||
<code>--enable-so</code> $B$HL@<(E*$K$9$k$3$H$,$G$-$^$9!#(B</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--enable-<em>MODULE</em>[=shared]</code></dt>
|
||||
|
||||
<dd><em>MODULE</em> $B%b%8%e!<%k$r%3%s%Q%$%k$7$F(B
|
||||
$B%$%s%/%k!<%I$7$^$9!#<1JL;R(B <em>MODULE</em> $B$O(B
|
||||
$B%b%8%e!<%kJ8=q$K5-:\$5$l$F$$$k(B<a
|
||||
href="mod/module-dict.html#ModuleIdentifier">$B%b%8%e!<%k(B
|
||||
$B<1JL;R(B</a>$B$+$i(B "_module" $B$r<h$j=|$$$?J8;zNs$G$9!#(B
|
||||
DSO $B$H$7$F%b%8%e!<%k$r%3%s%Q%$%k$9$k>l9g$O!"(B
|
||||
<code>=shared</code> $B%*%W%7%g%s$rIU2C$7$F$/$@$5$$!#(B</dd>
|
||||
|
||||
<dt><code>--disable-<em>MODULE</em></code></dt>
|
||||
|
||||
<dd>$BDL>o$O%3%s%Q%$%k$5$l$F%$%s%/%k!<%I$5$l$k(B
|
||||
<em>MODULE</em> $B%b%8%e!<%k$r=|5n$7$^$9!#(B</dd>
|
||||
|
||||
<dt><code>--enable-modules=<em>MODULE-LIST</em></code></dt>
|
||||
|
||||
<dd>$B%9%Z!<%96h@Z$j$N(B <em>MODULE-LIST</em>
|
||||
$B$KNs5s$5$l$?%b%8%e!<%k$r%3%s%Q%$%k$7$F(B
|
||||
$B%$%s%/%k!<%I$7$^$9!#(B</dd>
|
||||
|
||||
<dt>
|
||||
<code>--enable-mods-shared=<em>MODULE-LIST</em></code></dt>
|
||||
|
||||
<dd>$B%9%Z!<%96h@Z$j$N(B <em>MODULE-LIST</em> $B$r(B
|
||||
$B%@%$%J%_%C%/%m!<%I(B (DSO) $B$G$-$k%b%8%e!<%k$H$7$F(B
|
||||
$B%3%s%Q%$%k$H%$%s%/%k!<%I$r$7$^$9!#(B</dd>
|
||||
</dl>
|
||||
|
||||
<p><code>--enable-modules</code> $B$d(B
|
||||
<code>--enable-mods-shared</code> $B%*%W%7%g%s$K;H$&(B
|
||||
<em>MODULE-LIST</em> $B$O!"IaDL$O%9%Z!<%96h@Z$j$N(B
|
||||
$B%b%8%e!<%k<1JL;R$N%j%9%H$G$9!#(B
|
||||
$BNc$($P(B mod_dav $B$H(B mod_info $B$rM-8z$K$9$k>l9g$O!"(B
|
||||
$B<!$N$I$A$i$+$,;H$($^$9!#(B</p>
|
||||
|
||||
<blockquote>
|
||||
<code>./configure --enable-dav --enable-info</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$B$^$?$O!"F1Ey$N(B</p>
|
||||
|
||||
<blockquote>
|
||||
<code>./configure --enable-modules="dav info"</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$B$3$l$K2C$($F!"FCJL$J%-!<%o!<%I(B <code>all</code> $B$d(B
|
||||
<code>most</code> $B$r;H$C$F!"(B
|
||||
$B0lEY$KA4$F$"$k$$$O$[$H$s$I$N%b%8%e!<%k$r2C$($k$3$H$,$G$-$^$9!#(B
|
||||
$B$=$N8e$G9%$-$J%b%8%e!<%k$r(B <code>--disable-<em>MODULE</em>
|
||||
</code>$B%*%W%7%g%s$r;H$C$F<h$j=|$/$3$H$,$G$-$^$9!#(B
|
||||
$BNc$($P!"(Bmod_info $B$r=|$/A4$F$N%b%8%e!<%k$r(B DSO $B%b%8%e!<%k$H$7$F(B
|
||||
$BAH$_9~$`>l9g$O!"<!$N$h$&$K$7$^$9!#(B</p>
|
||||
|
||||
<blockquote>
|
||||
<code>./configure --enable-mods-shared=all
|
||||
--disable-info</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$BI8=`E*$J%b%8%e!<%k$K2C$($F!"(BApache 2.0 $B$G$O(B
|
||||
<a href="mpm.html">Multi-Processing Modules</a> (MPM)
|
||||
$B$rA*Br$7$F%$%s%/%k!<%I$7$^$9!#$?$@0l$D$@$1$N(B MPM
|
||||
$B$r%3%s%Q%$%k$N%W%m%;%9$G4^$a$kI,MW$,$"$j$^$9!#(B
|
||||
$B8D!9$N%W%i%C%H%[!<%`8~$1$N%G%U%)%k%H$N(B MPM $B$O(B <a
|
||||
href="mpm.html">MPM $BJ8=q(B</a>$B$K0lMw$,$"$j$^$9$,!"(B
|
||||
<code>configure</code>
|
||||
$B%3%^%s%I$GCV$-49$($k$3$H$,$G$-$^$9!#(B</p>
|
||||
|
||||
<dl>
|
||||
<dt><code>--with-mpm=<em>NAME</em></code></dt>
|
||||
|
||||
<dd>Choose the mpm <em>NAME</em>.</dd>
|
||||
</dl>
|
||||
|
||||
<h4><a id="suexec" name="suexec">Suexec</a></h4>
|
||||
|
||||
<p>Apache $B$K$O(B <a href="suexec.html">suexec</a> $B$H8F$P$l$k(B
|
||||
$BJd=u%W%m%0%i%`$,$"$j$^$9!#(B
|
||||
$B$3$N%W%m%0%i%`$O%f!<%6$N(B CGI $B%W%m%0%i%`$r3VN%$9$k$?$a$K(B
|
||||
$B;HMQ$9$k$3$H$,$G$-$^$9!#$7$+$7$J$,$i!"(Bsuexec
|
||||
$B$rE,@Z$K@_Dj$7$J$1$l$P!"(B
|
||||
$B%;%-%e%j%F%#>eCWL?E*$JLdBj$r$+$+$($k>l9g$,$"$j$^$9!#(B
|
||||
$B$=$N$?$a!"$3$N5!G=$r<BAu$9$kA0$K(B <a href="suexec.html">suexec
|
||||
$BJ8=q(B</a>$B$r$h$/FI$s$G0l9M$7$F$*$-$^$7$g$&!#(B</p>
|
||||
|
||||
<h3><a id="compile" name="compile">$B%S%k%I(B</a></h3>
|
||||
|
||||
<p>$B$3$l$G(B Apache $B$NMM!9$J%Q!<%D$r%S%k%I$9$k$3$H$,$G$-$^$9!#(B
|
||||
$B<!$N%3%^%s%I$rC1=c$K<B9T$9$k$@$1$G$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ make</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$B4pK\E*$J@_Dj$r$9$k$N$K!"(BPentium III/Linux 2.2
|
||||
$B$N%7%9%F%`$G$*$*$h$=(B 3 $BJ,DxEY$+$+$j$^$9$,!"(B
|
||||
$B$"$i$+$8$a$4N;>52<$5$$!#(B
|
||||
$B$^$?!";~4V$O%O!<%I%&%'%"$dM-8z$K$7$?%b%8%e!<%k$N?t$K(B
|
||||
$BBg$-$/0MB8$9$k$G$7$g$&!#(B</p>
|
||||
|
||||
<h3><a id="install" name="install">$B%$%s%9%H!<%k(B</a></h3>
|
||||
|
||||
<p>$B$5$F!"@_Dj$7$?%$%s%9%H!<%k(B <em>PREFIX</em>
|
||||
($BA0=R$N(B <code>--prefix</code> $B%*%W%7%g%s$r;2>H(B)
|
||||
$B0J2<$K%Q%C%1!<%8$r%$%s%9%H!<%k$9$kCJ3,$K$J$j$^$7$?!#(B
|
||||
$B<!$N%3%^%s%I$r<B9T$7$F$/$@$5$$(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ make install</code>
|
||||
</blockquote>
|
||||
|
||||
<p>$B%"%C%W%0%l!<%I$9$k>l9g$O!"%$%s%9%H!<%k$G$O@_Dj%U%!%$%k$d(B
|
||||
$B%I%-%e%a%s%H%U%!%$%k$N>e=q$-$O9T$$$^$;$s!#(B</p>
|
||||
|
||||
<h3><a id="customize" name="customize">$B%+%9%?%^%$%:(B</a></h3>
|
||||
|
||||
<p>$B<!$K(B <em>PREFIX</em>/conf/ $B0J2<$K$"$k(B <a
|
||||
href="configuring.html">$B@_Dj%U%!%$%k(B</a>$B$rJT=8$7$F!"(B
|
||||
Apache HTTP $B%5!<%P$r%+%9%?%^%$%:$7$^$9!#(B</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ vi <em>PREFIX</em>/conf/httpd.conf</code>
|
||||
</blockquote>
|
||||
|
||||
<p><a href="mod/directives.html">$B@_Dj%G%#%l%/%F%#%V(B</a>$B$N(B
|
||||
$B40A4$J%j%U%!%l%s%9$,:\$C$F$$$^$9$N$G!"(B
|
||||
<a href="./">docs/manual/</a> $B$d(B <a
|
||||
href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs/</a>
|
||||
$B$K$"$k(B Apache $B%^%K%e%"%k$r$6$C$H8+$F$/$@$5$$!#(B</p>
|
||||
|
||||
<h3><a id="test" name="test">$B%F%9%H(B</a></h3>
|
||||
|
||||
<p>$B<!$N%3%^%s%I$r<B9T$7$F(B Apache HTTP $B%5!<%P$r(B<a
|
||||
href="invoking.html">$B3+;O(B</a>$B$G$-$^$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ <em>PREFIX</em>/bin/apachectl start</code>
|
||||
</blockquote>
|
||||
|
||||
<p>URL http://localhost/ $B$rDL$7$F:G=i$N%I%-%e%a%s%H$KBP$9$k(B
|
||||
$B%j%/%(%9%H$rH/9T$9$k;v$,$G$-$k$O$:$G$9!#$3$l$G8+$($k(B
|
||||
$B%&%'%V%Z!<%8$O(B <a
|
||||
href="mod/core.html#documentroot">DocumentRoot</a>
|
||||
$B0J2<$KCV$+$l$?$b$N$G!"DL>o$O(B
|
||||
<code><em>PREFIX</em>/htdocs/</code> $B$G$7$g$&!#(B
|
||||
$B%5!<%P$r:F$S(B<a href="stopping.html">$BDd;_(B</a>$B$9$k$K$O!"(B
|
||||
$B<!$N%3%^%s%I$r<B9T$7$^$9(B:</p>
|
||||
|
||||
<blockquote>
|
||||
<code>$ <em>PREFIX</em>/bin/apachectl stop</code>
|
||||
</blockquote>
|
||||
<!--#include virtual="footer.html" -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user