1、jdk安裝java
一、下載jdk
jdk-6u26-linux-i586-rpm.bin
2 安裝jdk
#sh jdk-6u26-linux-i586-rpm.bin
三、#set java environment
export JAVA_HOME=/usr/local/web_server/jdk1.6.0_25
export JRE_HOME=/usr/local/web_server/jdk1.6.0_25/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
source /etc/profile
注:提示No such file or directory問題
install glibc.i686linux
2、tomcat安裝web
一、下載tomcat安裝包apache
apache-tomcat-6.0.32.tar.gztomcat
二、解壓server
#tar -zxvf apache-tomcat-6.0.32.tar.gzjdk