schematic diagram:
A: Installation and Configuration jdk environment variable;
1: mounting step;
1) First software xftp5 upload / opt under
2) to decompress / opt
3) withSet the environment variable configuration file vim / etc / profile
- JAVA_HOME=/opt/jdk1.7.0_79
- PATH=/opt/jdk1.7.0_79/bin:$PATH
- export JAVA_HOME PATH
4) need to log off the user, the environment variable to take effect
5) success, to write java files, compiled with;
II: Installation tomcat
Unzip to / opt
Start tomcat / bin / startup.sh
Use Linux local browser that can access tomcat
Open port 8080, so that the external network to access the tomcat vim / etc / sysconfig / iptables
If the test is successful, Access 8080 under windows and linux
Three: Installation eclipse;
Unzip to / opt
Start eclipse, and server configuration jre
- Start Method 1: Create a Shortcut
- Start mode 2: After entering the file to extract the eclipse folder, and then you can perform ./eclipse
Write jsp page, and the test is successful!