分类: 系统运维
2010-01-21 15:15:34
首先安装jdk
下载jdk-1_5_0_05-linux-i586.bin和apache-tomcat-
1.先安装jdk
#./jdk-1_5_0_05-linux-i586.bin (将安装到本目录下)
2.解压apache-tomcat.tar.gz
3.Vi /etc/profile,找到export字段添加
export JAVA_HOME=/app/jdk
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATH
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$HOMR/bin
#source /etc/profile 使配置生效
4.修改tomcat/conf/server.xml 将port设置为80