Apache-mods.pdf

(46 KB) Pobierz
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
Table of Contents
Ray Van Dolson, rayvd@firetail.org. ......................................................................................................1
1. Legal Stuff. ..........................................................................................................................................1
2. Introduction. .........................................................................................................................................1
3. Component Installation. .......................................................................................................................1
4. Final Words. .........................................................................................................................................1
1. Legal Stuff. ..........................................................................................................................................1
2. Introduction. .........................................................................................................................................2
2.1 Description of the Components .........................................................................................................2
2.2 History. ..............................................................................................................................................2
3. Component Installation. .......................................................................................................................3
3.1 Preparations.. ......................................................................................................................................3
3.2 mod_ssl. .............................................................................................................................................4
Installing and Compiling OpenSSL. ...........................................................................................4
Installing and Compiling RSAREF 2.0. .....................................................................................5
Installing and Compiling MM. ...................................................................................................5
Installing and Compiling mod_ssl (at last!). ...............................................................................5
3.3 Apache. ..............................................................................................................................................6
3.4 MySQL. .............................................................................................................................................7
3.5 PHP 3.0.15. ........................................................................................................................................7
GD. ..............................................................................................................................................8
IMAP. .........................................................................................................................................8
OpenLDAP. ................................................................................................................................8
Installing and Compiling PHP 3.0.15. ........................................................................................8
3.6 mod_perl. ...........................................................................................................................................9
Required Perl Modules. ..............................................................................................................9
Installing and Compiling mod_perl 1.2x. ...................................................................................9
3.7 mod_auth_mysq. .............................................................................................................................10
3.8 mod_auth_nds. .................................................................................................................................10
ncpfs. .........................................................................................................................................10
Compiling and Installing mod_auth_nds. .................................................................................10
3.9 mod_fastcg. .....................................................................................................................................11
4. Final Words. .......................................................................................................................................11
4.1 Credits. .............................................................................................................................................11
4.2 Contact Information. ........................................................................................................................11
4.3 Anything Else. .................................................................................................................................12
i
115258578.001.png
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
Ray Van Dolson, rayvd@firetail.org
v0.91, 5 April 2000
Details the installation of an Apache based webserver suite configured to handle DSO, and various useful
modules including mod_perl, mod_ssl and php.
·
·
·
Apache+mods mini−HOWTO for Linux Systems
Copyright (C)2000 Ray Van Dolson.
This document is free; you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any
later version.
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
1
115258578.002.png
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
This document is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
the GNU General Public License for more details.
You can get a copy of the GNU GPL at at http://www.gnu.org/copyleft/gpl.html .
This document outlines the process used to install Apache & modules onto the web−server at Walla Walla
College (www.wwc.edu). While it will be, for the most part, system specific−−hopefully it can serve as a
useful reference for performing other installations.
This document will attempt to outline the exact process used to install the server. Notes will be made when
things should have been gone about differently, but the original steps will be given (assuming they worked).
2.1 Description of the Components
The platform on which the web−server was set up is a Red Hat 6.1 based system. Linux kernel 2.2.14
(compiled from scratch) running on a Dual PIII 600 based system with RAID5 and lots of other goodies.
The web−server software is Apache 1.3.12. The following modules were added to the server:
· Auth−MySQL 2.20
mod_fastcgi SNAP (also mod_rewrite), for use with Zope.
· mod_ssl 2.6.2 (Open−SSL 0.9.5)
· mod_perl 1.21
· PHP 3.0.15
· mod_auth_nds 0.3a
·
2.2 History
v0.91 (April 5, 2000)
·
Updated mod_fastcgi to correct version.
v0.9 (April 4, 2000)
· Spelling/Grammar errors
Completed first draft
·
v0.1 (March 2000)
·
Initial draft
2. Introduction
2
115258578.003.png
Apache+DSO+mod_ssl+mod_perl+php+mod_auth_nds+mod_auth_mysql+mod_fastcgi
3.1 Preparations
You will need the following software:
GD 1.3 (to make use of GIF files)
·
¨
à RPM
à
¨
GD 1.8.1 (to make use of PNG files)
à RPM
à
¨
IMAP 4.5+
à RPM
à
¨
OpenLDAP 1.2.9+
à RPM
à
·
Perl5 Modules Required
¨ URI
¨ libnet
¨ libwww
¨
·
OpenSSL 0.9.5
¨
à RPM
à
¨
ncpfs 2.2.0.17 Note: the kernel must also be compiled with IPX support.
·
¨
·
This is the directory layout scheme I use and recommend:
+ /usr/src
|
+−+ apache
|
+−+ apache−1.3.12
3. Component Installation
3
115258578.004.png
Zgłoś jeśli naruszono regulamin