In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Make sure that the linux server uses utf-8
Local-a / / View supported fonts vi / etc/sysconfig/i18n
Modify to
Zh_CN.UTF-8
2. Client software Xshell, putty, SSH Secure Shell Client and other client codes are changed to utf-8.
3. Modify the server.xml file encoding to utf-8
URIEncoding= "UTF-8"
4. Modify catalina.sh file
If [- z "$LOGGING_MANAGER"]; then JAVA_OPTS= "$JAVA_OPTS-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager-Dfile.encoding=UTF8-Dsun.jnu.encoding=UTF8" else JAVA_OPTS= "$JAVA_OPTS $LOGGING_MANAGER-Dfile.encoding=UTF8-Dsun.jnu.encoding=UTF8" fi
Extended data:
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.
These are the details of the garbled code when starting tomcat on the linux server. Please pay attention to other related articles for more information.
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.