In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install tomcat7 under Linux. It is very detailed and has a certain reference value. Friends who are interested must finish it!
Tomcat 7.0 is a Servlet container developed by the Jakarta project of the Apache Software Foundation. Tomcat provides some unique functions as a Web server, such as Tomcat management and control platform, security bureau management and Tomcat valves.
The specific download address is as follows. Tomcat 7:
Http://mirror.bjtu.edu.cn/apache/tomcat/tomcat-7/v7.0.22/bin/apache-tomcat-7.0.22.tar.gz
JDK 1.7 (x86):
Http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm
JDK 1.7 (X64):
Http://download.oracle.com/auth/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.tar.gz?e=1320470032&h=786351a82836b064c25af90e614d23fb
1. Check the system version # uname-a / / is a 64-bit system, then we choose the 64-bit JDKLinux 2.6.32-71.el6.x86_64 # 1 SMP Fri May 20 03:51:51 BST 2011 x86'64 GNU/Linux2, download tomcat7 and jdk1.
Tarbag specially puts the source code package, and software specially releases the decompressed software package.
# mkdir / usr/local/src/tarbag# mkdir / usr/local/src/software# cd / usr/local/src/tarbag# wget http://mirror.bjtu.edu.cn/apache/tomcat/tomcat-7/v7.0.22/bin/apache-tomcat-7.0.22.tar.gz# wget http://download.oracle.com/auth/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-x64.tar.gz3 、 Install jdk (configure java environment) # tar-xzvf jdk-7u1-linux-x64.tar.gz# mv jdk1.7.0_01/ / usr/local/java
Configure the java environment
# vi / etc/profile
Add the following information
Export JAVA_HOME=/usr/local/javaCLASSPATH=/usr/local/java/lib/dt.jar:/usr/local/java/lib/tools.jarPATH=/usr/local/java/bin:$PATHexport PATH JAVA_HOME CLASSPATH
Check to see if it is successful
# source / etc/profile# java-version / / installation of java version "1.7.00001" Java (TM) SE Runtime Environment (build 1.7.0_01-b08) Java HotSpot (TM) 64-Bit Server VM (build 21.1-b02, mixed mode) 4, installation of tomcat7 # tar-xzvf apache-tomcat-7.0.22.tar.gz# mv apache-tomcat-7.0.22 / usr/local/tomcat7
5. Start and shut down tomcat7
Start # / usr/local/tomcat7/bin/startup.sh close # / usr/local/tomcat7/bin/shutdown.sh6, open tomcat test open http://192.168.1.210:8080 above are all the contents of this article "how to install tomcat7 under Linux", thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.