It took a long time for a small configuration to solve the problem. It seems that it is impossible to learn only a lot of things but not to practice ......
Jdk installation by supervisor:
First, uninstall the default jdk/gcj
Rpm-qa | grep gcj rpm-qa | grep jdk (query installed details)
Run rpm-e to delete jkd/gcj.
Download jdk-1_6_0_31-linux-i586-rpm.bin from SUN
./Jdk-1_6_0_14-linux-i586-rpm.bin (for installation)
Configure Environment Variables
Add the following to the/etc/profile file:
JAVA_HOME =/usr/java/jdk1.6.0 _ 31
JRE_HOME = $ JAVA_HOME/jre
CLASSPATH =.: $ JAVA_HOME/lib/dt. jar: $ JAVA_HOME/lib/tools. jar
PATH = $ PATH: $ JAVA_HOME/bin
Export JAVA_HOME PATH CLASSPATH
Run java, javac, and java-version to confirm the installation and version are correct.
Tomcat eclipse installation by using supervisor is omitted
の install mysql
Download MySQL-server-5.1.7-0.i386.rpm MySQL-client-5.1.7-0.i386.rpm
Install server before installing client