1. Install MySQL
Ø sudo apt-Get install mysql-server mysql-Client
Check whether MySQL is installed
Ø show variables like 'character % 'to view the character set used by the database
Log on to the mysql-u root-P database.
2. Download and install JDK
Oracle official website download http://www.oracle.com/technetwork/java/javase/downloads/index.html
Unzip the JDK and place it in the Java folder.
Set the environment variable sudo gedit/etc/environment
Sudo gedit/etc/profile
Check (Note: it is not the openjdk provided by UBUNTU)
3. Install eclipse
Oracle official website download J2EE version http://www.oracle.com/technetwork/java/javase/downloads/index.html
Unzip the package and run it directly.
4. install Tomcat
Apache official website to download the corresponding version of http://tomcat.apache.org/
Place the downloaded file in the Java folder, decompress it, and name it tomcat7.
Ø configuration parameter: sudo gedit Catalina. Sh
Enable Tomcat 7 sudo./starup. Sh (disable Tomcat 7 sudo./shutdown. Sh)
Enter http: // localhost: 8080 in Google Chrome
Configure Tomcat windows -- preferences -- servers -- runtime -- add in eclipse