Home > Database > Mysql Tutorial > 在Linux环境下安装JSP_MySQL

在Linux环境下安装JSP_MySQL

WBOY
Release: 2016-06-01 14:09:14
Original
1080 people have browsed it

  

  apache 1.3.12 + tomcat 3.1.1 + JDK 1.2.2 + mod_jserv.so

1. 所需软件及下载

apache_1.3.12.tar.gz

http://www.apache.org

jakarta-tomcat-3.1.1.tar.gz

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.1.1/bin/

jdk-1_2_2_007-linux-i386.tar.gz

http://java.sun.com/products/jdk/1.2/download-linux.html

mod_jserv.so

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.1.1/bin/linux/i386



2. 安装

首先将上述四个文件拷贝到 /usr/local 目录。

cp apache_1.3.12.tar.gz /usr/local

cp jakarta-tomcat-3.1.1.tar.gz /usr/local

cp jdk-1_2_2_007-linux-i386.tar.gz /usr/local

cp mod_jserv.so /usr/local



安装顺序如下:

1) 安装JDK

cd /usr/local

tar zxpf jdk-1_2_2007-linux-i386.tar.gz

生成 /usr/local/jdk1.2.2 目录



2) 安装apache

tar zxpf apache_1.3.12.tar.gz

生成 /usr/local/apache_1.3.12 目录

cd apache_1.3.12

./configure \

--prefix=/www // apache 的安装路径是 /www

--enable-module=so // 支持mod_jserv.so

make

make install

make clean



3) 拷贝mod_jserv.so

将mod_jserv.so 拷贝到apahce的libexec目录

cd /usr/local

cp /usr/local/mod_jserv.so /www/libexec



4) 安装tomcat

cd /usr/local

tar zxpf jakarta-tomcat-3.1.1.tar.gz

生成 /usr/local/jakarta-tomcat 目录

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template