Install tomcat-linux Enterprise Application-Linux server application in Linux. For more information, see. Tomcat is a free and open-source Serlvet container. It is a core project of the Jakarta project of the Apache Foundation, developed by Apache, Sun, and other companies and individuals. With Sun's participation and support, the latest Servlet and Jsp specifications can always be reflected in Tomcat.
Tomcat is a solid and independent Web server and Servlet Container. However, its Web server functions are not as complete as many more sound Web servers, such as Apache Web servers (for example, tomcat does not have many selective modules ). However, Tomcat is a free open-source software, and many experts are committed to its development.
Install j2sdk (Java 2 Software Development Kit), that is, JDK, before installing Tomcat.
1. perform the following steps to install JDK:
1) download j2sdk, such as jdk-6u1-linux-i586-rpm.bin
2) in the terminal, go to the directory where the jdk-6u1-linux-i586-rpm.bin is located, enter the command chmod + 755 jdk-6u1-linux-i586-rpm.bin, and add the execution permission.
3) execute the command./jdk-6u1-linux-i586-rpm.bin to generate a jdk-6u1-linux-i586.rpm file.
4) execute the command chmod + 755 jdk-6u1-linux-i586.rpm to add the execution permission to the jdk-6u1-linux-i586.rpm.
3) cp-R apache-tomcat-6.0.10/usr/local/tomcat // copy apache-tomcat-6.0.10 to/usr/local/and rename it tomcat
4)/usr/local/tomcat/bin/startup. sh // start tomcat
Display Using CATALINA_BASE:/usr/local/tomcat
Using CATALINA_HOME:/usr/local/tomcat
Using CATALINA_TEMDIR:/usr/local/tomcat/temp
Using JAVA_HOME:/usr/java/jdk1.6.0 _ 01
Now That tomcat has been installed, visit http: // localhost: 8080 in the browser. The default tomcat page appears, indicating that the installation is successful.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service