Apache-Compile-HOWTO.pdf
(
120 KB
)
Pobierz
Apache Compile HOWTO (Linux edition)
Apache Compile HOWTO (Linux edition)
Luc de Louw
luc at delouw.ch
Revision History
Revision 1.9.11 2002−04−07
Corrected lots of typos (non−technical), updates of software mentioned in the HOWTO
Revision 1.9.11−pre1 2002−03−15
Corrected some grammar, updates of software mentioned in the HOWTO
Revision 1.9.10 2002−03−09
Corrected some grammar, updates of software mentioned in the HOWTO
Revision 1.9.9 2002−02−11
Fixed a major bug in openssl config, restructured the document, added sources for further informations
Revision 1.9.8 2002−02−08
Updates of software mentioned in the HOWTO, and fixed some bugs
Revision 1.9.7 2001−12−26
Updates of software mentioned in the HOWTO, tested the HOWTO procedures on Linux running on IBM
S/390 (zSeries) Machines (See "platforms" for more info), Added some basic support for Tomcat (Binaries
only)
Revision 1.9.6 2001−10−27
Updates of software mentioned in the HOWTO, and fixed some bugs
Revision 1.9.5
2001−08−27
Yet another rewrite in DocBook 3.1
Revision 1.9.4 2001−08−26
Updated the Software−Versions mentioned in the document, corrected some typos
Revision 1.9.3 2001−06−23
Current Version 2.0.0−pre3 in Linux DocBook format
Revision 1.0.0 2000−08−05
First publication of the html−based document
This document describes howto compile the Apache Webserver with the most important modules like
mod_perl, mod_dav, mod_auth_ldap, mod_dynvhost, mod_roaming, mod_jserv, and mod_php
Apache Compile HOWTO (Linux edition)
Table of Contents
1. Introduction.
....................................................................................................................................................1
1.1. Contributors and Contacts.
...............................................................................................................1
1.2. Why this document was written.
.......................................................................................................1
1.3. What this document is supposed to be.
.............................................................................................1
1.4. What this document doesn't do for you.
...........................................................................................1
1.5. Platforms.
..........................................................................................................................................1
1.6. Copyright Information.
.....................................................................................................................2
1.7. Disclaimer.
........................................................................................................................................2
1.8. New Versions.
...................................................................................................................................3
1.9. Credits.
..............................................................................................................................................3
1.10. Feedback.
........................................................................................................................................3
1.11. Translations.
....................................................................................................................................3
1.12. About the author
.............................................................................................................................3
2. Prerequisites.
...................................................................................................................................................4
2.1. General.
.............................................................................................................................................4
2.2. Distribution specific.
.........................................................................................................................4
2.2.1. SuSE Linux.
......................................................................................................................4
2.3. OpenSSL.
..........................................................................................................................................4
2.3.1. What is OpenSSL.
.............................................................................................................4
2.3.2. Download the source.
.......................................................................................................5
2.3.3. Building and installing.
.....................................................................................................5
2.4. MySQL
.............................................................................................................................................5
2.4.1. What is MySQL.
...............................................................................................................5
2.4.2. Download.
.........................................................................................................................6
2.4.3. Building and installing.
.....................................................................................................6
2.5. Building mm.
....................................................................................................................................6
2.5.1. What is mm.
......................................................................................................................6
2.5.2. Download.
.........................................................................................................................7
2.5.3. Building and installing.
.....................................................................................................7
3. Getting, build and install Apache with its basic modules.
...........................................................................8
3.1. Get and untar the Apache Source..
....................................................................................................8
3.1.1. What is Apache.
................................................................................................................8
3.1.2. Download the source.
.......................................................................................................8
3.1.3. Patch for large−scale sites.
...............................................................................................8
3.2. mod_ssl.
............................................................................................................................................9
3.2.1. What is mod_ss.
...............................................................................................................9
3.2.2. Download the source.
.......................................................................................................9
3.2.3. Applying the patch to the apache source.
.........................................................................9
3.3. mod_perl.
........................................................................................................................................10
3.3.1. What is mod_per.
...........................................................................................................10
3.3.2. Download the source.
.....................................................................................................10
3.3.3. Building and installing.
...................................................................................................10
3.4. Configure and build Apache.
..........................................................................................................10
3.4.1. Building and installing.
...................................................................................................11
3.4.2. Create self−signed SSL−certificate.
...............................................................................11
3.5. mod_dav.
.........................................................................................................................................11
i
Apache Compile HOWTO (Linux edition)
Table of Contents
3.5.1. What is mod_dav.
...........................................................................................................11
3.5.2. Download the source.
.....................................................................................................12
3.5.3. Building and installing.
...................................................................................................12
3.6. auth_ldap.
........................................................................................................................................12
3.6.1. What is auth_ldap.
..........................................................................................................12
3.6.2. Download the source.
.....................................................................................................13
3.6.3. Building and installing.
...................................................................................................13
3.7. mod_auth_mysq.
............................................................................................................................13
3.7.1. What is mod_auth_mysql.
..............................................................................................13
3.7.2. Download the source.
.....................................................................................................13
3.7.3. Building and installing.
...................................................................................................13
3.7.4. Sample configuration.
.....................................................................................................14
3.8. mod_dynvhos.
................................................................................................................................14
3.8.1. What is mod_dynvhost.
..................................................................................................14
3.8.2. Download the source.
.....................................................................................................15
3.8.3. Building and installing.
...................................................................................................15
3.8.4. Sample configuration.
.....................................................................................................15
3.9. mod_roaming.
.................................................................................................................................15
3.9.1. What is mod_roaming.
....................................................................................................15
3.9.2. Download the source.
.....................................................................................................16
3.9.3. Building and installing.
...................................................................................................16
3.9.4. Sample configuration.
.....................................................................................................16
4. mod_php and its prerequisites.
....................................................................................................................17
4.1. What is mod_php.
...........................................................................................................................17
4.2. Prerequisites.
...................................................................................................................................17
4.2.1. IMAP clien.
....................................................................................................................17
4.2.2. Download the source.
.....................................................................................................17
4.2.3. Building and installing.
...................................................................................................17
4.2.4. Postgres.
..........................................................................................................................18
4.2.5. pdflib.
..............................................................................................................................19
4.2.6. gettex.
.............................................................................................................................19
4.2.7. zlib.
.................................................................................................................................20
4.3. php>.
...............................................................................................................................................20
5. PHP extensions.
.............................................................................................................................................22
5.1. APC (Alternative PHP−cache)
.......................................................................................................22
5.1.1. What is APC.
..................................................................................................................22
5.1.2. Download the source.
.....................................................................................................22
5.1.3. Building and installing.
...................................................................................................22
5.2. Zend−Optimizer (Do _NOT_ combine with APC−Cache!).
..........................................................23
5.2.1. What is Zend−optimizer.
................................................................................................23
5.2.2. Download the binary.
......................................................................................................23
5.2.3. Installing.
........................................................................................................................23
6. Server Side Java.
...........................................................................................................................................25
6.1. mod_jserv..
......................................................................................................................................25
6.1.1. What is mod_jserv.
.........................................................................................................25
ii
Apache Compile HOWTO (Linux edition)
Table of Contents
6.1.2. Prerequisites.
...................................................................................................................25
6.1.3. Download the source.
.....................................................................................................26
6.1.4. Building and installing.
...................................................................................................26
6.2. jakarta−tomcat
................................................................................................................................26
6.2.1. What is Tomcat.
..............................................................................................................26
6.2.2. Prerequisites.
...................................................................................................................27
6.2.3. Download the binaries.
...................................................................................................27
6.2.4. Installing the binaries.
.....................................................................................................27
7. Further Information.
....................................................................................................................................29
7.1. News groups..
..................................................................................................................................29
7.2. Mailing Lists.
..................................................................................................................................29
7.2.1. <users@httpd.apache.org>.
............................................................................................29
7.2.2. <modperl@apache.org>.
................................................................................................29
7.2.3. <openssl−users@openssl.org>
.......................................................................................29
7.2.4. <modssl−users@modssl.org>.
........................................................................................30
7.2.5. <mysql@lists.mysql.com>.
............................................................................................30
7.2.6. <pgsql−general@postgres.org>.
.....................................................................................30
7.2.7. <pgsql−general@postgres.org>.
.....................................................................................30
7.2.8. <apc−cache@lists.communityconnect.com>.
................................................................30
7.3. HOWTO.
.........................................................................................................................................30
7.4. Local Resources.
.............................................................................................................................31
7.5. Web Sites.
.......................................................................................................................................31
8. Questions and Answers.
................................................................................................................................32
iii
1. Introduction
1.1. Contributors and Contacts
First I would thank all those people who send questions and suggestions that made a further development of
this document possible. It shows me, sharing knowledge is the right way. I would encourage you to send me
more suggestion, just write me an email
<
luc at delouw.ch
>
1.2. Why this document was written
All Linux−distributions I tested had a non−optimal default setup of Apache. Additionally all major
distributions don't have current versions of Apache.
Finally no commercial Unix are delivered with pre−installed Apache
Since I am installing a lot of customized webservers on different Un*xes therefor I wrote a plaintext
document and placed it on my website so I can access it at work. Later a friend posted the URL to a
mailinglist, and the first questions arrived. So I decided to put more information on the page.
After a lot of people requested the document as an "official" HOWTO, I decided to prepare it to be one
1.3. What this document is supposed to be
Compiling all the items described below needs a lot of configure−options that nobody can memorize. This is
supposed to be a "copy−paste−ready" text to compile apache and friends
Also, people should learn how to build a full−featured Apache−webserver by themself to be independent
from any Linux distributors.
1.4. What this document doesn't do for you
It is just a Document, not a script that makes the work for you. You have to do all the steps by yourself.
1.5. Platforms
The original document was for all major Un*x platforms. Now the HOWTOs are separated for each platform.
You will find the same document adapted for:
·
IBM AIX 4.3 and 5.1L
Linux (This Document)
·
Sun Solaris 6/7/8
·
Hewlett−Packard HP−UX 11
·
{Free|Net|Open}−BSD
·
1. Introduction
1
Plik z chomika:
thejalo50
Inne pliki z tego folderu:
==eKURSY==.rar
(1919 KB)
webreporter.rar
(18647 KB)
Warsztat_logowanie.rar
(315 KB)
redhat.rar
(5539 KB)
inject_pl.pdf
(989 KB)
Inne foldery tego chomika:
Aktualizacja mapy Peugeot RT6 2022-2023
Co zrobić aby twój chomiku był często odwiedzany. Poradniki [polecam]
Czcionki Fonts
Encyklopedie Multimedialne
ikony
Zgłoś jeśli
naruszono regulamin