Java learning experience of Linux under the construction of Javaweb environment
1. Preface
2. Java Installation
3. Tomcat Installation
4. Tomcat Simple Command
First, preface
This blog post records the construction of the Javaweb environment under Linux, based on the following articles:
http://m.blog.csdn.net/article/details?id=7727927 (Detailed steps to build a Java Web development environment under Ubuntu)
http://blog.csdn.net/xiaoyao6650/article/details/4029946 (compiling Java Web programs with Ant)
About Javaweb's learning materials
http://www.cnblogs.com/xdp-gacl/p/3729033.html (Javaweb Study Summary (i)--javaweb development introduction)
Second, Java installation
For Linux under the Java installation, you can refer to the previous blog: Java learning experience of Linux to build a Java environment.
Third, Tomcat installation
Go to Apache official website (http://tomcat.apache.org/), download apache-tomcat-6.0.32.tar.gz file, unzip.
Modify the profile file in the directory/etc, for example:
Export catalina_home=/usr/local/Tomcat export CLASSPATH=.: $JAVA _home/lib: $CATALINA _home/Lib Export PATH= $PATH: $CATALINA _home/bin
Four, Tomcat simple command
8080 Browser Address bar input: http: // localhost:8080/
Java learning experience of Linux under the construction of Javaweb environment