In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Tomcat introduction
Tomcat is a core project of the Jakarta project of the Apache Software Foundation (Apache Software Foundation), which is jointly developed by Apache, Sun and other companies and individuals. With the participation and support of Sun, the latest Servlet and JSP specifications are always reflected in Tomcat, and Tomcat 5 supports the latest Servlet 2.4 and JSP 2.0 specifications. Because of its advanced technology, stable performance and free, Tomcat is deeply loved by Java enthusiasts and recognized by some software developers, and has become a popular Web application server.
Advantages of Tomcat
1. It has both expandability and security of du. If the number of access requests zhi increases sharply per unit time, you can use a relatively low fee dao to increase the front-end capacity.
2. It is easy to expand. Because it is a single servlet container running on this powerful server, there is no need to consider complex issues such as the maintenance of session state in a distributed environment.
3. The back-end server is not accessible to the outside world, and the hackers on the Internet can only access the front-end web server, but not the back-end application server directly, which improves the security. But this does not mean that hackers cannot carry out other forms of attack through web browsers.
Tomcat core components
Servlet (application or container) is a component provided by java for developing web server applications. It runs on the server side. Servlet is used to generate dynamic page content. Servlet is a java class on the platform. To write a servlet is actually to install the servlet specification and write a java class.
Tomcat deployment steps
1. Download and install jdk
two。 Install and start Tomcat
Jdk: compiler that converts source files into execution files
Environment variable: PATH
User environment variables: effective for users only
System environment variables: effective for hosts only
Install Tomcat practice
1. Mount the package to the / mnt directory
two。 Install jdk
3. Installation completed
Installed by default in the / usr/java/ directory
4. Set environment variabl
5. Refresh environment variables and detect
6. Install Tomcat
Extract the file to / usr/local
Rename
Create a soft connection for easy operation
Turn off the firewall and enhance the security function
Start the service
Check if port 8080 is open
7. Optimize the opening speed cd / usr/local/jdk1.8.0_201-amd64/jre/lib/security/
After the optimization is completed, the speed of starting Tomcat becomes very fast!
At this point, the installation and deployment of Tomcat is complete, and the process is relatively simple.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.