Document directory
- A. Software Platform
- B. configuration steps
- Installation is complete. Good luck !!
- I hope this document will help the same author as me.
A. Software Platform
Mandrake8.2
Apache 1.3.27
Openssl 0.9.7
Mod_SSL 2.8.12
Mod_perl 1.27
FrontPage extension 5.0
Patch-fp-apache 1.3.22
Mm 1.2.1
J2sdk 1.4.1
Tomcat 4.0.1
Webapp 1.0.1
Apache::ASP 2.50
PHP 4.3.1
B. configuration steps
1. Copy all the software packages to the/usr/src/soft/directory and unpack the packages.
2. Install OpenSSL
CD/usr/src/soft/openssl0.9.7
./Config-FPIC
No-threads
Make
Make Test
Make install
3. Install mm
CD/usr/src/soft/mm-1.2.1
./Configure-Disable-shared
Make
4. Install mod_ssl
./Configure-with-Apache =/usr/src/soft/apache1.3.27
5. install Apache
CD/usr/src/soft/apache1.3.27
CP-AF ../fp-patch-apache1.3.22./patch-P0
./Configure -- enable-module = SSL
-- Enable-shared = SSL
-- Enable-module = so
-- Enable-Rule = shared_core
-- Add-module = mod_frontpage.c
Make
Make certificate type = custom
Make install
6. Install mod_perl
CD/usr/src/soft/mod_perl1.27
Perl makefile. pl everything = 1 use_dso = 1 do_httpd = 1
With_apxs =/usr/local/Apache/bin/apxs
Make
Make install
7. Install FrontPage Extension
VI/usr/local/Apache/CONF/httpd. conf
Change AllowOverride none of DocumentRoot to all.
Remove # From servername
CD/usr/src/soft/frontpgae/version5.0
/Fp-install.sh
CD/usr/local/Apache/bin/
CP-AF httpd. orig httpd
Add the following text to/usr/local/Apache/CONF/httpd. conf:
Options none
AllowOverride all
Order allow, deny
Allow from all
8. install Apache: ASP
Perl-mcpan-e Shell
Ask whether to manually configure CPAN or not.
CPAN> install Bundle: Apache: ASP
CPAN> exit
CD/root/. CPAN/build/Apache-ASP2.50
Perl makefile. pl
Make
Make Test
Make install
Add the following text to httpd. conf:
Sethandler Perl-scirpt
Perlmodule Apache: ASP
Perlhandler Apache: ASP
Perlsetvar global.
Perlsetvar statedir/tmp/asp
9. Install j2sdk 1.4.1
CD/usr/src/soft/
/J2sdk-1.4.1-linux-i586.bin
Accept the protocol, enter Yes
Generate the j2sdk1.4.1 directory
10. install Tomcat 4.0.1
CD/usr/src/soft/
CP-AF tomcat4.0.1/usr/local
Add the following text to the/etc/profile file:
Java_home =/usr/Java/j2sdk1.4.1
Export java_home
Classpath =/usr/Java/j2sdk1.4.1/lib:/usr/Java/j2sdk1.4.1/JRE/lib
Export classpath
Catalina_home =/usr/local/Jakarta-tomcat-4.0.1
Export catalina_home
Catalina_base =/usr/local/Jakarta-tomcat-4.0.1
Export catalina_base
Path = $ path: $ java_home/bin: $ java_home/JRE/bin
Export path
Start Apache and Tomcat and access http: // server IP: 8080 through a browser. If you see the Tomcat homepage, Tomcat settings are successful.
11. Integrate Apache and tomcat
CD/usr/src/soft/webapp-module-1.0.1-tc401/
./Support/buildconf. Sh
./Configure with_apxs =/usr/local/Apache/bin/apxs
Make
Make install
CP-Af./apache1.3/mod_webapp.so/usr/local/Apache/libexec
Add the following text to httpd. conf:
Addmodule mod_webapp.c
Loadmodule mod_webapp libexec/mod_webapp.so
Webappconnection wardconnection warp localhost: 8008
Webappdeploy examples warpconnection/examples/
Access http: // server IP/examples/in a local browser/
See index.html and execute the JSP Example program, which indicates that the configuration is successful.
I forgot the specific steps for implementing http: // server IP/JSP/**. jsp access.
If anyone knows, please send the steps to my mailbox zysno1@sina.com. I am very grateful.
12. install PHP
CD/usr/src/soft/php-4.3.1
./Configure -- disable-short-tags
-- Enable-sysvsem
-- Enable-sysvshm
-- With-MySQL
-- With-pgsql
-- With-apxs =/usr/local/Apache/bin/apxs
Make
Make install
CP-AF libs/libphp4.so/usr/local/Apache/libexec
VI/usr/local/Apache/CONF/httpd. conf
Add the following content at the corresponding location
Loadmodule php4_module libexec/libphp4.so
Addmodule mod_php4.c
Addtype application/X-httpd-PHP. php. php3. phtml
Installation is complete. Good luck !! I hope this document will help the same author as me. If you have other questions, please contact zysno1@126.com