Linux下配置java、tomcat、mysql环境
1.到sun官网下载jdk:jdk-6u22-linux-i586-rpm.bin? http://java.sun.com http://www.oracle.com/technetwork/java/index.html
安装命令:./jdk-6u22-linux-i586-rpm.bin
#set java_environment
JAVA_HOME=jdk路径
export JAVA_HOME
CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export CLASSPATH
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOME/bin
export PATH
2.下载tomcat http://tomcat.apache.org/?解压后既可使用
3.下载mysql http://www.mysql.com/
下载client与servet即可
MySQL-client-5.1.52-1.glibc23.i386.rpm
MySQL-server-5.1.52-1.glibc23.i386.rpm
?