I. copyright statement this document will be published in the GPL format. 2. as the saying goes, the software must be used first to do its best. The following lists the resources obtained by the software mentioned in this article, and the software is arranged in the order of installation. I. ApacheWebServerowww. apache. orgowww. redhat. comohttp: Apache
I. copyright notice
This file will be published in GPL mode.
2. software acquisition
As the saying goes, to do a good job, you must first sharpen the tool. The following lists the resources obtained by the software mentioned in this article, and arranges the software in the order of installation.
I. Apache Web Server
O http://www.apache.org/
O http://www.redhat.com/
O http://cle.linux.org.tw/
II. JDK
O http://java.sun.com/
III. JSDK
O http://java.sun.com/
IV. Java Apache
O http://java.apache.org/
V. GUN JSP
O http://www.gnu.org/
O http://java.apache.org/
III. software installation
I. install Apache Web Server
A. Use RPM
If you are using the RPM suite, after you obtain the Apache Web Server suite, you only need to enter the following command to complete the installation:
[Root @ localhost root] # rpm-ivh apache-1.3.xx.i386.rpm (xx stands for Apache Web Server version)
B. use SOURCE
If you are using the Source of Apache Web Server, you must compile and install the Source:
[Root @ localhost root] # tar zxvf apache_1.3.xx.tar.gz (xx indicates Apache Web Server version)
[Root @ localhost root] # cd apache_1.3.xx
[Root @ localhost apache_1.3.xx] #./congifure
> -- Prefix =/usr/local/apache/(set the directory you want to install)
> -- Enable-module = all
> -- Enable-rule = cmd_core
[Root @ localhost apache_1.3.xx] # make clean; make install
After completing the above steps, you have basically completed the installation of Apache Web Server.
II. install JDK
You can obtain the latest JDK (Java Development Kits) in Sun from the above position ). Follow these steps to complete JDK installation:
[Root @ localhost root] # tar zxvf jdk1_2_2rc2-linux-i386.tar.gz
[Root @ localhost root] # mv jdk1.2.2/usr/local/jdk122
After completing the preceding steps, you also need to set the environment:
[Root @ localhost root] # vi. bash_profile
...
...
JAVA_HOME =/usr/local/jdk122
PATH = $ PATH: $ JAVA_HOME/bin
CLASSPATH =/usr/local/jdk122/lib/tools. jar :.
Export JAVA_HOME
Export PATH CLASSPATH
★Note: If you are using JDK 1.1.x, your CLASSPATH must be set as follows:
CLASSPATH =/path/to/your/jdk/lib/classes.zip :.
III. install JSDK
★Note: If you are using the Java Apache RPM version, skip this section.