----------------------------------------------------------------------------------------------------
1. Install JDK
http://blog.csdn.net/sonnet123/article/details/9169741
Download JDK
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Export java_home=/usr/java/jdk1.7.0_25
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export path= $PATH: $JAVA _home/bin
If the old JDK version or the default JDK version exists, the JDK information above may not be the latest version, you will need to
- Installing Java Alternative---JDK
- # update-alternatives--install/usr/bin/java Java/usr/java/jdk1.7.0_25/bin/java 60
- To configure the JDK:
- # update-alternatives--config Java
Press Enter to save the current selection [+], or type a selection number:?
---------------------------------------------------------------------------------------------------
Name: Java_home
Variable Value: C:\Program files\java\jdk1.7.0_67
Name: Class_path
Variable value:.; %java_home%\lib;%java_home%\lib\tools.jar
Name: PATH
Variable value:;%java_home%\bin;
2. Install Tomcat
http://blog.csdn.net/zhuying_linux/article/details/6583096
Download Tomcat
http://tomcat.apache.org/
[Email protected] ~]# Unzip Apache-tomcat-6.0.30.zip
[Email protected] ~]# MV apache-tomcat-6.0.30//usr/local/
[Email protected] ~]cd/usr/local/
[Email protected] local]# ln-s/usr/local/apache-tomcat-6.0.30//usr/local/tomcat
[Email protected] local]# CD tomcat/bin/
[[email protected] bin] #ls
[[email protected] bin] #vim catalina.sh
Add the following content:
catalina_home=/usr/local/apache-tomcat-6.0.30/
[Email protected] local]#chmod +x *.sh
Three Start the Tomcat server
[[email protected] tomcat]# /usr/local/tomcat/bin/catalina.sh start
3. Install Eclipse
Http://www.cnblogs.com/hongten/archive/2012/07/12/2588463.html
Install Eclipse
TAR-ZXVF eclipse-sdk-4.2-linux-gtk.tar.gz
Start eclipse [provided that you enter the graphical interface command: STARTX]
CD Eclipse
Go to eclipse folder
./eclipse
4. Install MySQL
1). Download unzip
2). Add Environment variables
Mysql_home = C:\mysql-5.6.20-winx64
3). Register MySQL as a Windows system service
From the console into the bin directory under the MySQL decompression directory,Enter the Service installation command:
Mysqld Install MySQL--defaults-file= "C +Mysql-5.6.20-winx64\my-default.ini "
Note: The My-default.ini file is available in the root directory after MySQL decompression, if not, from somewhere else.
The Removal Service command is: mysqld remove
4). The Start service command is:
net start MySQL
5). Change the password of the root account
The default password for the root account is empty when the installation is complete, and you can modify the password to the specified password. Example: 123456
C:>mysql–uroot
Mysql>show databases;
Mysql>use MySQL;
Mysql>update user SET Password=password ("123456") WHERE user= ' root ';
Mysql>flush privileges;
Mysql>quit
5. Install Adobe Reader
http://blog.csdn.net/tesge/article/details/56838
When the download is complete, run the tar command to unpack the package:
Tar -xvzflinux-509. Tar. GZ
Unzip these files directly in this directory:COMMON. TARINSTALLlicread. TXTlinuxrdr. TARMANIFESTREADME
Java Web Integration Development (Appendix 1)-Installation configuration environment