diff options
Diffstat (limited to '')
-rw-r--r-- | docs/manual/install.html | 29 | ||||
-rw-r--r-- | docs/manual/install.html.de | 436 | ||||
-rw-r--r-- | docs/manual/install.html.en | 501 | ||||
-rw-r--r-- | docs/manual/install.html.es | 483 | ||||
-rw-r--r-- | docs/manual/install.html.fr.utf8 | 528 | ||||
-rw-r--r-- | docs/manual/install.html.ja.utf8 | 434 | ||||
-rw-r--r-- | docs/manual/install.html.ko.euc-kr | 388 | ||||
-rw-r--r-- | docs/manual/install.html.tr.utf8 | 497 |
8 files changed, 3296 insertions, 0 deletions
diff --git a/docs/manual/install.html b/docs/manual/install.html new file mode 100644 index 0000000..e1d72dc --- /dev/null +++ b/docs/manual/install.html @@ -0,0 +1,29 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: install.html.de +Content-Language: de +Content-type: text/html; charset=ISO-8859-1 + +URI: install.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 + +URI: install.html.es +Content-Language: es +Content-type: text/html; charset=ISO-8859-1 + +URI: install.html.fr.utf8 +Content-Language: fr +Content-type: text/html; charset=UTF-8 + +URI: install.html.ja.utf8 +Content-Language: ja +Content-type: text/html; charset=UTF-8 + +URI: install.html.ko.euc-kr +Content-Language: ko +Content-type: text/html; charset=EUC-KR + +URI: install.html.tr.utf8 +Content-Language: tr +Content-type: text/html; charset=UTF-8 diff --git a/docs/manual/install.html.de b/docs/manual/install.html.de new file mode 100644 index 0000000..d298747 --- /dev/null +++ b/docs/manual/install.html.de @@ -0,0 +1,436 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>Kompilieren und Installieren - Apache HTTP Server Version 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</a></p> +<p class="apache">Apache HTTP Server Version 2.4</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP-Server</a> > <a href="http://httpd.apache.org/docs/">Dokumentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>Kompilieren und Installieren</h1> +<div class="toplang"> +<p><span>Verfgbare Sprachen: </span><a href="./de/install.html" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Trke"> tr </a></p> +</div> +<div class="outofdate">Diese bersetzung ist mglicherweise + nicht mehr aktuell. Bitte prfen Sie die englische Version auf + die neuesten nderungen.</div> + + <p>Dieses Dokument umfat nur die Kompilierung und Installation des + Apache auf Unix und Unix-hnlichen Systemen. Fr die + Kompilierung und Installation unter Windows lesen Sie bitte <a href="platform/windows.html">Den Apache unter Microsoft Windows + betreiben</a>. Fr andere Plattformen lesen Sie bitte die + Dokumentation <a href="platform/">Plattformen</a>.</p> + + <p>Die Konfigurations- und Installationsumgebung des Apache 2.0 hat sich + seit dem Apache 1.3 komplett verndert. Der Apache 1.3 benutzt einen + speziellen Satz von Skripten, um eine einfache Installation zu + ermglichen. Der Apache 2.0 dagegen verwendet nun + <code>libtool</code> und <code>autoconf</code>, um eine Umgebung zu + schaffen, die der vieler anderer Open Source Projekte hnlich + sieht.</p> + + <p>Wenn Sie von einer Unterversion auf die nchste aktualisieren (z.B. + von 2.0.50 auf 2.0.51), springen Sie bitte zum Abschnitt <a href="#upgrading">Upgrade</a>.</p> +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">berblick fr die Ungeduldigen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">Anforderungen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">Download</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract">Auspacken</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">Den Codebaum konfigurieren</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile">Erstellen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">Installieren</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize">Anpassen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">Testen</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">Upgrade</a></li> +</ul><h3>Siehe auch</h3><ul class="seealso"><li><a href="programs/configure.html">Den Quellcode konfigurieren</a></li><li><a href="invoking.html">Apache starten</a></li><li><a href="stopping.html">Beenden und Neustarten</a></li><li><a href="#comments_section">Kommentare</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview">berblick fr die Ungeduldigen</a></h2> + + <table> + + <tr> + <td><a href="#download">Download</a></td> + + <td><code>$ lynx http://httpd.apache.org/download.cgi</code> + </td> + </tr> + + <tr> + <td><a href="#extract">Auspacken</a></td> + + <td><code>$ gzip -d httpd-2_1_<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-2_1_<em>NN</em>.tar</code> </td> + </tr> + + <tr> + <td><a href="#configure">Konfigurieren</a></td> + + <td><code>$ ./configure --prefix=<em>PREFIX</em></code> + </td> + </tr> + + <tr> + <td><a href="#compile">Kompilieren</a></td> + + <td><code>$ make</code> </td> + </tr> + + <tr> + <td><a href="#install">Installieren</a></td> + + <td><code>$ make install</code> </td> + </tr> + + <tr> + <td><a href="#customize">Anpassen</a></td> + + <td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td> + </tr> + + <tr> + <td><a href="#test">Testen</a></td> + + <td><code>$ <em>PREFIX</em>/bin/apachectl start</code> + </td> + </tr> + </table> + + <p><em>NN</em> muss durch die Nummer der Unterversion ersetzt werden, + und <em>PREFIX</em> durch den Verzeichnispfad, + in dem der Server installiert werden soll. Wenn <em>PREFIX</em> nicht + angegeben ist, wird die Voreinstellung <code>/usr/local/apache2</code> + verwendet.</p> + + <p>Beginnend mit den Anforderungen + fr die Kompilierung und Installation des Apache HTTPD ist + weiter unten jeder Abschnitt des Kompilierungs- und + Installationsvorganges genauer beschrieben.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">Anforderungen</a></h2> + + <p>Folgende Anforderungen gelten fr die Erstellung des + Apache:</p> + + <dl> + <dt>Plattenplatz</dt> + <dd>Stellen Sie sicher, dass Sie kurzzeitig wenigstens 50 MB freien + Festplattenplatz zur Verfgung haben. Nach der Installation + belegt der Apache ungefhr 10 MB Plattenplatz. Der + tatschliche Platzbedarf variiert in Abhngigkeit von den + gewhlten Konfigurationseinstellungen und + Modulen von Drittanbietern.</dd> + + <dt>ANSI-C-Compiler und Generierungswerkzeuge</dt> + <dd>Stellen Sie sicher, dass Sie einen ANSI-C Compiler installiert + haben. Der <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C + Compiler (GCC)</a> der <a href="http://www.gnu.org/">Free Software + Foundation (FSF)</a> ist empfehlenswert (Version 2.7.2 ist gut). Wenn + Sie den GCC nicht besitzen, stellen Sie zumindest sicher, dass der + Compiler Ihres Anbieters ANSI-kompatibel ist. Auerdem muss Ihr + <code>PATH</code> wesentliche Generierungswerkzeuge wie + <code>make</code> enthalten.</dd> + + <dt>Zeitgenauigkeit bewahren</dt> + <dd>Elemente des HTTP-Protokolls werden in Form einer Tageszeit + ausgedrckt. Darum sollten Sie jetzt prfen, ob Ihr System + die Fhigkeit zur Zeitsynchronisation besitzt, und diese + gegebenenfalls installieren. blicherweise werden hierfr + die Programme <code>ntpdate</code> oder <code>xntpd</code> verwendet, + die auf dem Network Time Protocol (NTP) basieren. Nhere + Informationen ber NTP Software und ffentliche Zeitserver + finden Sie in der Usenet Newsgroup <a href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a> + und auf der <a href="http://www.ntp.org">NTP + Homepage</a>.</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a> + [OPTIONAL]</dt> + <dd>Fr einige Hilfsskripte wie <code class="program"><a href="./programs/apxs.html">apxs</a></code> + oder <code class="program"><a href="./programs/dbmmanage.html">dbmmanage</a></code> (die in Perl + geschrieben sind) wird der Perl 5 Interpreter bentigt (die + Versionen ab 5.003 sind ausreichend). Wenn Sie mehrere Perl + Interpreter haben (beispielsweise eine systemweite Installation von + Perl 4 und Ihre eigene Perl 5-Installation), dann sollten Sie die + <code>--with-perl</code>-Option (siehe unten) verwenden, um + sicherzustellen, dass der richtige Interpreter von + <code class="program"><a href="./programs/configure.html">configure</a></code> ausgewhlt wird. + Wenn kein Perl 5-Interpreter vom <code class="program"><a href="./programs/configure.html">configure</a></code>-Skript + gefunden werden kann, knnen Sie die betroffenen Hilfsskripte nicht + verwenden, sind jedoch selbstverstndlich nach wie vor in der Lage, + den Apache 2.0 zu bauen und zu installieren.</dd> + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">Download</a></h2> + + <p>Der Apache kann von der <a href="http://httpd.apache.org/download.cgi">Apache HTTP Server + Downloadseite</a> heruntergeladen werden, auf der verschiedene Spiegelserver + angegeben sind. Fr die meisten Benutzer des Apache ist es auf + Unix-hnlichen Systemen am Besten, die Quellcodeversion herunterzuladen + und zu kompilieren. Der Erstellungsprozess (weiter unten beschrieben) ist + einfach und erlaubt es Ihnen, den Server Ihren Bedrfnissen anzupassen. + Dazu kommt, dass Binrdistributionen gegenber der aktuellen + Quellcodeversion oft veraltet sind. Wenn Sie tatschlich ein + Binrpaket herunterladen, folgen Sie bitte den Anweisungen in der Datei + <code>INSTALL.bindist</code>, die der Distribution beiliegt.</p> + + <p>Es ist wichtig, dass Sie nach dem Herunterladen berprfen, + dass es sich um einer vollstndige und unvernderte Version des + Apache HTTP Servers handelt. Das knnen Sie erreichen, indem Sie das + heruntergeladene Paket gegen die PGP-Signatur prfen. Einzelheiten dazu + erfahren Sie auf der <a href="http://httpd.apache.org/download.cgi#verify">Download-Seite</a>. Es + ist auch ein erweitertes Beispiel verfgbar, dass die <a href="http://httpd.apache.org/dev/verification.html">Anwendung von PGP</a> + beschreibt.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract">Auspacken</a></h2> + + <p>Das Auspacken des Quellcodes aus dem Apache HTTPD Tarball besteht + aus einem simplen Dekomprimieren und danach "Ent-tarren":</p> + + <div class="example"><p><code> + $ gzip -d httpd-2_1_<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-2_1_<em>NN</em>.tar + </code></p></div> + + <p>Dies erstellt unterhalb des aktuellen Verzeichnisses ein neues + Verzeichnis, das den Quellcode fr die Distribution enthlt. + Sie sollten mit <code>cd</code> in dieses Verzeichnis wechseln, + bevor Sie mit der Kompilierung des Servers weitermachen. </p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">Den Codebaum konfigurieren</a></h2> + + <p>Der nchste Schritt ist die Konfiguration des + Apache-Codebaumes fr Ihre spezielle Plattform und Ihre + persnlichen Bedrfnisse. Dies wird mit dem Skript + <code class="program"><a href="./programs/configure.html">configure</a></code> durchgefhrt, das im Wurzelverzeichnis + der Distribution enthalten ist. (Entwickler, welche die CVS Version + des Apache-Codebaumes herunterladen, mssen <code>autoconf</code> + und <code>libtool</code> installiert haben und mssen + <code>buildconf</code> ausfhren, bevor sie mit den + nchsten Schritten fortfahren knnen. Dies wird bei + offiziellen Releases nicht notwendig sein.)</p> + + <p>Um den Codebaum mit den Standardeinstellungen zu konfigurieren, + geben Sie einfach <code>./configure</code> ein. Zur nderung + dieser Voreinstellungen akzeptiert <code class="program"><a href="./programs/configure.html">configure</a></code> eine + Reihe von Variablen und Kommandozeilenoptionen.</p> + + <p>Die wichtigste Option ist <code>--prefix</code>, der Ablageort, an dem + der Apache spter installiert wird, da er fr diesen Ort + konfiguriert werden muss, um korrekt zu arbeiten. Eine feinere Einstellung + der Dateiablagen ist mit weiteren <a href="programs/configure.html#installationdirectories">configure-Optionen</a> + mglich.</p> + + <p>Weiterhin knnen Sie zu diesem Zeitpunkt festlegen, welche <a href="programs/configure.html#optionalfeatures">Funktionalitt</a> Sie + in den Apache aufnehmen mchten, indem Sie <a href="mod/">Module</a> + aktivieren oder deaktivieren. Der Apache bindet standardmig + einen Satz von <a href="mod/module-dict.html#Status">Basismodulen</a> ein. + Andere Module werden mit Hilfe der Option + <code>--enable-<var>module</var></code> aktiviert, wobei <var>module</var> + den Namen des Moduls ohne das Prfix <code>mod_</code> darstellt. + Ausserdem sind alle Unterstriche durch Bindestriche zu ersetzen. Sie + knnen sich auch entscheiden, Module als "<a href="dso.html">Shared + Objects (DSOs)</a>" zu kompilieren, welche zur Laufzeit ge- und entladen + werden knnen. Dazu verwenden Sie die Option + <code>--enable-<var>module</var>=shared</code>. Entsprechend knnen Sie + Basismodule mit der Option <code>--disable-<var>module</var></code> + deaktivieren. Lassen Sie Vorsicht walten. wenn Sie diese Optionen verwenden, + da <code class="program"><a href="./programs/configure.html">configure</a></code> Sie nicht warnen kann, wenn die von Ihnen + angegebenen Module nicht existieren; die Option wird dann einfach + ignoriert.</p> + + <p>Zustzlich ist es zuweilen notwendig, das + <code class="program"><a href="./programs/configure.html">configure</a></code>-Skript mit Extrainformationen zum Ablageort + Ihres Compilers, Ihrer Bibliotheken oder Header-Dateien zu versorgen. Das + tun Sie, indem Sie entweder Umgebungsvariablen oder Kommandozeilenoptionen + an <code class="program"><a href="./programs/configure.html">configure</a></code> bergeben. Fr mehr Informationen + lesen Sie bitte die Hilfeseite zu <code class="program"><a href="./programs/configure.html">configure</a></code>.</p> + + <p>Um einen kurzen Eindruck zu gewinnen, welche Mglichkeiten Sie + haben, folgt hier ein typisches Beispiel, das den Apache mit einem + speziellen Compiler und Compilerflags fr das + Installationsverzeichnis <code>/sk/pkg/apache</code> kompiliert, sowie + die beiden zustzlichen Module <code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code> und + <code class="module"><a href="./mod/mod_speling.html">mod_speling</a></code> fr spteres Laden durch den + DSO-Mechanismus:</p> + + <div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-rewrite=shared \<br /> + --enable-speling=shared + </code></p></div> + + <p>Wenn <code class="program"><a href="./programs/configure.html">configure</a></code> startet, bentigt es mehrere + Minuten, um die Verfgbarkeit von Features auf Ihrem System zu + prfen und ein Makefile zu generieren, das spter zur + Kompilierung des Servers verwendet wird.</p> + + <p>Einzelheiten zu den vielen verschiedenen <code class="program"><a href="./programs/configure.html">configure</a></code>-Optionen finden Sie auf der Hilfeseite zu + <code class="program"><a href="./programs/configure.html">configure</a></code>.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile">Erstellen</a></h2> + + <p>Nun knnen Sie die verschiedenen Teile, die das Apache-Paket + bilden, einfach durch Ausfhren des folgenden Befehls erstellen:</p> + + <div class="example"><p><code>$ make</code></p></div> + + <p>Seien Sie hierbei bitte geduldig, denn eine Basiskonfiguration + bentigt ungefhr 3 Minuten auf einem Pentium III/Linux 2.2. + System. Dies kann aber abhngig von Ihrer Hardware und der Anzahl + der Module, die Sie aktiviert haben, sehr stark variieren.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">Installieren</a></h2> + + <p>Nun endlich installieren Sie das Package unter dem konfigurierten + Installations-<em>PREFIX</em> (siehe oben: Option <code>--prefix</code> + durch Aufrufen von:</p> + + <div class="example"><p><code>$ make install</code></p></div> + + <p>Wenn Sie upgraden, wird die Installation Ihre Konfigurationsdateien + oder Dokumente nicht berschrieben.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize">Anpassen</a></h2> + + <p>Als nchstes knnen Sie Ihren Apache HTTP Server anpassen, + indem Sie die <a href="configuring.html">Konfigurationsdateien</a> + unterhalb von <code><em>PREFIX</em>/conf/</code> editieren.</p> + + <div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div> + + <p>Werfen Sie auch einen Blick in das Apache-Handbuch unter <a href="./">docs/manual/</a>. Die aktuellste Version dieses Handbuchs + sowie eine komplette Referenz der verfgbaren <a href="mod/directives.html">Konfigurationsanweisungen</a> finden + Sie unter <a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a>.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">Testen</a></h2> + + <p>Sie knnen nun Ihren Apache HTTP Server <a href="invoking.html">starten</a>, indem Sie einfach</p> + + <div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl start</code></p></div> + + <p>ausfhren.</p> + + <p>Danach sollten Sie Ihr erstes Dokument unter dem URL + <code>http://localhost/</code> anfordern knnen. Die Webseite, + die Sie sehen, ist im <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> + abgelegt, welches blicherweise <code><em>PREFIX</em>/htdocs/</code> + ist. Den Server <a href="stopping.html">stoppen</a> Sie wieder durch + Ausfhren von:</p> + + <div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">Upgrade</a></h2> + + <p>Der erste Schritt beim Aktualisieren besteht darin, die + Versionsankndigung sowie die <code>CHANGES</code>-Datei in der + Quelltextdistribution zu lesen, um nderungen zu finden, die Ihr + System mglicherweise betreffen. Wenn Sie einen greren + Versionssprung durchfhren (z.B. vom 1.3 auf 2.0 oder von 2.0 auf + 2.2), wird es wahrscheinlich auch grere Unterschiede in der + Kompilier- und Laufzeitkonfiguration geben, die manuelle Nacharbeiten + erfordern. Auerdem mssen alle Module aktualisiert + werden, um den nderungen der Modul-API gerecht zu werden.</p> + + <p>Die Aktualisierung einer Unterversion auf eine andere (z.B. von 2.0.55 + auf 2.0.57) ist einfacher. <code>make install</code> berschreibt + keine der bereits existierenden Dokumente, Log- und Konfigurationsdateien. + Ausserdem bemhen sich die Entwickler, inkompatible nderungen + der <code class="program"><a href="./programs/configure.html">configure</a></code>-Optionen, der Laufzeitkonfiguration sowie + der Modul-API zu vermeiden. In den meisten Fllen sollten Sie in der + Lage sein, den gleichen <code class="program"><a href="./programs/configure.html">configure</a></code>-Befehl, die gleiche + Konfiguration und die gleichen Module wieder zu verwenden. (Das gilt erst + seit Version 2.0.41 -- frhere Versionen enthielten noch inkompatible + nderungen).</p> + + <p>Um auf eine neue Unterversion zu aktualisieren, suchen Sie zunchst + die Datei <code>config.nice</code> im <code>build</code>-Verzeichnis + Ihrer Serverinstallation oder im Wurzelverzeichnis des Quelltextbaums + der alten Installation. Die Datei enthlt den genauen + <code class="program"><a href="./programs/configure.html">configure</a></code>-Befehl, der verwendet wurde, um den + Quellcode zu konfigurieren. Um jetzt von einer Version auf die + nchste zu aktualisieren, kopieren Sie einfach die + <code>config.nice</code> in das Verzeichnis der neuen Version, + passen sie bei Bedarf an, und fhren Sie sie aus:</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <var>PREFIX</var>/bin/apachectl stop<br /> + $ <var>PREFIX</var>/bin/apachectl start<br /> + </code></p></div> + + <div class="warning">Sie sollten jede neue Version immer in Ihrer Umgebung + testen, bevor Sie sie produktiv schalten. Beispielsweise knnen Sie + die neue Version neben der alten installieren, indem Sie ein anderes + <code>--prefix</code> und einen anderen Port whlen (durch Anpassen der + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>-Direktive). So + knnen Sie auf eventuelle Inkompatibilitten testen, bevor Sie + endgltig die neue Version verwenden.</div> +</div></div> +<div class="bottomlang"> +<p><span>Verfgbare Sprachen: </span><a href="./de/install.html" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Trke"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Kommentare</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Lizenziert unter der <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/install.html.en b/docs/manual/install.html.en new file mode 100644 index 0000000..c7f204e --- /dev/null +++ b/docs/manual/install.html.en @@ -0,0 +1,501 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>Compiling and Installing - Apache HTTP Server Version 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p> +<p class="apache">Apache HTTP Server Version 2.4</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>Compiling and Installing</h1> +<div class="toplang"> +<p><span>Available Languages: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Trke"> tr </a></p> +</div> + + + <p>This document covers compilation and installation of the Apache HTTP Server + on Unix and Unix-like systems only. For compiling and + installation on Windows, see <a href="platform/windows.html">Using Apache HTTP Server with Microsoft + Windows</a> and <a href="platform/win_compiling.html">Compiling Apache for Microsoft Windows</a>. + For other platforms, see the <a href="platform/">platform</a> documentation.</p> + + <p>Apache httpd uses <code>libtool</code> and <code>autoconf</code> + to create a build environment that looks like many other Open Source + projects.</p> + + <p>If you are upgrading from one minor version to the next (for + example, 2.4.9 to 2.4.10), please skip down to the <a href="#upgrading">upgrading</a> section.</p> + +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview for the + impatient</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">Requirements</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">Download</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract">Extract</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">Configuring the source tree</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile">Build</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">Install</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize">Customize</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">Test</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">Upgrading</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#thirdp">Third-party packages</a></li> +</ul><h3>See also</h3><ul class="seealso"><li><a href="programs/configure.html">Configure the source tree</a></li><li><a href="invoking.html">Starting Apache httpd</a></li><li><a href="stopping.html">Stopping and Restarting</a></li><li><a href="#comments_section">Comments</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview">Overview for the + impatient</a></h2> + + <dl> + <dt>Installing on Fedora/CentOS/Red Hat Enterprise Linux</dt> + <dd> + <pre class="prettyprint lang-">sudo yum install httpd +sudo systemctl enable httpd +sudo systemctl start httpd</pre> + + + <div class="warning">Newer releases of these distros use + <code>dnf</code> rather than <code>yum</code>. See <a href="https://fedoraproject.org/wiki/Apache_HTTP_Server">the + Fedora project's documentation</a> for platform-specific notes.</div> + </dd> + + <dt>Installing on Ubuntu/Debian</dt> + <dd> +<pre class="prettyprint lang-">sudo apt install apache2 +sudo service apache2 start</pre> + + + <div class="warning">See <a href="https://help.ubuntu.com/lts/serverguide/httpd.html">Ubuntu's documentation</a> for platform-specific notes.</div> + + </dd> + + <dt>Installing from source</dt> + <dd> + <table> + + <tr> + <td><a href="#download">Download</a></td> + + <td>Download the latest release from <a href="http://httpd.apache.org/download.cgi#apache24">http://httpd.apache.org/download.cgi</a> + </td> + </tr> + + <tr> + <td><a href="#extract">Extract</a></td> + + <td><code>$ gzip -d httpd-<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-<em>NN</em>.tar<br /> + $ cd httpd-<em>NN</em></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 -k start</code> + </td> + </tr> + </table> + + <p><em>NN</em> must be replaced with the current 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> + </dd> + </dl> + + <div class="warning">Don't see your favorite platform mentioned + here? <a href="http://httpd.apache.org/docs-project/">Come help us + improve this doc.</a></div> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">Requirements</a></h2> + + <p>The following requirements exist for building Apache httpd:</p> + + <dl> + <dt>APR and APR-Util</dt> + <dd>Make sure you have APR and APR-Util already installed on + your system. If you don't, or prefer to not use the system-provided + versions, download the latest versions of both APR and APR-Util + from <a href="http://apr.apache.org/">Apache APR</a>, unpack + them into <code>/httpd_source_tree_root/srclib/apr</code> and <code>/httpd_source_tree_root/srclib/apr-util</code> + (be sure the directory names do not have version numbers; for example, + the APR distribution must be under /httpd_source_tree_root/srclib/apr/) and use + <code>./configure</code>'s <code>--with-included-apr</code> + option. On some platforms, you may have to install the + corresponding <code>-dev</code> packages to allow httpd to build + against your installed copy of APR and APR-Util.</dd> + + <dt>Perl-Compatible Regular Expressions Library (PCRE)</dt> + <dd>This library is required but not longer bundled with httpd. + Download the source code from <a href="http://www.pcre.org/">http://www.pcre.org</a>, + or install a Port or Package. If your build system can't find + the pcre-config script installed by the PCRE build, point to it + using the <code>--with-pcre</code> parameter. On some platforms, + you may have to install the corresponding <code>-dev</code> + package to allow httpd to build against your installed copy + of PCRE.</dd> + + <dt>Disk Space</dt> + <dd>Make sure you have at least 50 MB of temporary free disk + space available. After installation the server occupies + approximately 10 MB of disk space. The actual disk space + requirements will vary considerably based on your chosen + configuration options, any third-party modules, and, of course, + the size of the web site or sites that you have on the server.</dd> + + <dt>ANSI-C Compiler and Build System</dt> + <dd>Make sure you have an ANSI-C compiler installed. The <a href="http://gcc.gnu.org/">GNU C + compiler (GCC)</a> from the <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a> + is recommended. 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>.</dd> + + <dt>Accurate time keeping</dt> + <dd>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 + <code>ntpdate</code> or <code>xntpd</code> programs are used for + this purpose which are based on the Network Time Protocol (NTP). + See the <a href="http://www.ntp.org">NTP + homepage</a> for more details about NTP software and public + time servers.</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a> + [OPTIONAL]</dt> + <dd>For some of the support scripts like <code class="program"><a href="./programs/apxs.html">apxs</a></code> or <code class="program"><a href="./programs/dbmmanage.html">dbmmanage</a></code> (which are + written in Perl) the Perl 5 interpreter is required (versions + 5.003 or newer are sufficient). If no Perl 5 interpreter is found by the + <code class="program"><a href="./programs/configure.html">configure</a></code> script, you will not be able to use + the affected support scripts. Of course, you will still be able to + build and use Apache httpd.</dd> + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">Download</a></h2> + + <p>The Apache HTTP Server can be downloaded from the <a href="http://httpd.apache.org/download.cgi">Apache HTTP Server + download site</a>, which lists several mirrors. Most users of + Apache on unix-like systems will be better off downloading and + compiling a source version. The build process (described below) is + easy, and it allows you to customize your server to suit your needs. + In addition, binary releases are often not up to date with the latest + source releases. If you do download a binary, follow the instructions + in the <code>INSTALL.bindist</code> file inside the distribution.</p> + + <p>After downloading, 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. Details on how to do this are available on the <a href="http://httpd.apache.org/download.cgi#verify">download + page</a> and an extended example is available describing the <a href="http://httpd.apache.org/dev/verification.html">use of + PGP</a>.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract">Extract</a></h2> + + <p>Extracting the source from the Apache HTTP Server tarball is a + simple matter of uncompressing, and then untarring:</p> + +<div class="example"><p><code> +$ gzip -d httpd-<em>NN</em>.tar.gz<br /> +$ tar xvf httpd-<em>NN</em>.tar +</code></p></div> + + <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> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">Configuring the source tree</a></h2> + + <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 class="program"><a href="./programs/configure.html">configure</a></code> included in + the root directory of the distribution. (Developers downloading + an unreleased 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 class="program"><a href="./programs/configure.html">configure</a></code> accepts a variety of variables + and command line options.</p> + + <p>The most important option is the location <code>--prefix</code> + 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 <a href="programs/configure.html#installationdirectories">configure + options</a>.</p> + + <p>Also at this point, you can specify which <a href="programs/configure.html#optionalfeatures">features</a> you + want included in Apache by enabling and disabling <a href="mod/">modules</a>. Apache comes with a wide range of modules + included by default. They will be compiled as + <a href="dso.html">shared objects (DSOs)</a> which can be loaded + or unloaded at runtime. + You can also choose to compile modules statically by using the option + <code>--enable-<var>module</var>=static</code>.</p> + + <p>Additional modules are enabled using the + <code>--enable-<var>module</var></code> option, where + <var>module</var> is the name of the module with the + <code>mod_</code> string removed and with any underscore converted + to a dash. Similarly, you can disable modules with the + <code>--disable-<var>module</var></code> option. Be careful when + using these options, since <code class="program"><a href="./programs/configure.html">configure</a></code> cannot warn you + if the module you specify does not exist; it will simply ignore the + option.</p> + + <p>In addition, it is sometimes necessary to provide the + <code class="program"><a href="./programs/configure.html">configure</a></code> 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 <code class="program"><a href="./programs/configure.html">configure</a></code>. For more information, see the + <code class="program"><a href="./programs/configure.html">configure</a></code> manual page. Or invoke + <code class="program"><a href="./programs/configure.html">configure</a></code> using the <code>--help</code> option.</p> + + <p>For a short impression of what possibilities you have, here + is a typical example which compiles Apache for the installation + tree <code>/sw/pkg/apache</code> with a particular compiler and flags + plus the two additional modules <code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> and + <code class="module"><a href="./mod/mod_lua.html">mod_lua</a></code>:</p> + +<div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-ldap=shared \<br /> + --enable-lua=shared +</code></p></div> + + <p>When <code class="program"><a href="./programs/configure.html">configure</a></code> 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>Details on all the different <code class="program"><a href="./programs/configure.html">configure</a></code> options are + available on the <code class="program"><a href="./programs/configure.html">configure</a></code> manual page.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile">Build</a></h2> + + <p>Now you can build the various parts which form the Apache + package by simply running the command:</p> + +<div class="example"><p><code>$ make</code></p></div> + + <p>Please be patient here, since a base configuration takes + several minutes to compile and the time will vary widely + depending on your hardware and the number of modules that you + have enabled.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">Install</a></h2> + + <p>Now it's time to install the package under the configured + installation <em>PREFIX</em> (see <code>--prefix</code> option + above) by running:</p> + +<div class="example"><p><code>$ make install</code></p></div> + + <p>This step will typically require root privileges, since + <em>PREFIX</em> is usually a directory with restricted write + permissions.</p> + + <p>If you are upgrading, the installation will not overwrite + your configuration files or documents.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize">Customize</a></h2> + + <p>Next, you can customize your Apache HTTP server by editing + the <a href="configuring.html">configuration files</a> under + <code><em>PREFIX</em>/conf/</code>.</p> + +<div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div> + + <p>Have a look at the Apache manual under + <code><em>PREFIX</em>/docs/manual/</code> or consult <a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a> for the most recent + version of this manual and a complete reference of available <a href="mod/directives.html">configuration directives</a>.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">Test</a></h2> + + <p>Now you can <a href="invoking.html">start</a> your Apache + HTTP server by immediately running:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k start</code></p></div> + + <p>You should then be able to request your first document + via the URL <code>http://localhost/</code>. The web page you see is located + under the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>, + which will usually be <code><em>PREFIX</em>/htdocs/</code>. + Then <a href="stopping.html">stop</a> the server again by + running:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">Upgrading</a></h2> + + <p>The first step in upgrading is to read the release announcement + and the file <code>CHANGES</code> in the source distribution to + find any changes that may affect your site. When changing between + major releases (for example, from 2.0 to 2.2 or from 2.2 to 2.4), + there will likely be major differences in the compile-time and + run-time configuration that will require manual adjustments. All + modules will also need to be upgraded to accommodate changes in the + module API.</p> + + <p>Upgrading from one minor version to the next (for example, from + 2.2.55 to 2.2.57) is easier. The <code>make install</code> + process will not overwrite any of your existing documents, log + files, or configuration files. In addition, the developers make + every effort to avoid incompatible changes in the + <code class="program"><a href="./programs/configure.html">configure</a></code> options, run-time configuration, or the + module API between minor versions. In most cases you should be able to + use an identical <code class="program"><a href="./programs/configure.html">configure</a></code> command line, an identical + configuration file, and all of your modules should continue to + work.</p> + + <p>To upgrade across minor versions, start by finding the file + <code>config.nice</code> in the <code>build</code> directory of + your installed server or at the root of the source tree for your + old install. This will contain the exact + <code class="program"><a href="./programs/configure.html">configure</a></code> command line that you used to + configure the source tree. Then to upgrade from one version to + the next, you need only copy the <code>config.nice</code> file to + the source tree of the new version, edit it to make any desired + changes, and then run:</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <em>PREFIX</em>/bin/apachectl -k graceful-stop<br /> + $ <em>PREFIX</em>/bin/apachectl -k start<br /> + </code></p></div> + + <div class="warning">You should always test any new version in your + environment before putting it into production. For example, you + can install and run the new version along side the old one by + using a different <code>--prefix</code> and a + different port (by adjusting the <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directive) to test for any + incompatibilities before doing the final upgrade.</div> + + <p>You can pass additional arguments to <code>config.nice</code>, + which will be appended to your original <code class="program"><a href="./programs/configure.html">configure</a></code> + options:</p> + + <div class="example"><p><code> + $ ./config.nice --prefix=/home/test/apache --with-port=90 + </code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="thirdp" id="thirdp">Third-party packages</a></h2> + + <p>A large number of third parties provide their own packaged + distributions of the Apache HTTP Server for installation on + particular platforms. This includes the various Linux distributions, + various third-party Windows packages, Mac OS X, Solaris, and many + more.</p> + + <p>Our software license not only permits, but encourages, this kind + of redistribution. However, it does result in a situation where the + configuration layout and defaults on your installation of the server + may differ from what is stated in the documentation. While + unfortunate, this situation is not likely to change any time + soon.</p> + + <p>A <a href="http://wiki.apache.org/httpd/DistrosDefaultLayout">description + of these third-party distrubutions</a> is maintained in the HTTP + Server wiki, and should reflect the current state of these + third-party distributions. However, you will need to familiarize + yourself with your particular platform's package management and + installation procedures.</p> + +</div></div> +<div class="bottomlang"> +<p><span>Available Languages: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Trke"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossary</a> | <a href="./sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/install.html.es b/docs/manual/install.html.es new file mode 100644 index 0000000..e7b01e8 --- /dev/null +++ b/docs/manual/install.html.es @@ -0,0 +1,483 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>Compilar e Instalar - Servidor HTTP Apache Versin 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/">Mdulos</a> | <a href="./mod/directives.html">Directivas</a> | <a href="http://wiki.apache.org/httpd/FAQ">Preguntas Frecuentes</a> | <a href="./glossary.html">Glosario</a> | <a href="./sitemap.html">Mapa del sitio web</a></p> +<p class="apache">Versin 2.4 del Servidor HTTP Apache</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Servidor HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentacin</a> > <a href="./">Versin 2.4</a></div><div id="page-content"><div id="preamble"><h1>Compilar e Instalar</h1> +<div class="toplang"> +<p><span>Idiomas disponibles: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" title="Espaol"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Trke"> tr </a></p> +</div> +<div class="outofdate">Esta traduccin podra estar + obsoleta. Consulte la versin en ingls de la + documentacin para comprobar si se han producido cambios + recientemente.</div> + + + <p>ste documento hace referencia a la compilacin y la instalacin del Apache + HTTP Server slo para los sistemas Unix y tipo Unix. Para la compilacin e instalacin en Windows ir a <a href="platform/windows.html">Usando Apache HTTP Server con Microsoft + Windows</a> y <a href="platform/win_compiling.html">Compilando Apache para Microsoft Windows</a>. + Para otras plataformas visite la documentacin sobre <a href="platform/">plataformas</a>.</p> + + <p>Apache httpd usa <code>libtool</code> y <code>autoconf</code> + para crear un entorno de compilacin que se parece a muchos otros proyectos de cdigo abierto</p> + + <p>Si est actualizando desde una versin menor a la siguiente (por + ejemplo, 2.4.8 a 2.4.9), pasa a la seccin de <a href="#upgrading">actualizacin</a>.</p> + +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Descripcin general para los impacientes</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">Requisitos</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">Descargar</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract">Descomprimir</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">Configuracin de la estructura de +directorios</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile">Build</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">Instalar</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize">Personalizar APACHE</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">Comprobar que la instalacin +funciona</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">Actualizar una instalacin previa</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#thirdp">Paquetes de terceros</a></li> +</ul><h3>Consulte tambin</h3><ul class="seealso"><li><a href="programs/configure.html">Configuracin del rbol de las fuentes de cdigo</a></li><li><a href="invoking.html">Arrancando Apache httpd</a></li><li><a href="stopping.html">Parada y Reinicio</a></li><li><a href="#comments_section">Comentarios</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview">Descripcin general para los impacientes</a></h2> + + <table> + + <tr> + <td><a href="#download">Descarga</a></td> + + <td>Descarga la ltima versin + desde <a href="http://httpd.apache.org/download.cgi#apache24"> + http://httpd.apache.org/download.cgi</a> + </td> + </tr> + + <tr> + <td><a href="#extract">Extraer</a></td> + + <td><code>$ gzip -d httpd-<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-<em>NN</em>.tar<br /> + $ cd httpd-<em>NN</em></code></td> + </tr> + + <tr> + <td><a href="#configure">Configura</a></td> + + <td><code>$ ./configure --prefix=<em>PREFIX</em></code> + </td> + </tr> + + <tr> + <td><a href="#compile">Compila</a></td> + + <td><code>$ make</code> </td> + </tr> + + <tr> + <td><a href="#install">Instala</a></td> + + <td><code>$ make install</code> </td> + </tr> + + <tr> + <td><a href="#customize">Personalizalo</a></td> + + <td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td> + </tr> + + <tr> + <td><a href="#test">Prueba</a></td> + + <td><code>$ <em>PREFIX</em>/bin/apachectl -k start</code> + </td> + </tr> + </table> + + <p><em>NN</em> hay que reemplazarlo por el nmero de la versin menor, y <em>PREFIX</em> hay que reemplazarlo por la ruta en la que se va a instalar Apache. Si no especifica ningn valor en <em>PREFIX</em>, el valor por defecto que se toma es /usr/local/apache2.</p> + + <p>Cada parte del proceso de configuracin e instalacin se describe detalladamente ms abajo, empezando por los requisitos para compilar e instalar Apache.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">Requisitos</a></h2> + + <p>Estos son los requisitos necesarios para compilar Apache:</p> + + <dl> + <dt>APR y APR-Util</dt> + <dd>Asegrate de que tiene instalado ya en su sistema APR y APR-Util. Si no es as, o no quiere utilizar la versin que le proporciona el sistema, puede descargar la ltima versin de ambos APR y APR-Util de + <a href="http://apr.apache.org/">Apache APR</a>, descomprimelo en + <code>/httpd_source_tree_root/srclib/apr</code> y /httpd_source_tree_root<code>/srclib/apr-util</code> + (cercirate de que no existen directorios con nmeros de versiones; por ejemplo, + la distribucin de APR debe estar en /httpd_source_tree_root/srclib/apr/) y usa el comando + <code>./configure</code> <code>--con-las-opciones-incluidas-en-apr</code>. + En algunas plataformas debers instalar la parte correspondiente a los paquetes + <code>-dev</code> para permitir que httpd se genere contra la instalacin de la copia de APR y APR-Util.</dd> + + <dt>Librera Compatible de expresiones regulares de Perl (PCRE)</dt> + <dd>Esta librera es requerida, pero ya no incluido con httpd. + Descarga el cdigo fuente de <a href="http://www.pcre.org/">http://www.pcre.org</a>, + o instala un Port o un Paquete. Si la distrubucin de su sistema no puede encontrar el escript pcre-config instalado por PCRE, seleccione utilizando el parmetro<code>--with-pcre</code>.En algunas plataformas, + debers instalar la correspondiente versin <code>-dev</code> + del paquete para permitir a httpd que se genere contra la instalacin de la copia del PCRE que se ha instalado.</dd> + + <dt>Espacio en disco</dt> + <dd>Compruebe que tiene disponibles al + menos 50 MB de espacio libre en disco. Despus de la + instalacin, Apache ocupa aproximadamente 10 MB. No + obstante, la necesidad real de espacio en disco vara + considerablemente en funcin de las opciones de + configuracin que elija y de los mdulos externos que + use, y como no del tamao de la pgina web</dd> + + <dt>Systema de compilacin ANSI-C</dt> + <dd>Compruebe que tiene instalado un compilador de ANSI-C. Se recomienda el <a href="http://gcc.gnu.org/">Compilador GNU C + (GCC)</a> de la <a href="http://www.gnu.org/">Free Software + Foundation (FSF)</a> es el recomendado. Si no tiene instalado el GCC, entonces compruebe que + el compilador que va a utilizar cumple con los estndares + ANSI. Adems, su <code>PATH</code> debe contener la + ubicacin donde de encuentran las herramientas bsicas + para compilar tales como <code>make</code>.</dd> + + <dt>Ajuste exacto del reloj del sistema</dt> + <dd>Los elementos + del protocolo HTTP estn expresados segn la hora del + da. Por eso, si quiere puede investigar como instalar alguna + utilidad para sincronizar la hora de su sistema. Para esto, + normalmente, se usan los programas <code>ntpdate</code> o + <code>xntpd</code>, que estn basados en el protocolo + "Network Time Protocol" (NTP). Consulte el<a href="http://www.ntp.org">sitio web de NTP + </a> para obtener ms informacin sobre NTP y los + servidores pblicos de tiempo.</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a>[OPCIONAL]</dt> + <dd>Para algunos de los scripts de soporte como<code class="program"><a href="./programs/apxs.html">apxs</a></code> o <code class="program"><a href="./programs/dbmmanage.html">dbmmanage</a></code> (que estn + escritos en Perl) es necesario el intrprete de Perl 5 (las + versiones 5.003 o posteriores son suficientes). Si el escript + <code class="program"><a href="./programs/configure.html">configure</a></code> no se encuentra, no podr usar los + escripts correspondientes que lo necesiten. Pero por supuesto + podrs compilar y usar Apache httpd.</dd> + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">Descargar</a></h2> + + <p>Puede descargar Apache desde <a href="http://httpd.apache.org/download.cgi">la seccin de + descargas del sitio web de Apache</a> el cual tiene varios + mirrors. Para la mayora de los usuarios de Apache que tienen + sistemas tipo Unix, se recomienda que se descarguen y compilen el + cdigo fuente. El proceso de compilacin (descrito + ms abajo) es fcil, y permite adaptar el servidor + Apache a sus necesidades. Adems, las versiones de + disponibles en archivos binarios no estn siempre actualizadas + con las ltimas modificaciones en el cdigo fuente. Si se + descarga un binario, siga las instrucciones contenidas en el + archivo <code>INSTALL.bindist</code> incluido en la + distribucin</p> + + <p>Despus de la descarga, es importante que verifique que el + archivo descargado del servidor HTTP Apache est completo y + sin modificaciones. Esto puede hacerlo comparando el archivo + descargado (.tgz) con su firma PGP. Instrucciones detalladas de + cmo hacer esto estn disponibles en <a href="http://httpd.apache.org/download.cgi#verify"> la + seccin de descargas</a> junto con un ejemplo de cmo <a href="http://httpd.apache.org/dev/verification.html">usar + PGP</a>.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract">Descomprimir</a></h2> + + <p>Extraer el cdigo fuente del archivo .tgz del Servidor Apache HTTP que acabada + de descargar es muy fcil. Ejecute los siguientes comandos:</p> + +<div class="example"><p><code> +$ gzip -d httpd-<em>NN</em>.tar.gz<br /> +$ tar xvf httpd-<em>NN</em>.tar +</code></p></div> + + <p>Estos comandos crearn un nuevo directorio dentro del + directorio en el que se encuentra y que contendr el + cdigo fuente de distribucin. Debe cambiarse a ese + directorio con <code>cd</code> para proceder a compilar el + servidor Apache.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">Configuracin de la estructura de +directorios</a></h2> + + <p>El siguiente paso es configurar la estructura de directorios + para su plataforma y sus necesidades personales. Esto se hace + usando el script <code class="program"><a href="./programs/configure.html">configure</a></code> incluido en el directorio + raz de la distribucin que acaba de descargar. (Los + desarrolladores que se descarguen la versin del CVS de la + estructura de directorios necesitarn tener instalados + <code>autoconf</code> y <code>libtool</code>, y necesitarn + ejecutar <code>buildconf</code> antes de continuar con los + siguientes pasos. Esto no es preciso para las versiones + oficiales.)</p> + + <p>Para configurar la estructura de directorios a partir del + cdigo fuente usando las opciones por defecto, solo tiene que + ejecutar <code>./configure</code>.Para cambiar las opciones por + defecto, <code class="program"><a href="./programs/configure.html">configure</a></code> acepta una serie de variables y + opciones por la lnea de comandos.</p> + + <p>La opcin ms importante es <code>--prefix</code> + que es el directorio en el que Apache va a ser instalado despus, + porque Apache tiene que ser configurado para el directorio que se + especifique para que funcione correctamente. Es posible lograr un + mayor control del lugar donde se van a instalar los ficheros de + Apache con otras <a href="programs/configure.html#installationdirectories">opciones de + configuracin</a>.</p> + + <p>Llegados a este punto, puede especificar que <a href="programs/configure.html#optionalfeatures">caractersticas + o funcionalidades</a> quiere incluir en Apache activando o + desactivando <a href="mod/">modules</a>.Apache vine con una amplia + seleccin de mdulos incluidos por defecto. Que sern compilados como . + <a href="dso.html">Objetos Compartidos (DSOs)</a> Que pueden ser activados + o desactivados en tiempo de ejecucin. + Tambin puede elegir por compilar mdulos de forma esttica usando las opciones + <code>--enable-<var>module</var>=static</code>.</p> + + + + <p>Se pueden activar otros mdulos usando la opcin + <code>--enable-<var>module</var></code>, where + <var>module</var> es el nombre del mdulo sin el + <code>mod_</code> y convirtiendo los guiones bajos que tenga en + guiones normales. Del mismo modo, puede desactivar los mdulos con la + opcin <code>--disable-<var>module</var></code>. Tenga cuidado al utilizar esta opcin, ya que + <code class="program"><a href="./programs/configure.html">configure</a></code> no le avisar si el mdulo que especifica no existe; + simplemente ignorar esa opcin.</p> + + <p>Adems, a veces es necesario pasarle al script + <code class="program"><a href="./programs/configure.html">configure</a></code> informacin adicional sobre donde esta + su compilador, libreras o ficheros de cabecera. Esto se puede + hacer, tanto pasando variables de entorno, como pasandole opciones + a <code class="program"><a href="./programs/configure.html">configure</a></code>. Para ms informacin, consulte el manual de + <code class="program"><a href="./programs/configure.html">configure</a></code>. O use <code class="program"><a href="./programs/configure.html">configure</a></code> con la + opcin <code>--help</code>.</p> + + <p>Para que se haga una idea sobre las posibilidades que tiene, + aqu tiene un ejemplo tpico que configura Apache para + la ruta <code>/sw/pkg/apache</code> con un compilador y unos flags + determinados, y adems, con dos mdulos adicionales + <code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> y <code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> para + cargarlos despus a travs del mecanismo DSO:</p> + +<div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-ldap=shared \<br /> + --enable-lua=shared +</code></p></div> + + <p>Cuando se ejecuta <code class="program"><a href="./programs/configure.html">configure</a></code> se comprueban que + caractersticas o funcionalidades estn disponibles en + su sistema y se crean los Makefiles que sern usados a continuacin + para compilar el servidor. Esto tardar algunos minutos.</p> + + <p>Los detalles de todas las opciones de <code class="program"><a href="./programs/configure.html">configure</a></code> estn disponibles + en el manual de <code class="program"><a href="./programs/configure.html">configure</a></code> .</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile">Build</a></h2> + + <p>Ahora puede compilar las diferentes partes que forman Apache + simplemente ejecutando el siguiente comando:</p> + +<div class="example"><p><code>$ make</code></p></div> + + <p>Por favor sea paciente llegado a este punto, ya que una configuracin bsica lleva unos minutos + para su compilacin, y el tiempo puede variar mucho dependiendo de su hardware + y del nmero de mdulos que haya habilitado para la compilacin.(Se recomienda aadir al make el + parmetro -j3 como mnimo para que vaya ms rpido)</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">Instalar</a></h2> + + <p>Ahora es el momento de instalar el paquete en el diretorio + elegido en <em>PREFIX</em> (consulte ms arriba la opcin + <code>--prefix</code>) ejecutando:</p> + +<div class="example"><p><code>$ make install</code></p></div> + + <p>Este paso requiere de forma tpica privilegios de root, ya que + el directorio de <em>PREFIX</em> es normalmente un directorio con + restricciones de permisos escritura.</p> + + <p>Si lo que esta es slo actualizando, la instalacin no sobreescribir los + archivos de configuracin.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize">Personalizar APACHE</a></h2> + + <p>Tras la instalacin puede personalizarla, editando los + <a href="configuring.html">archivos de configuracion </a> en el directorio de + <code><em>PREFIX</em>/conf/</code>.</p> + +<div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div> + + <p>chele un vistazo al Manual de Apache que est en + <code><em>PREFIX</em>/docs/manual/</code> o consulta <a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a> para la versin ms + reciente de este manual y su completa + referencia de las <a href="mod/directives.html">directivas de configuracion</a> disponibles.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">Comprobar que la instalacin +funciona</a></h2> + + <p>Ahora puedes <a href="invoking.html">ejecutar</a> tu Apache + HTTP server ejecutando directamente:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k start</code></p></div> + + <p>Ahora debe poder acceder a su primer documento + bajo la URL <code>http://localhost/</code>. La pgina o documento que ve se encuentra en + <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>, + que por norma general casi siempre ser <code><em>PREFIX</em>/htdocs/</code>. + Si quiere <a href="stopping.html">parar</a> el servidor, puede hacerlo ejecutando:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">Actualizar una instalacin previa</a></h2> + + <p>El primer paso para actualizar una instalacin anterior es + leer las especificaciones de la versin y el fichero + <code>CHANGES</code> en la distribucin de cdigo fuente + que ha descargado para encontrar los cambios que puedan afectar a + su instalacin actual. Cuando el cambio sea entre versiones + mayores(por ejemplo, de la 2.0 a 2.2 o de la 2.2 a la 2.4), + entonces es ms probable que haya diferencias importantes en + la compilacin y en la ejecucin que necesitarn + ajustes manuales. Todos los mdulos necesitarn + tambin ser actualizados para adaptarse a los cambios en el + interfaz de programacin (API) de mdulos.</p> + + <p>Actualizando de una versin menor a la siguiente + (por ejemplo, de la 2.2.55 a la 2.2.57) es mas fcil. El prodeso de realizar el <code>make install</code> + no sobreescribir ninguno de tus documentos existentes,archivos + log, o archivos de configuracin. De hecho, los desarrolladores estn haciendo los esfuerzos + necerarios para evitar cambios que generen incompatibilidades en las opciones de + <code class="program"><a href="./programs/configure.html">configure</a></code>, la configuracin al ser ejecutado, o el mdulo de la API + entre versiones menores. En la mayor parte de los casos debe poder usar un + comando <code class="program"><a href="./programs/configure.html">configure</a></code> idntico, un fichero de + configuracin idntico, y todos sus mdulos deben + seguir funcionando.</p> + + <p>Para actualizar entre versiones menores, empecemos encontrando el archivo de configuracin + <code>config.nice</code> el directorio <code>de instalacin</code> del servidor + o en el directorio raiz del cdigo fuente de tu antigua instalacin. Este archivo contendr + los parmetros exactos para pasarle al + <code class="program"><a href="./programs/configure.html">configure</a></code> que usaste anteriormente para configurar tus directorios. + Entonces, para actualizar su instalacin de una versin a la + siguinete, solo tiene que copiar el archivo + <code>config.nice</code> a la estructura de directorios del + cdigo fuente de la nueva versin, editarlo, hacer + cualquier cambio que desee, y ejecutarlo :</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <em>PREFIX</em>/bin/apachectl -k graceful-stop<br /> + $ <em>PREFIX</em>/bin/apachectl -k start<br /> + </code></p></div> + + <div class="warning">Tenga en cuenta que antes de poner una nueva + versin de Apache en produccin, debe siempre probarla + antes en un entorno de pruebas. Por ejemplo, puede instalar y ejecutar la + nueva versin junto con la antigua usando un + <code>--prefix</code> diferente y un puerto diferente (modificando + la directiva <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>) + para comprobar que no existe ninguna incompatibilidad antes de + hacer la actualizacin definitiva.</div> + + <p>Puede pasarle argumentos adicionales a <code>config.nice</code>, + que se agregarn a susopciones originales de <code class="program"><a href="./programs/configure.html">configure</a></code>:</p> + + <div class="example"><p><code> + $ ./config.nice --prefix=/home/test/apache --with-port=90 + </code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="thirdp" id="thirdp">Paquetes de terceros</a></h2> + + <p>Un gran nmero de terceros proporcionan sus propias + distribuciones empaquetadas del Apache HTTP Server para su + instalacin en plataformas especficas. Esto incluye las distintas + distribuciones de Linux, varios paquetes de Windows de terceros, + Mac OS X, Solaris, y muchos ms.</p> + + <p>Nuestra licencia de software no slo permite, sino que anima, + este tipo de redistribucin. Sin embargo, se da lugar a una situacin + en la que el diseo y la configuracin de los valores predeterminados + de la instalacin del servidor pueden diferir de lo que se indica + en la documentacin. Mientras lamentablemente, esta situacin no es probable que cambie a corto plazo.</p> + + <p>Una <a href="http://wiki.apache.org/httpd/DistrosDefaultLayout">descripcin + de estas distribuciones de terceros </a> est siendo actualizada en el servidor de la WIKI de HTTP + Server, y debera reflejar el actual estado de stas distribuciones de terceros. + Sin embargo, tendr que familiarizarse con los procedimientos de gestin + e instalacin de paquetes de su plataforma (SO) en particular.</p> + +</div></div> +<div class="bottomlang"> +<p><span>Idiomas disponibles: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" title="Espaol"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Trke"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comentarios</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Licencia bajo los trminos de la <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="./mod/">Mdulos</a> | <a href="./mod/directives.html">Directivas</a> | <a href="http://wiki.apache.org/httpd/FAQ">Preguntas Frecuentes</a> | <a href="./glossary.html">Glosario</a> | <a href="./sitemap.html">Mapa del sitio web</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/install.html.fr.utf8 b/docs/manual/install.html.fr.utf8 new file mode 100644 index 0000000..d5442f7 --- /dev/null +++ b/docs/manual/install.html.fr.utf8 @@ -0,0 +1,528 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head> +<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>Compilation et installation - Serveur HTTP Apache Version 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossaire</a> | <a href="./sitemap.html">Plan du site</a></p> +<p class="apache">Serveur HTTP Apache Version 2.4</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>Compilation et installation</h1> +<div class="toplang"> +<p><span>Langues Disponibles: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" title="Français"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + + <p>Ce document couvre l'installation et la compilation du serveur + HTTP Apache + sur les systèmes Unix et similaires seulement. Pour la compilation et + l'installation sous Windows, voir <a href="platform/windows.html">Utiliser le serveur HTTP Apache avec Microsoft + Windows</a> et <a href="platform/win_compiling.html">Compilation + d'Apache sous Microsoft Windows</a>. Pour les autres plateformes, se + référer à la documentation par + <a href="platform/">plateforme</a>.</p> + + <p>Apache httpd utilise <code>libtool</code> et <code>autoconf</code> + afin de créer un environnement de construction similaire à la plupart + des projets Open Source .</p> + + <p>Si vous effectuez une mise à jour depuis une version mineure vers + la suivante (par exemple, 2.4.9 à 2.4.10), veuillez passer à la section + <a href="#upgrading">mise à jour</a>.</p> + +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Aperçu pour les plus pressés</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">Prérequis</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">Téléchargement</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract">Extraction</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">Configuration de l'arborescence des sources</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile">Construction</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">Installation</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize">Personnalisation</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">Test</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">Mise à jour</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#thirdp">Paquets tiers</a></li> +</ul><h3>Voir aussi</h3><ul class="seealso"><li><a href="programs/configure.html">Configuration de l'arborescence + des sources</a></li><li><a href="invoking.html">Démarrer Apache httpd</a></li><li><a href="stopping.html">Arrêt et redémarrage</a></li><li><a href="#comments_section">Commentaires</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview">Aperçu pour les plus pressés</a></h2> + + <dl> + <dt>Installation sous Fedora/CentOS/Red Hat Enterprise Linux</dt> + <dd> + <pre class="prettyprint lang-">sudo yum install httpd +sudo service httpd start</pre> + + + <div class="warning">Les dernières versions de ces distributions préfèrent + <code>dnf</code> à <code>yum</code>. Voir la <a href="https://fedoraproject.org/wiki/Apache_HTTP_Server">documentation du + projet Fedora</a> pour des informations spécifiques à cette plateforme.</div> + </dd> + + <dt>Installation sous Ubuntu/Debian</dt> + <dd> +<pre class="prettyprint lang-">sudo apt install apache2 +sudo service apache2 start</pre> + + + <div class="warning">Voir la <a href="https://help.ubuntu.com/lts/serverguide/httpd.html">documentation + Ubuntu</a> pour des informations spécifiques à cette plateforme.</div> + + </dd> + + <dt>Installation à partir des sources</dt> + <dd> + + <table> + + <tr> + <td><a href="#download">Téléchargement</a></td> + + <td>Téléchargez la dernière version depuis <a href="http://httpd.apache.org/download.cgi#apache24">http://httpd.apache.org/download.cgi</a> + </td> + </tr> + + <tr> + <td><a href="#extract">Extraction</a></td> + + <td><code>$ gzip -d httpd-<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-<em>NN</em>.tar<br /> + $ cd httpd-<em>NN</em></code></td> + </tr> + + <tr> + <td><a href="#configure">Configuration</a></td> + + <td><code>$ ./configure --prefix=<em>PREFIX</em></code> + </td> + </tr> + + <tr> + <td><a href="#compile">Compilation</a></td> + + <td><code>$ make</code> </td> + </tr> + + <tr> + <td><a href="#install">Installation</a></td> + + <td><code>$ make install</code> </td> + </tr> + + <tr> + <td><a href="#customize">Personnalisation</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 -k start</code> + </td> + </tr> + </table> + + <p><em>NN</em> doit être remplacé par le numéro de version courant, + et <em>PREFIX</em> par le + chemin du répertoire d'installation. Si + <em>PREFIX</em> n'est pas spécifié, le chemin du répertoire + d'installation prendra sa valeur par défaut, à savoir + <code>/usr/local/apache2</code>.</p> + + <p>Chaque étape du processus de compilation et d'installation est + décrite plus en détails ci-dessous, à commencer par les prérequis + pour compiler et installer Apache httpd.</p> + + </dd> + </dl> + + <div class="warning">L'installation sous votre plateforme favorite n'est pas + traitée ici ? N'hésitez pas à nous <a href="http://httpd.apache.org/docs-project/">aider à compléter cette + documentation</a> en nous faisant profiter de votre expérience.</div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">Prérequis</a></h2> + + <p>Les prérequis pour la construction d'Apache httpd sont les suivants:</p> + + <dl> + <dt>APR et APR-Util</dt> + <dd>APR et APR-Util doivent être déjà installés sur votre système. + Si ce n'est pas le cas, ou si vous préférez ne pas utiliser les + versions fournies par le système, téléchargez les dernières + versions d'APR et APR-Util depuis <a href="http://apr.apache.org/">Apache APR</a>, décompressez-les + respectivement dans <code>/racine_sources_httpd/srclib/apr</code> et + <code>/racine_sources_httpd/srclib/apr-util</code> (les noms des répertoires ne + doivent pas comporter de numéros de versions ; par exemple, la + distribution d'APR doit se trouver dans /racine_sources_httpd/srclib/apr/), et + utilisez l'option <code>--with-included-apr</code> du script + <code>./configure</code>. Sur certaines plateformes, vous devrez + peut-être installer les paquets <code>-dev</code> correspondants + pour permettre la compilation de httpd avec les versions + installées d'APR et APR-Util.</dd> + + <dt>Bibliothèque d'expressions rationnelles compatibles Perl + (PCRE)</dt> + <dd>Cette bibliothèque est nécessaire mais n'est plus fournie avec la + distribution de httpd. Téléchargez le code source depuis <a href="http://www.pcre.org/">http://www.pcre.org</a> ou installez + un portage du paquet. Si votre suite de compilation ne trouve pas + le script pcre-config installé au cours du processus de + construction de PCRE, indiquez son chemin via l'option + <code>--with-pcre</code> du script <code>./configure</code>. Sur + certaines plateformes, vous devrez + peut-être installer les paquets <code>-dev</code> correspondants + pour permettre la compilation de httpd avec la version + installée de PCRE.</dd> + + <dt>Espace disque</dt> + <dd>Assurez-vous d'avoir au moins 50 Mo d'espace disque disponible + temporaire. Après l'installation le serveur occupe + approximativement 10 Mo d'espace disque. L'espace disque réellement + nécessaire va varier considérablement en fonction de vos options + de configuration, de la présence éventuelle de + modules tiers, et bien entendu de la taille de votre site web et + des sites que vous hébergez sur votre serveur.</dd> + + <dt>Compilateur ANSI-C et système de construction</dt> + <dd>Vous devez disposer d'un compilateur ANSI-C. Le compilateur <a href="http://gcc.gnu.org/">GNU C (GCC)</a> de la <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a> + est recommandé. Si vous ne possédez pas GCC, + assurez-vous au moins que votre compilateur soit compatible ANSI. + En outre, votre <code>PATH</code> doit contenir + les outils de construction de base tels que <code>make</code>.</dd> + + <dt>Connaissance de l'heure exacte</dt> + <dd>Les éléments du protocole HTTP font référence à l'heure du jour. + Par conséquent, il est nécessaire d'équiper votre système d'un + dispositif de synchronisation du temps. Les programmes + <code>ntpdate</code> ou <code>xntpd</code>, basés sur le protocole NTP, + sont couramment utilisés à cet effet. + Voir la <a href="http://www.ntp.org">page d'accueil de NTP</a> + pour plus de détails à propos du logiciel NTP et des serveurs + de temps publics.</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a> + [OPTIONNEL]</dt> + <dd>L'interpréteur Perl 5 (les versions 5.003 ou supérieures conviennent) + est nécessaire pour l'exécution de certains scripts comme + <code class="program"><a href="./programs/apxs.html">apxs</a></code> ou <code class="program"><a href="./programs/dbmmanage.html">dbmmanage</a></code> + (qui sont écrits en Perl). + Si le script <code class="program"><a href="./programs/configure.html">configure</a></code> ne trouve pas d'interpréteur + Perl 5, vous ne pourrez pas utiliser les scripts qui en ont besoin. + Bien entendu, vous pourrez tout de même construire et utiliser + Apache httpd.</dd> + + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">Téléchargement</a></h2> + + <p>Le serveur HTTP Apache peut être téléchargé à partir du + <a href="http://httpd.apache.org/download.cgi">site de téléchargement + du serveur HTTP Apache</a>, qui fournit la liste de nombreux miroirs. + Il sera plus commode à la plupart des utilisateurs d'Apache sur les + systèmes UNIX ou similaires de télécharger et de compiler + la version sources. Le processus de construction (décrit ci-dessous) est + simple, et vous permet de personnaliser votre serveur selon vos besoins. + En outre, les versions binaires sont souvent plus anciennes que les + dernières versions sources. Si vous téléchargez une version binaire, + suivez les instructions décrites dans le fichier + <code>INSTALL.bindist</code> inclus dans la distribution.</p> + + <p>Après le téléchargement, il est important de vérifier que vous + disposez d'une version complète et non modifiée du serveur HTTP Apache. + Vous pouvez le faire en testant l'archive téléchargée à l'aide de + la signature PGP. Vous trouverez les détails de cette opération sur la <a href="http://httpd.apache.org/download.cgi#verify">page de téléchargement</a> ainsi qu'un exemple précis décrivant <a href="http://httpd.apache.org/dev/verification.html">l'utilisation de + PGP</a>.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract">Extraction</a></h2> + + <p>L'extraction des sources depuis l'archive du serveur HTTP Apache consiste + simplement à décompresser et à désarchiver cette dernière :</p> + +<div class="example"><p><code> +$ gzip -d httpd-<em>NN</em>.tar.gz<br /> +$ tar xvf httpd-<em>NN</em>.tar +</code></p></div> + + <p>Ceci créera, dans le répertoire courant, un nouveau répertoire + contenant le code source de la distribution. Vous devrez vous positionner + dans ce répertoire avant de procéder à la compilation du serveur.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">Configuration de l'arborescence des sources</a></h2> + + <p>L'étape suivante consiste à configurer l'arborescence des sources + d'Apache en fonction de votre plateforme et de vos besoins personnels. + Le script <code class="program"><a href="./programs/configure.html">configure</a></code>, situé à la racine du + répertoire de la distribution, a été conçu à cet effet + (Les développeurs qui téléchargent + une version non officielle de l'arborescence des sources d'Apache + devront disposer de + <code>autoconf</code> et <code>libtool</code> et + exécuter <code>buildconf</code> avant de passer à l'étape suivante, + ce qui n'est pas nécessaire pour les versions officielles).</p> + + <p>Pour configurer l'arborescence des sources avec les valeurs par défaut + pour toutes les options, entrez simplement <code>./configure</code>. + Pour modifier les valeurs des options, <code class="program"><a href="./programs/configure.html">configure</a></code> + accepte toute une variété de variables et + d'options de ligne de commande.</p> + + <p>L'option la plus importante <code>--prefix</code> est le chemin + du répertoire d'installation d'Apache, car Apache doit être configuré + en fonction de ce chemin pour pouvoir fonctionner correctement. + Il est possible de définir plus finement le chemin d'installation des fichiers + à l'aide d'<a href="programs/configure.html#installationdirectories">options + supplémentaires de configure</a>.</p> + + <p>À ce niveau, vous pouvez aussi spécifier de quelles <a href="programs/configure.html#optionalfeatures">fonctionnalités</a> vous + voulez disposer dans Apache en activant ou désactivant des <a href="mod/">modules</a>. Apache est fourni avec un grand nombre de + modules inclus par défaut. Ils seront compilés en tant qu'<a href="dso.html">objets partagés (DSOs)</a> qui pourront être chargés + ou déchargés à l'exécution. Vous pouvez aussi choisir de compiler + les modules statiquement via l'option + <code>--enable-<var>module</var>=static</code>.</p> + <p>Des modules supplémentaires peuvent être activés à l'aide de l'option + <code>--enable-<var>module</var></code>, où + <var>module</var> est le nom du module sans la chaîne + <code>mod_</code> et où tout caractère de soulignement est converti + en tiret. D'une manière similaire, + vous pouvez désactiver des modules à l'aide de l'option + <code>--disable-<var>module</var></code>. Faites très attention + en utilisant ces options, car <code class="program"><a href="./programs/configure.html">configure</a></code> n'est pas en + mesure de vous avertir si le module que vous avez spécifié n'existe pas; + il ignorera tout simplement l'option.</p> + + <p>En outre, vous devrez peut-être fournir au script + <code class="program"><a href="./programs/configure.html">configure</a></code> des informations supplémentaires sur + le chemin de votre compilateur, de vos bibliothèques, ou de vos fichiers + d'en-têtes. A cet effet, vous pouvez passer des options de ligne de + commande ou des variables d'environnement au script + <code class="program"><a href="./programs/configure.html">configure</a></code>. Pour plus d'informations, voir la + page de manuel de <code class="program"><a href="./programs/configure.html">configure</a></code>, ou lancez le script + <code class="program"><a href="./programs/configure.html">configure</a></code> avec l'option <code>--help</code>. + </p> + + <p>Pour vous faire une idée des possibilités qui s'offrent à vous, voici + un exemple typique de compilation d'Apache avec le répertoire + d'installation <code>/sw/pkg/apache</code>, un compilateur et des drapeaux + particuliers et les deux modules additionnels <code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> + et <code class="module"><a href="./mod/mod_lua.html">mod_lua</a></code> :</p> + +<div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-ldap=shared \<br /> + --enable-lua=shared +</code></p></div> + + <p>Plusieurs minutes peuvent être nécessaires à + <code class="program"><a href="./programs/configure.html">configure</a></code> pour tester la disponibilité des + fonctionnalités + au sein de votre système, et construire les Makefiles qui seront utilisés + par la suite pour compiler le serveur.</p> + + <p>Vous trouverez une description détaillée des options de + <code class="program"><a href="./programs/configure.html">configure</a></code> dans sa page de manuel.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile">Construction</a></h2> + + <p>Vous pouvez maintenant construire les différents éléments qui + composent le paquet Apache en lançant tout simplement la commande :</p> + +<div class="example"><p><code>$ make</code></p></div> + + <p>Vous devez être patient, car il faut plusieurs minutes pour compiler + une configuration de base, et cette durée peut varier considérablement + en fonction de votre matériel et du nombre de modules que vous avez activés.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">Installation</a></h2> + + <p>Il est temps maintenant d'installer le paquet dans le répertoire + d'installation défini par <em>PREFIX</em> (voir plus haut l'option + <code>--prefix</code>) en lançant:</p> + +<div class="example"><p><code>$ make install</code></p></div> + + <p>Cette étape nécessite habituellement les privilèges + de root, car <em>PREFIX</em> est en général un + répertoire possèdant des droits en écriture + restreints.</p> + + <p>Si vous effectuez une mise à jour, l'installation n'écrasera pas + vos fichiers de configuration ou autres documents.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize">Personnalisation</a></h2> + + <p>Ensuite, vous pourrez personnaliser votre Serveur HTTP Apache en + éditant les <a href="configuring.html">fichiers de configuration</a> + situés dans <code><em>PREFIX</em>/conf/</code>.</p> + +<div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div> + + <p>Consultez le manuel d'Apache situé dans + <code><em>PREFIX</em>/docs/manual/</code> ou + <a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a> pour la version la plus + récente de ce manuel et la liste complète des <a href="mod/directives.html">directives de configuration</a> disponibles.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">Test</a></h2> + + <p>Vous pouvez maintenant <a href="invoking.html">démarrer</a> votre + serveur HTTP Apache en lançant:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k start</code></p></div> + + <p>Vous devriez alors pouvoir requérir votre premier document + à l'aide de l'URL <code>http://localhost/</code>. La page web que vous + voyez est située dans le répertoire défini par la directive + <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>, + qui est généralement <code><em>PREFIX</em>/htdocs/</code>. + Pour <a href="stopping.html">arrêter</a> le serveur, lancez:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">Mise à jour</a></h2> + + <p>La première étape d'une mise à jour consiste à lire l'annonce de la + sortie de la nouvelle version et le fichier <code>CHANGES</code> + dans la distribution des sources afin de déceler toutes les modifications + qui pourraient affecter votre site. Lors d'un changement majeur de version + (par exemple de 2.0 à 2.2 ou de 2.2 à 2.4), + il y aura certainement des différences importantes quant à la + configuration de la compilation et de l'exécution qui nécessiteront des + ajustements manuels. Tous les + modules devront aussi être mis à jour pour qu'ils s'adaptent aux + changements de l'API des modules.</p> + + <p>La mise à jour d'une version mineure à la suivante (par exemple, de + 2.2.55 à 2.2.57) est plus aisée. Le processus <code>make install</code> + n'écrasera aucun de vos documents existants, fichiers de log, + ou fichiers de configuration. De plus, les développeurs font tout + leur possible pour éviter les changements entraînant une + incompatibilité dans les options de + <code class="program"><a href="./programs/configure.html">configure</a></code>, la configuration de l'exécution, ou l'API + des modules d'une version mineure à l'autre. Dans la plupart des cas, + vous pourrez utiliser une ligne de commande + <code class="program"><a href="./programs/configure.html">configure</a></code> identique, le même fichier de configuration, + et tous vos modules continueront de fonctionner.</p> + + <p>Pour effectuer une mise à jour entre deux versions mineures, + commencez par trouver le fichier + <code>config.nice</code> dans le répertoire de <code>construction</code> + de votre serveur installé ou à la racine de l'arborescence des sources + de votre ancienne installation. Il contient la reproduction exacte de la + ligne de commande <code class="program"><a href="./programs/configure.html">configure</a></code> que vous avez utilisée pour + configurer l'arborescence des sources. Ensuite, pour mettre à jour + l'ancienne version vers la nouvelle, + il vous suffit de copier le fichier <code>config.nice</code> dans + l'arborescence des sources de la nouvelle version, de l'éditer pour + effectuer toute modification souhaitée, et de lancer :</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <em>PREFIX</em>/bin/apachectl -k graceful-stop<br /> + $ <em>PREFIX</em>/bin/apachectl -k start<br /> + </code></p></div> + + <div class="warning">Vous devez toujours effectuer un test de la nouvelle + version dans votre environnement avant de la mettre en production. + Par exemple, vous pouvez installer et exécuter la nouvelle version + en parallèle avec l'ancienne en utilisant une option + <code>--prefix</code> et un port différents (en ajustant la directive + <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>) afin de déceler toute + incompatibilité avant d'effectuer la mise à jour définitive.</div> + + <p>Vous pouvez ajouter des arguments supplémentaires à + <code>config.nice</code> ; ils seront alors ajoutés aux options de + votre script <code class="program"><a href="./programs/configure.html">configure</a></code> original :</p> + + <div class="example"><p><code> + $ ./config.nice --prefix=/home/test/apache --with-port=90 + </code></p></div> + + </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="thirdp" id="thirdp">Paquets tiers</a></h2> + + <p>De nombreux tiers fournissent leur propre distribution du + serveur HTTP Apache à installer sur une plate-forme particulière. On + peut citer les différentes distributions Linux, divers + paquets tiers Windows, Mac OS X, Solaris et de nombreux autres.</p> + + <p>Notre license logicielle non seulement permet, mais aussi + encourage ce genre de redistribution. Cependant, ceci conduit à une + situation ou l'organisation de la configuration et les valeurs par + défaut de votre installation du serveur peuvent ne pas correspondre + à ce qui est écrit dans la documentation. Bien que fâcheuse, cette + situation n'est pas appelée à évoluer de sitôt.</p> + + <p>Une <a href="http://wiki.apache.org/httpd/DistrosDefaultLayout">description + de ces distributions tierces</a> est maintenue dans le wiki du + serveur HTTP, et doit en refléter l'état actuel. Vous devrez + cependant vous familiariser par vous-même avec la gestion du paquet + de votre plate-forme particulière et les procédures d'installation.</p> + +</div></div> +<div class="bottomlang"> +<p><span>Langues Disponibles: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" title="Français"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="./mod/">Modules</a> | <a href="./mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">Glossaire</a> | <a href="./sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/install.html.ja.utf8 b/docs/manual/install.html.ja.utf8 new file mode 100644 index 0000000..9549047 --- /dev/null +++ b/docs/manual/install.html.ja.utf8 @@ -0,0 +1,434 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head> +<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>コンパイルとインストール - Apache HTTP サーバ バージョン 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/">モジュール</a> | <a href="./mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">用語</a> | <a href="./sitemap.html">サイトマップ</a></p> +<p class="apache">Apache HTTP サーバ バージョン 2.4</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP サーバ</a> > <a href="http://httpd.apache.org/docs/">ドキュメンテーション</a> > <a href="./">バージョン 2.4</a></div><div id="page-content"><div id="preamble"><h1>コンパイルとインストール</h1> +<div class="toplang"> +<p><span>翻訳済み言語: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/install.html" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> +<div class="outofdate">この日本語訳はすでに古くなっている + 可能性があります。 + 最近更新された内容を見るには英語版をご覧下さい。 + </div> + + + <p>この文書で扱う範囲は、Unix や Unix に類似したシステムでの + Apache のコンパイルとインストールです。 Windows における + コンパイルとインストールに関しては「<a href="platform/windows.html">Microsoft + Windows で Apache を使う</a>」をご覧下さい。 + その他のプラットホームに関しては「<a href="platform/">プラットホーム</a>」をご覧下さい。</p> + + <p>Apache 2.0 では他の Open Source プロジェクトと同様、 + ビルド環境構築に <code>libtool</code> と <code>autoconf</code> + を使うようになっています。</p> + + <p>マイナーバージョンからその次のバージョンにアップグレードする + (2.2.50 から 2.2.51 へ等) 場合は、まず <a href="#upgrading"> + アップグレード</a>をご覧下さい。</p> + +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">概要 (せっかちな人向け)</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">必要なもの</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">ダウンロード</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract">展開</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">ソースツリーを設定する</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile">ビルド</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">インストール</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize">カスタマイズ</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">テスト</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">アップグレード</a></li> +</ul><h3>参照</h3><ul class="seealso"><li><a href="programs/configure.html">ソースツリーの設定</a></li><li><a href="invoking.html">Apacheの起動</a></li><li><a href="stopping.html">Apacheの停止と再起動</a></li><li><a href="#comments_section">コメント</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview">概要 (せっかちな人向け)</a></h2> + + <table> + + <tr> + <td><a href="#download">ダウンロード</a></td> + + <td><code>$ lynx http://httpd.apache.org/download.cgi</code> + </td> + </tr> + + <tr> + <td><a href="#extract">展開</a></td> + + <td><code>$ gzip -d httpd-<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-<em>NN</em>.tar<br /> + $ cd httpd-<em>NN</em></code></td> + </tr> + + <tr> + <td><a href="#configure">設定</a></td> + + <td><code>$ ./configure --prefix=<em>PREFIX</em></code> + </td> + </tr> + + <tr> + <td><a href="#compile">コンパイル</a></td> + + <td><code>$ make</code> </td> + </tr> + + <tr> + <td><a href="#install">インストール</a></td> + + <td><code>$ make install</code> </td> + </tr> + + <tr> + <td><a href="#customize">カスタマイズ</a></td> + + <td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td> + </tr> + + <tr> + <td><a href="#test">テスト</a></td> + + <td><code>$ <em>PREFIX</em>/bin/apachectl -k start</code> + </td> + </tr> + </table> + + <p><em>NN</em> は最新のバージョンナンバーに、 + <em>PREFIX</em> はインストールするサーバでのファイルシステムのパスに、 + 置き換えてください。<em>PREFIX</em> を指定しなかった場合は、 + デフォルトの <code>/usr/local/apache2</code> になります。</p> + + <p>Apache httpd のコンパイルとインストールに必要なものをはじめとして、 + コンパイルとインストールについては、次に詳しく記述されています。</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">必要なもの</a></h2> + + <p>Apache のビルドには次のものが必要です:</p> + + <dl> + <dt>ディスクスペース</dt> + <dd>ディスクに少なくとも 50 MB の一時的な空き容量があるように + 気を付けてください。インストール後は Apache は 10 MB 程度の + ディスクスペースを占めます。実際に必要になるディスクスペースは、 + 設定オプションやサードパーティー製モジュールをどう選択するかによって + 大きく変わるでしょう。</dd> + + <dt>ANSI-C コンパイラとビルドシステム</dt> + <dd>ANSI-C コンパイラをインストールしておいて下さい。お薦めは <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a> + による <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C + compiler (GCC)</a> です。GCC がない場合は、 + 少なくとも提供されているコンパイラが ANSI 準拠であることを確認しておいて下さい。 + それから、変数 <code>PATH</code> には <code>make</code> + といった基本的なビルドツールが含まれている必要があります。</dd> + + <dt>時刻を正確にする</dt> + <dd>HTTP プロトコルの要素は日時の時刻で表現されています。ですから、 + 正確な時刻にシンクロさせる機能をシステムに設定することを吟味してみて下さい。 + Network Time Protocol (NTP) をベースとした ntpdate や xntpd プログラムが + この目的によく用いられます。NTP ソフトウェアや公開 NTP + サーバに関する詳細は、<a href="http://www.ntp.org">NTP ホームページ</a> をご覧下さい。</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a> + [オプション]</dt> + <dd>提供されているスクリプト幾つか、例えば <code class="program"><a href="./programs/apxs.html">apxs</a></code> や + <code class="program"><a href="./programs/dbmmanage.html">dbmmanage</a></code> は + Perl で書かれているので、Perl + 5 インタプリタが必要になります (5.003 以降)。 + Perl インタプリタを複数インストールしている (たとえば全体のシステムの一部 + としてインストールされている Perl 4 と、自分で追加でインストールした + Perl 5 があるなどの) 場合、<code>--with-perl</code> オプション (下記参照) + を使って <code class="program"><a href="./programs/configure.html">configure</a></code> が意図したものを使うように + 明示的に指定すると良いでしょう。 + <code class="program"><a href="./programs/configure.html">configure</a></code> スクリプトで Perl 5 インタプリタが + 見つからない場合は、この影響を受けるサポートスクリプトが使えなくなります。 + もちろん、Apache httpd のコンパイルとインストールは問題なく行えます。</dd> + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">ダウンロード</a></h2> + + <p>Apache HTTP サーバは <a href="http://httpd.apache.org/download.cgi">Apache HTTP + サーバダウンロードサイト</a>からダウンロードできますし、 + 同じ場所に幾つかのミラーサイトもリストしています。 + UNIX に類似するシステムで Apache を使うユーザは、ソースを + ダウンロードしてビルドしたほうが良いでしょう。 + ビルドの手順(下記)は簡単ですし、そのおかげでニーズに + 見合ったカスタマイズを簡単にできます。 + さらに、バイナリのリリースはソースリリースよりも + 遅れていることがよくあります。 + それでもバイナリをダウンロードしたのであれば、 + ディストリビューションの中にある <code>INSSTALL.bindist</code> + ファイルの説明に従ってください。</p> + + <p>ダウンロード後、ダウンロードしたものが Apache HTTP + サーバの完全で改竄されていないバージョンであることを + 検証することが重要です。これはダウンロードした tarball の PGP 署名を + テストすることによって検証します。 + この手順の詳細は <a href="http://httpd.apache.org/download.cgi#verify">ダウンロード + ページ</a> にあり、さらに詳しい例は <a href="http://httpd.apache.org/dev/verification.html">PGP の使用 + </a> に記載されています。</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract">展開</a></h2> + + <p>Apache HTTPD の tarball + からソースファイルを展開して取り出すとは、 + 単なる圧縮の解除と tar の展開です:</p> + +<div class="example"><p><code> +$ gzip -d httpd-<em>NN</em>.tar.gz<br /> +$ tar xvf httpd-<em>NN</em>.tar +</code></p></div> + + <p>配布用のソースコードがある現在いるディレクトリの下に、 + 新しいディレクトリが作られます。 + サーバをコンパイルする段階に進む前に、そのディレクトリに + <code>cd</code> で移動してください。</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">ソースツリーを設定する</a></h2> + + <p>次のステップは、あなたのプラットホームと + 個人的な要求に合うように Apache + ソースツリーを設定することです。 + これは配布ディレクトリのルートディレクトリにある、 + <code class="program"><a href="./programs/configure.html">configure</a></code> + スクリプトで行ないます。 + (Apache ソースツリーの未リリース + 版をダウンロードした開発者は、次のステップに進む前に + <code>autoconf</code> と<code>libtool</code> + をインストールして <code>buildconf</code> + を実行する必要があります。 + 公式リリースではこの作業は必要ありません。) </p> + + <p>デフォルトオプションを使ってソースツリーを全て設定する + のであれば、単純に <code>./configure</code> とタイプしてください。 + デフォルトオプションを変更できるように、<code class="program"><a href="./programs/configure.html">configure</a></code> + には様々な変数やコマンドラインオプションが用意されています。</p> + + <p>最も重要なオプションは、Apache がこの後でインストールされる位置 + <code>--prefix</code> です。Apache は、このインストール位置に + おいて正常に動作するように設定しなければならないからです。 + さらに詳細なファイル位置の制御は追加の <a href="programs/configure.html#installationdirectories">設定オプション + </a> でできます。</p> + + <p>この時点で、<a href="mod/">モジュール</a> を有効にしたり + 無効にしたりすることで Apache 本体に含まれる <a href="programs/configure.html#optionalfeatures">機能</a> + を指定できます。Apache 本体にはデフォルトで、モジュールの <a href="mod/module-dict.html#Status">Base</a> セットが + 含まれます。その他のモジュールは + <code>--enable-<var>module</var></code> オプションで + 有効になります。ここで <var>module</var> はモジュールの名前で、 + つまりそれはモジュールの名前から <code>mod_</code> 文字列を取り除いた後に + アンダースコアをダッシュで置換した文字列です。 + これとは別の方法で <code>--enable-<var>module</var>=shared</code> + オプションを使って、モジュールを<a href="dso.html"> + シェアードオブジェクト (DSO)</a> -- 実行時にロードしたり + アンロードしたりできる形式 -- としてコンパイルすることもできます。 + 同様に、<code>--disable-<var>module</var></code> オプションで + Base モジュールを無効化することもできます。 + これらのオプションを使っているときに、もし指定したモジュールが存在しなくても + <code class="program"><a href="./programs/configure.html">configure</a></code> は警告を上げることなく、単純にオプションを + 無視することに気をつけてください。</p> + + <p>上記に加えて、<code class="program"><a href="./programs/configure.html">configure</a></code> スクリプトに、 + コンパイラ、ライブラリ、ヘッダファイルの位置を追加情報として渡す + 必要がある場合があります。このような場合には、環境変数あるいは + コマンドラインオプションで <code class="program"><a href="./programs/configure.html">configure</a></code> に渡します。 + 詳細に関しては <code class="program"><a href="./programs/configure.html">configure</a></code> マニュアルページ + をご覧ください。あるいは <code>--help</code> オプションつきで + <code class="program"><a href="./programs/configure.html">configure</a></code> を呼び出してください。</p> + + <p>ちょっとどんなことができるかを見せましょう。 + ここで典型的な例として、<code>/sw/pkg/apache</code> + というインストールツリーでコンパイラとフラグを指定して、 + さらに二つの追加モジュール <code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code> と + <code class="module"><a href="./mod/mod_speling.html">mod_speling</a></code> を後で DSO + メカニズムでロードするようにコンパイルしてみます:</p> + +<div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-rewrite=shared \<br /> + --enable-speling=shared +</code></p></div> + + <p><code class="program"><a href="./programs/configure.html">configure</a></code> を実行したら、システムの機能を + テストしたり、後でサーバをコンパイルするために必要な Makefile + を生成したりするのに数分間かかるでしょう。</p> + + <p>個々の <code class="program"><a href="./programs/configure.html">configure</a></code> オプションの詳細に関しては + <code class="program"><a href="./programs/configure.html">configure</a></code> マニュアルページ + をご覧ください。</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile">ビルド</a></h2> + + <p>これで Apache の様々なパーツをビルドすることができます。 + 次のコマンドを単純に実行するだけです:</p> + +<div class="example"><p><code>$ make</code></p></div> + + <p>基本的な設定をするのに数分かかりますが、 + あらかじめご了承ください。 + また、時間はハードウェアや有効にしたモジュールの数に + 大きく依存するでしょう。</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">インストール</a></h2> + + <p>さて、設定したインストール <em>PREFIX</em> + (前述の <code>--prefix</code> オプションを参照) + 以下にパッケージをインストールする段階になりました。 + 次のコマンドを実行してください:</p> + +<div class="example"><p><code>$ make install</code></p></div> + + <p>通常 <em>PREFIX</em> は書き込みパーミッションが制限されている + ディレクトリになっているので、このステップは通常は + ルート権限が必要です。</p> + + <p>アップグレードする場合は、インストールでは設定ファイルや + ドキュメントファイルの上書きは行いません。</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize">カスタマイズ</a></h2> + + <p>次に <code><em>PREFIX</em>/conf/</code> 以下にある <a href="configuring.html">設定ファイル</a>を編集して、 + Apache HTTP サーバをカスタマイズします。</p> + +<div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div> + + <p><code><em>PREFIX</em>/docs/manual/</code> や + <a href="./">docs/manual/</a> にある Apache マニュアルをざっと見てください。 + または、<a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a> + にあるマニュアル最新版、<a href="mod/directives.html">設定ディレクティブ</a>に当たってみてください。</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">テスト</a></h2> + + <p>次のコマンドを実行して Apache HTTP サーバを<a href="invoking.html">開始</a>できます:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k start</code></p></div> + + <p>URL <code>http://localhost/</code> を通して最初のドキュメントに対する + リクエストを発行する事ができるはずです。これで見える + ウェブページは <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> + 以下に置かれたもので、通常は + <code><em>PREFIX</em>/htdocs/</code> でしょう。 + サーバを再び<a href="stopping.html">停止</a>するには、 + 次のコマンドを実行します:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl -k stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">アップグレード</a></h2> + + <p>アップグレードでまず行なうべきことは、リリースアナウンスと + ソースディストリビューションに入っている <code>CHANGES</code> を読んで、 + 自身のサイトに対して影響を及ぼす変更点を探すことです。 + メジャーリリース間の変更をする場合 (例えば 1.3 から 2.0 へ、2.0 から 2.2 へ) + は、コンパイル時や実行時の設定に大きな差異があるでしょうから、 + 手動の調整が必要になるでしょう。モジュールも全て、API + の変更に合わせるためにアップグレードが必要になるでしょう。</p> + + <p>マイナーバージョンから次のバージョンにアップグレードする場合 + (例えば 2.2.55 から 2.2.57 へ) は、もっと簡単です。 + <code>make install</code> を実行しても今あるドキュメント、 + ログファイル、設定ファイルは上書きされません。 + さらに、マイナーバージョン間では <code class="program"><a href="./programs/configure.html">configure</a></code> オプション、 + 実行時の設定、モジュール API に不整合が起こらないように、 + 開発者は最大限の努力をしています。 + 大抵の場合、同一の <code class="program"><a href="./programs/configure.html">configure</a></code> コマンドライン、 + 同一の設定ファイル、モジュール全てが正常に動作するはずです。</p> + + <p>マイナーバージョンでアップグレードする場合は、 + 既にインストールされているサーバの <code>build</code> ディレクトリ内か、 + 以前インストールに使ったソースコードツリーの最上位ディレクトリ内にある、 + <code>config.nice</code> ファイルを探してください。 + このファイルにはソースツリーを設定した時に使った + <code class="program"><a href="./programs/configure.html">configure</a></code> コマンドラインが、そのまま入っています。 + 次のバージョンにアップグレードする場合は <code>config.nice</code> + ファイルを新しいバージョンのソースツリーにコピーし、 + 必要であればそれを編集した後に、次のように実行します。</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <em>PREFIX</em>/bin/apachectl -k graceful-stop<br /> + $ <em>PREFIX</em>/bin/apachectl -k start<br /> + </code></p></div> + + <div class="warning">新しいバージョンを使用する場合は、 + 実際に運用を始める前に、必ず自分用の環境でテストすべきです。 + 最終的にアップグレードする前に、非互換性がないかをテストするために、 + 例えば、異なる <code>--prefix</code> と異なるポート (<code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> ディレクティブで設定します) + を使用することで、古いバージョンに影響を与えずに新しいバージョンを + インストールし、実行できます。</div> + + <p>もとの <code class="program"><a href="./programs/configure.html">configure</a></code> に追加する形で、 + 追加の引数を <code>config.nice</code> に渡すこともできます:</p> + + <div class="example"><p><code> + $ ./config.nice --prefix=/home/test/apache --with-port=90 + </code></p></div> +</div></div> +<div class="bottomlang"> +<p><span>翻訳済み言語: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/install.html" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">コメント</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />この文書は <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> のライセンスで提供されています。.</p> +<p class="menu"><a href="./mod/">モジュール</a> | <a href="./mod/directives.html">ディレクティブ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html">用語</a> | <a href="./sitemap.html">サイトマップ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/install.html.ko.euc-kr b/docs/manual/install.html.ko.euc-kr new file mode 100644 index 0000000..f0140b0 --- /dev/null +++ b/docs/manual/install.html.ko.euc-kr @@ -0,0 +1,388 @@ +<?xml version="1.0" encoding="EUC-KR"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head> +<meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>ϰ ġ - Apache HTTP Server Version 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/"></a> | <a href="./mod/directives.html">þ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html"></a> | <a href="./sitemap.html">Ʈ</a></p> +<p class="apache">Apache HTTP Server Version 2.4</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.4</a></div><div id="page-content"><div id="preamble"><h1>ϰ ġ</h1> +<div class="toplang"> +<p><span> : </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> +<div class="outofdate"> ֽ ƴմϴ. + ֱٿ ϼ.</div> + + + <p> н н ýۿ ġ ϰ + ġϴ ٷ. ϰ ġϴ + <a href="platform/windows.html">ũμƮ + ġ </a> ϶. ٸ ÷ ؼ <a href="platform/">÷</a> ϶.</p> + + <p>ġ 2.0 ġ ȯ 1.3 ſ ٸ. + ġ 1.3 ġ ü ũƮ ߴ. + ġ 2.0 ٸ ¼ҽ Ʈ ȯ + <code>libtool</code> <code>autoconf</code> + Ѵ.</p> + + <p> Ѵܰ ̵Ѵٸ ( , + 2.0.50 2.0.51), <a href="#upgrading">̵</a> + ٷ ٶ.</p> + +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview"> </a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">䱸</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">ٿε</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract"> Ǯ</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">ҽ Ʈ ϱ</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile"></a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">ġ</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize"></a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">˻</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">̵</a></li> +</ul><h3></h3><ul class="seealso"><li><a href="programs/configure.html">ҽ Ʈ </a></li><li><a href="invoking.html">ġ </a></li><li><a href="stopping.html">ġ ߴܰ </a></li><li><a href="#comments_section">Comments</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview"> </a></h2> + + <table> + + <tr> + <td><a href="#download">ٿε</a></td> + + <td><code>$ lynx http://httpd.apache.org/download.cgi</code> + </td> + </tr> + + <tr> + <td><a href="#extract"> Ǯ</a></td> + + <td><code>$ gzip -d httpd-2_1_<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-2_1_<em>NN</em>.tar</code> </td> + </tr> + + <tr> + <td><a href="#configure"></a></td> + + <td><code>$ ./configure --prefix=<em>PREFIX</em></code> + </td> + </tr> + + <tr> + <td><a href="#compile"></a></td> + + <td><code>$ make</code> </td> + </tr> + + <tr> + <td><a href="#install">ġ</a></td> + + <td><code>$ make install</code> </td> + </tr> + + <tr> + <td><a href="#customize"></a></td> + + <td><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code> </td> + </tr> + + <tr> + <td><a href="#test">˻</a></td> + + <td><code>$ <em>PREFIX</em>/bin/apachectl start</code> + </td> + </tr> + </table> + + <p><em>NN</em> ڷ, <em>PREFIX</em> + ġ Ͻý η üؾ Ѵ. <em>PREFIX</em> + ⺻ <code>/usr/local/apache2</code> + Ѵ.</p> + + <p>Ʒ ġ ϰ ġϱ 䱸 + ϰ ġ ڼ Ѵ.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">䱸</a></h2> + + <p>ġ ϱ ͵ ʿϴ:</p> + + <dl> + <dt>ũ </dt> + <dd>ũ ּ 50 MB ̻ Ȯ϶. + ġ ġ 10 MB ũ Ѵ. + ʿ ũ ɼǰ ߰ + ̰ .</dd> + + <dt>ANSI-C Ϸ ý</dt> + <dd>ANSI-C Ϸ ġִ Ȯ϶. <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a> + <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C + compiler (GCC)</a> õѴ. ( 2.7.2 ȴ.) GCC + ٸ ּ ϴ Ϸ ANSI ȣȯ Ȯ϶. + ߰ <code>PATH</code> ȯ溯 <code>make</code> + ⺻ ؾ Ѵ.</dd> + + <dt>Ȯ ð</dt> + <dd>HTTP ݿ Ϸ ð ǥϴ κ ִ. + ý ð ȭ 캼 ð̴. + ̸ Network Time Protocol (NTP) + <code>ntpdate</code> <code>xntpd</code> Ѵ. + NTP Ʈ ð + <a href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a> + <a href="http://www.ntp.org">NTP Ȩ</a> + ϶.</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a> + [û]</dt> + <dd>(Perl ) <a href="programs/apxs.html">apxs</a> + <a href="programs/dbmmanage.html">dbmmanage</a> + ũƮ Perl 5 Ͱ ʿϴ. ( + 5.003 ̸̻ ȴ.) `<code>configure</code>' ũƮ + ã ص ġ 2.0 + ϰ ġ ִ. ٸ ũƮ + ̴. Perl Ͱ ġִٸ (Ƹ + 춧 Ե Perl 4 Perl 5) + <code>./configure</code> ùٸ ã + <code>--with-perl</code> ɼ (Ʒ ) ϱ ٶ.</dd> + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">ٿε</a></h2> + + <p>ġ ̷ ִ <a href="http://httpd.apache.org/download.cgi">ġ + ٿε Ʈ</a> ٿε ִ. н ý + Ѵٸ ҽڵ带 ٿƼ ϴ . + (Ʒ ) ְ, ڽ 뵵 ˸° + ִ. , ֽ ̳ʸ 쵵 + . ̳ʸ ٿ´ٸ ִ + <code>INSTALL.bindist</code> ø .</p> + + <p>ٿε ٿ ϰ + ġ Ȯϴ ߿ϴ. + PGP ٿε Ÿ(tarball) ˻Ͽ ȮѴ. + ڼ <a href="http://httpd.apache.org/download.cgi#verify">ٿε + </a> ְ, <a href="http://httpd.apache.org/dev/verification.html">PGP + </a> ϴ ִ.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract"> Ǯ</a></h2> + + <p>ġ Ÿ ҽ Ǫ ۾ ܼ + tar Ǫ ̴:</p> + +<div class="example"><p><code> +$ gzip -d httpd-2_1_<em>NN</em>.tar.gz<br /> +$ tar xvf httpd-2_1_<em>NN</em>.tar +</code></p></div> + + <p> 丮 Ʒ ҽڵ带 + ο 丮 . ϱ + 丮 <code>cd</code>ؾ Ѵ.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">ҽ Ʈ ϱ</a></h2> + + <p> Ư ÷ ʿ信 ġ + ҽ Ʈ ϴ ̴. ̸ ֻ 丮 + ִ <code><a href="programs/configure.html">configure</a></code> + ũƮ Ѵ. (ġ + ҽ Ʈ CVS ٿε ڴ ̹ + <code>autoconf</code> <code>libtool</code> ġְ, + Ѿ <code>buildconf</code> ؾ + Ѵ. ̴ ʿ.)</p> + + <p> ⺻ ɼ Ͽ ҽ Ʈ Ϸ + <code>./configure</code> Էϸȴ. ⺻ ɼ Ϸ + <code>./configure</code> ɼ Ѵ.</p> + + <p> ߿ ɼ ġ ۵ϱ ġ + ϰ ġ <code>--prefix</code>. ٸ <a href="programs/configure.html#installationdirectories">configure + ɼǵ</a> Ͽ ġ ڼ + ִ.</p> + + <p><a href="mod/"></a> ϰų ġ + <a href="programs/configure.html#optionalfeatures"></a> + Ѵ. <a href="mod/module-dict.html#Status">Base</a> + ⺻ ġ Եȴ. ٸ + <code>--enable-<var>module</var></code> ɼ Ͽ + Ѵ. ⼭ <em>module</em> ̸ + <code>mod_</code> ȣ . + <code>--enable-<var>module</var>=shared</code> ɼ ϸ + ߿ ϰų ִ <a href="dso.html">ü(shared object, DSO)</a> Ѵ. + , <code>--disable-<var>module</var></code> ɼ Ͽ + Base ִ. + <code>configure</code> ʰ ׳ ϱ + ̸ Ȯ Է϶.</p> + + <p> <code>configure</code> ũƮ Ϸ, + ̺귯, ġ ˷ 찡 ִ. + ȯ溯 <code>configure</code> ɼ + Ͽ Ѵ. ڼ <a href="programs/configure.html">configure manpage</a> + ϶.</p> + + <p> ִ ɼ ֱ + Ư Ϸ ÷ ϰ ߿ DSO о + <code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code> + <code class="module"><a href="./mod/mod_speling.html">mod_speling</a></code> ߰Ͽ + <code>/sw/pkg/apache</code> ġ ġ ϴ + ̴:</p> + +<div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-rewrite=shared \<br /> + --enable-speling=shared +</code></p></div> + + <p><code>configure</code> ϸ а ý + ˻Ͽ ߿ Ҷ Makefile + .</p> + + <p><code>configure</code> ɼǵ鿡 ڼ <a href="programs/configure.html">configure manpage</a> ִ.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile"></a></h2> + + <p> ɾ ϳ ġ κ + ִ:</p> + +<div class="example"><p><code>$ make</code></p></div> + + <p>⼭ ٷ. Ƽ III/ 2.2 ýۿ + ⺻ ϴµ 3 ɸ. ð + ϵ ũ Ѵ.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">ġ</a></h2> + + <p> ɾ Ű ( <code>--prefix</code> + ɼ ) ġ ġ <em>PREFIX</em> ġѴ:</p> + +<div class="example"><p><code>$ make install</code></p></div> + + <p>̵Ѵٸ ġ ̳ + ʴ´.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize"></a></h2> + + <p> <code><em>PREFIX</em>/conf/</code> ִ + <a href="configuring.html"></a> Ͽ ġ + Ѵ.</p> + +<div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div> + + <p>밡 <a href="mod/directives.html"> þ</a> + ֱ <a href="./">docs/manual/</a>̳ <a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a> ִ ġ + ϶.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">˻</a></h2> + + <p> ġ <a href="invoking.html"></a> ִ:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl start</code></p></div> + + <p> URL <code>http://localhost/</code> ù + ûѴ. Ե Ƹ + <code><em>PREFIX</em>/htdocs/</code> <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> Ʒ ִ. + ɾ ٽ <a href="stopping.html">ߴ</a>Ѵ:</p> + +<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">̵</a></h2> + + <p>̵Ѵٸ Ʈ ִ ȭ + ִ ˾ƺ ǥ ҽ <code>CHANGES</code> + д´. ( , 1.3 2.0̳ 2.0 2.2 + ) ū ɼǰ ؾ + ū ȭ ̴. API ȭ + ˸° ̵ؾ Ѵ.</p> + + <p> Ѵܰ ̵ϴ ( , + 2.0.55 2.0.57) . <code>make install</code> ۾ + , α, ʴ´. , + ڴ <code>configure</code> ɼ, , + API ȣȯ ȭ ִ ´. κ + <code>configure</code> , + ְ, 鵵 ̴. ( + 2.0.41 شѴ. 鿡 ȣȯ + ȭ ִ.)</p> + + <p> ġߴ ҽ ִٸ, ̵尡 + . ҽ ֻ ִ <code>config.nice</code> + Ͽ ҽ ߴ <code>configure</code> + ɼ ״ ִ. ̵Ѵٸ + ο ҽ <code>config.nice</code> ϰ, + Ѵٸ , Ѵ:</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <em>PREFIX</em>/bin/apachectl stop<br /> + $ <em>PREFIX</em>/bin/apachectl start<br /> + </code></p></div> + + <div class="warning">ο ϱ ˻غ + Ѵ. , ̵带 ġ ȣȯ + ִ ˾ƺ ٸ <code>--prefix</code> (<code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> þ) ٸ Ʈ + Ͽ ο ġ غ + ִ.</div> +</div></div> +<div class="bottomlang"> +<p><span> : </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" title="Korean"> ko </a> | +<a href="./tr/install.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="./mod/"></a> | <a href="./mod/directives.html">þ</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="./glossary.html"></a> | <a href="./sitemap.html">Ʈ</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file diff --git a/docs/manual/install.html.tr.utf8 b/docs/manual/install.html.tr.utf8 new file mode 100644 index 0000000..94559db --- /dev/null +++ b/docs/manual/install.html.tr.utf8 @@ -0,0 +1,497 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="tr" xml:lang="tr"><head> +<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> +<!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>Derleme ve Kurulum - Apache HTTP Sunucusu Sürüm 2.4</title> +<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="./style/css/prettify.css" /> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> +</script> + +<link href="./images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page"><div id="page-header"> +<p class="menu"><a href="./mod/">Modüller</a> | <a href="./mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="./glossary.html">Terimler</a> | <a href="./sitemap.html">Site Haritası</a></p> +<p class="apache">Apache HTTP Sunucusu Sürüm 2.4</p> +<img alt="" src="./images/feather.png" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Sunucusu</a> > <a href="http://httpd.apache.org/docs/">Belgeleme</a> > <a href="./">Sürüm 2.4</a></div><div id="page-content"><div id="preamble"><h1>Derleme ve Kurulum</h1> +<div class="toplang"> +<p><span>Mevcut Diller: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" title="Türkçe"> tr </a></p> +</div> + + + <p>Bu belge Apache HTTP Sunucusunun sadece Unix ve Unix benzeri + sistemlerde derlenmesini ve kurulmasını kapsar. Windows üzerinde + derleme ve kurulum için <a href="platform/windows.html">Apache HTTP + Sunucusunun Microsoft Windows ile kullanımı</a> ve <a href="platform/win_compiling.html">Apache HTTP + Sunucusunun Microsoft Windows için Derlenmesi</a> bölümüne bakınız. + Diğer platformlar için ise <a href="platform/">platform</a> + belgelerine bakınız.</p> + + <p>Apache HTTP Sunucusunun, derleme ortamını oluşturmak için çoğu Açık + Kaynak Kodlu projenin yaptığı gibi <code>libtool</code> ve + <code>autoconf</code> kullanır.</p> + + <p>Eğer sadece sürüm yükseltiyorsanız (2.4.9’dan 2.4.10’a yükseltmek + gibi) lütfen doğrudan <a href="#upgrading">Yükseltme</a> bölümüne + atlayınız.</p> + +</div> +<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Tez canlılar için genel bir bakış</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#requirements">Gereksinimler</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#download">İndirme</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#extract">Paketi açma</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#configure">Kaynak ağacının yapılandırılması</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#compile">Derleme</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#install">Kurulum</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#customize">Kişiselleştirme</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#test">Deneme</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#upgrading">Yükseltme</a></li> +<li><img alt="" src="./images/down.gif" /> <a href="#thirdp">Üçüncü parti paketler</a></li> +</ul><h3>Ayrıca bakınız:</h3><ul class="seealso"><li><a href="programs/configure.html">Kaynak ağacının yapılandırılması</a></li><li><a href="invoking.html">Apache httpd’nin başlatılması</a></li><li><a href="stopping.html">Durdurma ve yeniden başlatma</a></li><li><a href="#comments_section">Yorum</a></li></ul></div> +<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="overview" id="overview">Tez canlılar için genel bir bakış</a></h2> + <dl> + <dt>Fedora/CentOS/Red Hat Enterprise Linux üzerinde kurulum</dt> + <dd> + <pre class="prettyprint lang-">sudo yum install httpd +sudo systemctl enable httpd +sudo systemctl start httpd</pre> + + + <div class="warning">Bu dağıtımların yeni sürümlerinde <code>yum</code> + yerine <code>dnf</code> kullanılmaktadır.<code>yum</code>. Daha ayrıntılı + bilgi için <a href="https://fedoraproject.org/wiki/Apache_HTTP_Server">Fedora projesinin + belgelerine</a> bakınız.</div> + </dd> + + <dt>Ubuntu/Debian üzerinde kurulum</dt> + <dd> +<pre class="prettyprint lang-">sudo apt install apache2 +sudo service apache2 start</pre> + + + <div class="warning">Daha ayrıntılı bilgi için <a href="https://help.ubuntu.com/lts/serverguide/httpd.html">Ubuntu + belgelerine</a> bakınız.</div> + + </dd> + + <dt>Kaynak koddan kurulum</dt> + <dd> + <table> + + <tr> + <td><a href="#download">İndirme</a></td> + + <td><a href="http://httpd.apache.org/download.cgi#apache24">http://httpd.apache.org/download.cgi</a> adresinden en son + dağıtımı indirin. + + </td> + </tr> + + <tr> + <td><a href="#extract">Paketi açma</a></td> + + <td><code>$ gzip -d httpd-<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-<em>NN</em>.tar<br /> + $ cd httpd-<em>NN</em></code></td> + </tr> + + <tr> + <td><a href="#configure">Yapılandırma</a></td> + + <td><code>$ ./configure --prefix=<em>ÖNEK</em></code> + </td> + </tr> + + <tr> + <td><a href="#compile">Derleme</a></td> + + <td><code>$ make</code> </td> + </tr> + + <tr> + <td><a href="#install">Kurulum</a></td> + + <td><code>$ make install</code> </td> + </tr> + + <tr> + <td><a href="#customize">Kişiselleştirme</a></td> + + <td><code>$ vi <em>ÖNEK</em>/conf/httpd.conf</code> </td> + </tr> + + <tr> + <td><a href="#test">Deneme</a></td> + + <td><code>$ <em>ÖNEK</em>/bin/apachectl -k start</code> + </td> + </tr> + </table> + + <p><em>NN</em> yerine kuracağınız sürümü, <code><em>ÖNEK</em></code> + yerine de dosya sisteminde sunucunun altına kurulacağı dizin yolunu + yazınız. <code><em>ÖNEK</em></code> belirtilmezse + <code>/usr/local/apache2</code> öntanımlıdır.</p> + + <p>Derleme ve kurulum işleminin her aşaması, Apache HTTPd Sunucusunun + derlenmesi ve kurulması için gerekenler başta olmak üzere aşağıda + ayrıntılı olarak açıklanmıştır.</p> + </dd> + </dl> + + <div class="warning">Kullandığınız platformu burada göremiyor musunuz? + <a href="http://httpd.apache.org/docs-project/">Bu belgeleri geliştirmek + için gelin bize yardımcı olun.</a></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="requirements" id="requirements">Gereksinimler</a></h2> + + <p>Apache httpd’yi derleyebilmek için şunlar mevcut olmalıdır:</p> + + <dl> + <dt>APR ve APR-Util</dt> + <dd>APR ve APR-Util'in sisteminizde kurulu olduğundan emin olun. Kurulu + değilse veya sisteminizce sağlanmış sürümlerini kullanmak + istemiyorsanız APR ve APR-Util'in ikisini birden <a href="http://apr.apache.org/">Apache APR</a>'den indirin ve onları + Apache httpd dağıtımını açtığınız dizinin altında + <code>/httpd_kaynakkod_kök_dizini/srclib/apr</code> ve + <code>/httpd_kaynakkod_kök_dizini/srclib/apr-util</code> dizinlerine + açın (Dizin isimlerinin sürüm numarası içermemesine dikkat edin, + örneğin, APR dağıtımı + <code>/httpd_kaynakkod_kök_dizini/srclib/apr/</code> altında olsun.) + ve <code>./configure</code> betiğinin <code>--with-included-apr</code> + seçeneğini kullanın. Bazı platformlarda, httpd'nin, kurulu APR ve + APR-Util kopyanıza karşın derlenmesini sağlamak için ilgili + <code>-dev</code> paketlerini kurmanız gerekebilir.</dd> + + <dt>Perl-Uyumlu Düzenli İfade Kütüphanesi (PCRE)</dt> + <dd>Bu kütüphane gereklidir, ancak artık httpd ile birlikte + dağıtılmamaktadır. Kaynak kodunu <a href="http://www.pcre.org/">http://www.pcre.org</a> sitesinden indirin ve bir port veya paket + olarak kurun. Eğer derleme sisteminiz PCRE kurulumunuz tarafından + kurulan <code>pcre-config</code> betiğini bulamazsa + <code>--with-pcre</code> seçeneğini kullanarak yerini belirtin. Bazı + platformlarda, httpd'nin, kurulu PCRE kopyanıza karşın derlenmesini + sağlamak için ilgili <code>-dev</code> paketlerini kurmanız + gerekebilir.</dd> + + <dt>Disk Alanı</dt> + <dd>Geçici olarak en azından 50 MB boş disk alanınız olduğundan emin + olunuz. Kurulumdan sonra sunucu yaklaşık 10 MB disk alanı kaplıyor + olacaktır. Asıl disk alanı gereksinimi seçtiğiniz yapılandırma + seçeneklerine, üçüncü parti modüllere ve şüphesiz sitenizin veya sunucu + üzerindeki sitelerin boyutlarına göre değişiklik + gösterecektir.</dd> + + <dt>ANSI-C Derleyici ve Derleme Sistemi</dt> + <dd>Bir ANSI-C derleyicinin kurulu olduğundan emin olunuz. <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a> + tarafından dağıtılan <a href="http://gcc.gnu.org/">GNU C derleyicisini + (GCC)</a> kullanmanız önerilir. GCC yoksa en azından satıcınızın + derleyicisinin ANSI uyumlu olduğundan emin olunuz. Ayrıca, + <code>PATH</code> ortam değişkeninizin içerdiği yollarda + <code>make</code> gibi temel derleme araçları da bulunmalıdır.</dd> + + <dt>Zamanın doğru belirlenmesi</dt> + <dd>HTTP protokolünün elemanları sunuldukları tarih ve saate göre ifade + edilirler. Bu bakımdan sisteminizdeki zaman ayarlama oluşumunun + ayarlarını gözden geçirmenizin tam sırasıdır. Bu amaçla, Ağ Zaman + Protokolüne (NTP) göre çalışan <code>ntpdate</code> veya + <code>xntpd</code> programları kullanılır. NTP yazılımları ve halka + açık zaman sunucuları hakkında daha ayrıntılı bilgi için <a href="http://www.ntp.org">NTP sitesine bakınız</a>.</dd> + + <dt><a href="http://www.perl.org/">Perl 5</a> [SEÇİMLİK]</dt> + <dd>Perl ile yazılmış <code class="program"><a href="./programs/apxs.html">apxs</a></code> veya + <code class="program"><a href="./programs/dbmmanage.html">dbmmanage</a></code> gibi bazı betikleri desteklemek için + Perl 5 yorumlayıcısı gerekir (5.003 veya daha yeni sürümleri + yeterlidir). Eğer <code class="program"><a href="./programs/configure.html">configure</a></code> betiği sisteminizde + Perl 5 yorumlayıcısı + bulamazsa bu betikleri kullanamazsınız. Ancak, bu durum Apache + HTTPd’nin derlenip kurulmasına engel değildir.</dd> + </dl> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="download" id="download">İndirme</a></h2> + + <p>Apache HTTP Sunucusunu, çeşitli yansıların da listelendiği <a href="http://httpd.apache.org/download.cgi">Apache HTTP Sunucusu + indirme sayfasından</a> indirebilirsiniz. Unix benzeri sistemler + kullanan Apache HTTPd kullanıcılarının kaynak paketlerinden birini + indirip derlemeleri daha iyi olacaktır. Derleme işlemi (aşağıda + açıklanmıştır) kolaydır ve sunucunuzu ihtiyaçlarınıza uygun olarak + kişiselleştirmenize imkan tanır. Ayrıca, hazır derlenmiş paketler + çoğunlukla en son kaynak sürüm kadar güncel değildirler. Eğer böyle bir + paket indirmişseniz, kurarken paketin içinde bulunan + <code>INSTALL.bindist</code> dosyasındaki talimatlara uyunuz.</p> + + <p>İndirme işleminin ardından Apache HTTP Sunucusunun eksiksiz ve + değişikliğe uğramamış olduğunun doğrulanması önemlidir. Bu indirilen + tar paketinin PGP imzasına göre sınanması ile sağlanabilir. Bunun nasıl + yapılacağı <a href="http://httpd.apache.org/download.cgi#verify">indirme + sayfasında</a> anlatıldığı gibi <a href="http://httpd.apache.org/dev/verification.html">PGP + kullanımının</a> anlatıldığı daha geniş bir örnek de vardır.</p> + +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="extract" id="extract">Paketi açma</a></h2> + + <p>Apache HTTP Sunucusu tar paketinden sıkıştırmayı kaldırdıktan sonra tar + arşivinden dosyaları çıkarmak basit bir işlemdir:</p> + + <div class="example"><p><code> + $ gzip -d httpd-<em>NN</em>.tar.gz<br /> + $ tar xvf httpd-<em>NN</em>.tar + </code></p></div> + + <p>Bu işlem bulunduğunuz dizinin içinde dağıtımın kaynak dosyalarını + içeren yeni bir dizin oluşturacaktır. Sunucuyu derleme işlmine + başlayabilmek için önce <code>cd</code> ile bu dizine geçmelisiniz.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">Kaynak ağacının yapılandırılması</a></h2> + + <p>Sonraki adım, Apache HTTPd kaynak ağacının platformunuza ve kişisel + gereksinimlerinize uygun olarak yapılandırılmasıdır. Bu işlem dağıtımın + kök dizininde bulunan <code class="program"><a href="./programs/configure.html">configure</a></code> betiği kullanılarak + yapılır. (Apache HTTPd kaynak ağacının resmen dağıtıma girmemiş bir + sürümünü indiren geliştiricilerin sistemlerinde <code>autoconf</code> ve + <code>libtool</code> kurulu olması ve sonraki adıma geçmek için + <code>buildconf</code> çalıştırmaları gerekir. Bu işlem resmi + dağıtımlar için gerekli değildir.)</p> + + <p>Kaynak ağacını tamamen öntanımlı seçenekler kullanılarak derlemek için + <code>./configure</code> komutunu vermek yeterlidir. Öntanımlı + seçenekleri değiştirmek için <code class="program"><a href="./programs/configure.html">configure</a></code> betiği + çeşitli değişkenler ve komut satırı seçenekleri kabul eder.</p> + + <p>En önemli seçenek, Apache HTTP Sunucusunun kurulacağı yerin + belirlenmesini, dolayısıyla Apache’nin bu konumda doğru olarak + çalışması için yapılandırılmasını sağlayan <code>--prefix</code>’tir. + Kurulacak dosyaların yerleri ile ilgili daha ayrıntılı denetim ek <a href="programs/configure.html#installationdirectories">yapılandırma + seçenekleri</a> ile mümkün kılınmıştır.</p> + + <p>Bu noktada ayrıca, Apache HTTPd’de hangi özelliklerin bulunmasını + istediğinizi <a href="mod/">modülleri</a> etkin kılarak veya iptal + ederek belirtebilirsiniz. Apache, öntanımlı olarak içerilmiş pek çok + modülle gelir. Bunlar çalışma anında devereye sokulup çıkarılabilen <a href="dso.html">paylaşımlaı nesneler (DSO'lar)</a> olarak derlenebilir. + Ayrıca, istediğiniz modülleri derleme sırasında + <code>--enable-<var>module</var>=static</code> seçeneğini kullanarak + durağan olarak derleyebilirsiniz. Ek modüller <code>--enable- + <var>modül</var></code> seçenekleri kullanılarak etkinleştirilir. + Buradaki <code><var>modül</var></code>, önünden <code>mod_</code> dizgesi + kaldırılmış ve içindeki altçizgi imleri tire imleri ile değiştirilmiş + modül ismidir. Temel modülleri de benzer şekilde + <code>--disable-<var>modül</var></code> seçenekleriyle iptal + edebilirsiniz. <code class="program"><a href="./programs/configure.html">configure</a></code> betiği mevcut olmayan + modüller için sizi uyarmayıp, seçeneği yok saymakla yetineceğinden, bu + seçenekleri kullanırken dikkatli olmalısınız.</p> + + <p>Ek olarak, bazen kullandığınız derleyici, kütüphaneler veya başlık + dosyalarının yerleri hakkında <code class="program"><a href="./programs/configure.html">configure</a></code> betiğine + ilave bilgiler sağlamanız gerekir. Bu işlem + <code class="program"><a href="./programs/configure.html">configure</a></code> betiğine ya ortam değişkenleriyle ya da + komut satırı seçenekleriyle bilgi aktarılarak yapılır. Daha fazla bilgi + için <code class="program"><a href="./programs/configure.html">configure</a></code> kılavuz sayfasına bakınız.</p> + + <p>Apache’yi derlerken ne gibi olasılıklara sahip olduğunuz hakkında bir + izlenim edinmeniz için aşağıda tipik bir örneğe yer verilmiştir. Bu + örnekte, Apache’nin <code>/sw/pkg/apache</code> önekiyle başlayan + dizinlere kurulması, belli bir derleyici ve derleyici seçenekleriyle + derlenmesi ve <code class="module"><a href="./mod/mod_ldap.html">mod_ldap</a></code> ve + <code class="module"><a href="./mod/mod_lua.html">mod_lua</a></code>modüllerinin de DSO mekanizması üzerinden + daha sonra yüklenmek üzere derlenmesi istenmektedir:</p> + + <div class="example"><p><code> + $ CC="pgcc" CFLAGS="-O2" \<br /> + ./configure --prefix=/sw/pkg/apache \<br /> + --enable-ldap=shared \<br /> + --enable-lua=shared + </code></p></div> + + <p><code class="program"><a href="./programs/configure.html">configure</a></code> betiği başlatıldığında sisteminizde + mevcut özelliklerin işe yararlığını sınamak ve sonradan sunucuyu + derlemek için kullanılacak Makefile dosyalarını oluşturmak için bir kaç + dakika çalışacaktır.</p> + + <p><code class="program"><a href="./programs/configure.html">configure</a></code> seçeneklerinin tamamı ayrıtılı olarak + <code class="program"><a href="./programs/configure.html">configure</a></code> kılavuz sayfasında açıklanmıştır.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="compile" id="compile">Derleme</a></h2> + + <p>Artık, Apache HTTPd paketini şekillendiren çeşitli parçaları derlemek + için basitçe aşağıdaki komutu verebilirsiniz:</p> + + <div class="example"><p><code>$ make</code></p></div> + + <p>Bu komutu verdikten sonra lütfen sabırlı olunuz. Temel yapılandırmanın + derlenmesi bir kaç dakika alsa da modüllerin derlenmesi donanımınıza ve + seçtiğiniz modüllerin sayısına bağlı olarak daha uzun süre + gerektirecektir.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="install" id="install">Kurulum</a></h2> + + <p>Şimdi sıra <code><em>ÖNEK</em></code> dizini altına kurulmak üzere + yapılandırdığınız (yukarı <code>--prefix</code> seçeneğine bakınız) + paketi kurmaya geldi. Basitçe şu komutu veriniz:</p> + +<div class="example"><p><code># make install</code></p></div> + + <p><code><em>ÖNEK</em></code> dizininde genellikle yazma izinlerinin + sınırlı oluşu nedeniyle bu adım genellikle root yetkilerini + gerektirir.</p> + + <p>Eğer sürüm yükseltiyorsanız, kurulum sırasında mevcut yapılandırma + dosyalarının ve belgelerin üzerine yazılmayacaktır.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="customize" id="customize">Kişiselleştirme</a></h2> + + <p>Bu adımda, Apache HTTP Sunucunuzu <code><em>ÖNEK</em>/conf/</code> + dizini altındaki <a href="configuring.html">yapılandırma + dosyalarını</a> düzenleyerek kişiselleştirebilirsiniz.</p> + + <div class="example"><p><code>$ vi <em>ÖNEK</em>/conf/httpd.conf</code></p></div> + + <p>Bu kılavuz ve kullanılabilecek <a href="mod/directives.html">yapılandırma yönergelerinin</a> kılavuzlarını + <code><em>ÖNEK</em>/<a href="./">docs/manual/</a></code> altında + bulabileceğiniz gibi en son sürümünü daima <a href="http://httpd.apache.org/docs/2.4/">http://httpd.apache.org/docs/2.4/</a> adresinde + bulabilirsiniz.</p> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="test" id="test">Deneme</a></h2> + + <p>Artık Apache HTTP Sunucunuzu <a href="invoking.html">başlatmaya</a> + hazırsınız. Hemen şu komutu verin:</p> + + <div class="example"><p><code>$ <em>ÖNEK</em>/bin/apachectl -k start</code></p></div> + + <p><code>http://localhost/</code> üzerinden ilk belgeniz için bir istek + yapmalısınız. Genellikle <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> olarak bilinen + <code><em>ÖNEK</em>/htdocs/</code> altındaki sayfayı görürsünüz. + Çalışmakta olan sunucuyu <a href="stopping.html">durdurmak</a> için şu + komutu verebilirsiniz:</p> + + <div class="example"><p><code>$ <em>ÖNEK</em>/bin/apachectl -k stop</code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="upgrading" id="upgrading">Yükseltme</a></h2> + + <p>Sürüm yükseltme işleminin ilk adımı, sitenizi etkileyen değişiklikleri + öğrenmek için dağıtım duyurusunu ve kaynak paketindeki + <code>CHANGES</code> dosyasını okumaktır. Ana sürümlerden yükseltme + yapıyorsanız (2.0’ten 2.2’ye veya 2.2’den 2.4’e gibi), derleme anı ve + çalışma anı yapılandırmalarındaki ana farklılıklar elle ayarlamalar + yapmanızı gerektirecektir. Ayrıca, tüm modüllerin de modül API’sindeki + değişikliklere uyum sağlaması için yükseltilmesi gerekecektir.</p> + + <p>Aynı ana sürüm içinde yükseltme yapmak (2.2.55’ten 2.2.57’ye + yükseltmek gibi) daha kolaydır. <code>make install</code> işlemi, + mevcut yapılandırma ve günlük dosyalarınızın ve belgelerin üzerine + yazmayacaktır. Ek olarak, geliştiriciler alt sürüm değişikliklerinde + <code class="program"><a href="./programs/configure.html">configure</a></code> seçenekleri, çalışma anı yapılandırması + veya modül API’sinde uyumsuz değişiklikler yapmamaya özen + göstereceklerdir. Çoğu durumda, aynı <code class="program"><a href="./programs/configure.html">configure</a></code> komut + satırını, aynı yapılandırma dosyasını kullanabileceksiniz ve tüm + modülleriniz de çalışmaya devam edebilecektir.</p> + + <p>Aynı ana sürüm içinde yükseltme işlemine, eski kaynak ağacının kök + dizininde veya kurulu sunucunuzun <code>build</code> dizininde + bulacağınız <code>config.nice</code> dosyasını yeni kaynak ağacının kök + dizinine kopyalamak suretiyle başlayabilirsiniz. Bu dosya evvelce + kaynak ağacını yapılandırmakta kullandığınız + <code class="program"><a href="./programs/configure.html">configure</a></code> komut satırını içerir. + <code>config.nice</code> dosyasında yapmak istediğiniz değişiklikler + varsa yaptıktan sonra şu komutları veriniz:</p> + + <div class="example"><p><code> + $ ./config.nice<br /> + $ make<br /> + $ make install<br /> + $ <em>ÖNEK</em>/bin/apachectl -k graceful-stop<br /> + $ <em>ÖNEK</em>/bin/apachectl -k start<br /> + </code></p></div> + + <div class="warning">Her yeni sürümü hizmete sokmadan önce daima çalışma + ortamınızda denemeniz gerekir. Örneğin, yükseltme işlemini + sonuçlandırmadan önce eski sürümün çalışmasını durdurmadan yenisini + farklı bir <code>--prefix</code> ile kurabilir ve farklı bir port ile + (<code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> yönergesini + ayarlamak suretiyle) çalıştırabilirsiniz.</div> + + <p>Özgün <code class="program"><a href="./programs/configure.html">configure</a></code> seçeneklerinizi değiştirmek veya + yeni seçenekler eklemek isterseniz bunları <code>config.nice</code> + betiğine komut satırı argümanları olarak belirtebilirsiniz:</p> + + <div class="example"><p><code> + $ ./config.nice --prefix=/home/dnm/apache --with-port=90 + </code></p></div> +</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> +<div class="section"> +<h2><a name="thirdp" id="thirdp">Üçüncü parti paketler</a></h2> + + <p>Üçüncü partilerin çoğunun, Apache HTTP Sunucusunun belli bir platforma + kurulumu için paketlenmiş kendi dağıtımları vardır. Çeşitli Linux + dağıtımları, üçüncü parti Windows paketleri, Mac OS X, Solaris ve daha + pek çokları bunlar arasında sayılabilir.r</p> + + <p>Yazılım lisansımız bu çeşit yeniden dağıtımlara izin verdiği gibi + bunları cesaretlendirir de. Ancak, sunucunun kurulum ve yapılandırmasının + belgelerimizde belittiğimizden farklı olması gibi bir durum ortaya + çıkabilir. Ne yazık ki, bu durum yakın zamanda değişecekmiş gibi + görünmüyor.</p> + + <p>Bu <a href="http://wiki.apache.org/httpd/DistrosDefaultLayout">üçüncü parti + dağıtımlarla ilgili bir açıklamaya</a> HTTP + Sunucu wikisinde yer verilmiş olup bunların şu anki durumunu + yansıtmaktadır. Ancak, yine de, dağıtımınızın belli platformlarla ilgili + paket yönetimi ve kurulum işlemleri hakkında bilgi sahibi olmanız + gerekmektir.</p> +</div></div> +<div class="bottomlang"> +<p><span>Mevcut Diller: </span><a href="./de/install.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | +<a href="./en/install.html" hreflang="en" rel="alternate" title="English"> en </a> | +<a href="./es/install.html" hreflang="es" rel="alternate" title="Español"> es </a> | +<a href="./fr/install.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | +<a href="./ja/install.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | +<a href="./ko/install.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="./tr/install.html" title="Türkçe"> tr </a></p> +</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Yorum</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> +<script type="text/javascript"><!--//--><![CDATA[//><!-- +var comments_shortname = 'httpd'; +var comments_identifier = 'http://httpd.apache.org/docs/2.4/install.html'; +(function(w, d) { + if (w.location.hostname.toLowerCase() == "httpd.apache.org") { + d.write('<div id="comments_thread"><\/div>'); + var s = d.createElement('script'); + s.type = 'text/javascript'; + s.async = true; + s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; + (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); + } + else { + d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); + } +})(window, document); +//--><!]]></script></div><div id="footer"> +<p class="apache">Copyright 2019 The Apache Software Foundation.<br /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p> +<p class="menu"><a href="./mod/">Modüller</a> | <a href="./mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="./glossary.html">Terimler</a> | <a href="./sitemap.html">Site Haritası</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- +if (typeof(prettyPrint) !== 'undefined') { + prettyPrint(); +} +//--><!]]></script> +</body></html>
\ No newline at end of file |