Tomcat

Install Nginx reverse proxy Tomcat under Windows

1. Install [Nginx] : Download the stable version, take nginx/Windows-1.12.2 as an example, directly download nginx-1.12.2.zip Extraction code: jjuc After downloading, unzip it, and the directory after unzipping is as follows: Startup method : Double-click the nginx icon to run , and it will flash after double-clicking, which is normal. If you are unsure, you …

Install Nginx reverse proxy Tomcat under Windows Read More »

Use Phpstudy pro to implement static resources and Java war package deployment

Article directory 1. Why use Phpstudy_pro 2. Deploy static pages with Nginx 3. Use Phpstudy_pro to implement war deployment 4. Use Phpstudy_pro to access static pages 5. Pagoda static page seamlessly integrates with Phpstudy_pro 1. Why use Phpstudy_pro Because Apache access cannot be opened normally, static pages cannot be accessed. Regarding static pages, I can …

Use Phpstudy pro to implement static resources and Java war package deployment Read More »

Tomcat installation and configuration (detailed steps)

This blog post documents the detailed steps for installing and configuring the Tomcat environment, and aims to provide guidance for configuring Tomcat again in the future. 1. Download Tomcat Tomcat official website is: https://tomcat.apache.org/ 1. Select the corresponding Tomcat version according to the JDK version as shown in the figure below 2. Download the corresponding …

Tomcat installation and configuration (detailed steps) Read More »

Three methods of Tomcat installation, use and deployment of web projects

Qiuyi community🔥Series column: MySql 🔥Foreword The installation tutorial brought today Tomcatwill also talk about the meaning of various directories, focusing on three methods of deploying [Web projects on the Tomcat server.] Article directory 1. Download and decompress the Tomcat compressed package 1. Download the Tomcat compressed package 2. Tomcat decompression Second, the interpretation and use …

Three methods of Tomcat installation, use and deployment of web projects Read More »

IDEA runs the whole process of Maven project configuration (for rookies)

JDK download and configuration environment: JDK installation: Download       and download the corresponding system version. Because you need to log in to download, so I provide Baidu cloud download. https: //pan.baidu.com/s/1lj2na9omGwhPrCKYNz1qSQ Extraction code: izkj Double-click to run and install jdk to configure environment variables: Right-click the computer properties, select Advanced System Settings -> Environment Variables, click …

IDEA runs the whole process of Maven project configuration (for rookies) Read More »

Tomcat removes version number and middleware information

Details: The system has error information and middleware version information leakage 1. As follows: Middleware version information leakage 2. Enter the lib directory of tomcat and find the catalina.jar file First backup the catalina.jar package of tomcat. This package is in the lib directory of the tomcat home directory. cp catalina.jar catalina.jar.bak There will be …

Tomcat removes version number and middleware information Read More »

Tomcat log cutting script

Original script download address: link: https://pan.baidu.com/s/1ztfz0Ft1CYx5-__prz66dQ Extraction code: kt3d #!/bin/bash tomcat_logpath=/apps/apache-tomcat-web/logs # Copy the log file contents to a new file cp $tomcat_logpath /catalina.out $tomcat_logpath /catalina_date -d '-1 days' +%Y%m%d.log # Empty tomcat default log output file echo "" > $tomcat_logpath /catalina.out # If there are multiple tomcats, make a copy # Find and clean up unnecessary files find …

Tomcat log cutting script Read More »

Tomcat Configuration Specification (Linux) – Security

1. Account password Check whether the password length and complexity are set . Set the password in tomcat-users.xml: the password length is not less than 8 characters, and the password includes at least two types of numbers, lowercase letters, uppercase letters, and special symbols. Check whether to disable the super user and enable tomcat . …

Tomcat Configuration Specification (Linux) – Security Read More »

Tomcat 6 or 7, 8 concurrency optimization

Modify the tomcat/conf/ [server.xml] configuration file. <Connector executor="tomcatThreadPool" port="80" protocol="HTTP/1.1" connectionTimeout="20000" enableLookups="false" redirectPort="8443" URIEncoding="UTF-8" acceptCount="1000" /> tomcat7 configuration: tomcat6 configuration: tomcat 8 configuration: protocol=”org.apache.coyote.http11.Http11Nio2Protocol” Parameter Description maxThreads Client requests the maximum number of threads minSpareThreads The number of socket threads created when Tomcat is initialized maxSpareThreads The maximum number of idle socket threads for the …

Tomcat 6 or 7, 8 concurrency optimization Read More »