一、jdk安装
1、下载jdk
jdk-6u26-linux-i586-rpm.bin
2 安装jdk
#sh jdk-6u26-linux-i586-rpm.bin
3、#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.i686
二、tomcat安装
1、下载tomcat安装包
apache-tomcat-6.0.32.tar.gz
2、解压
#tar -zxvf apache-tomcat-6.0.32.tar.gz