Separation of dynamic and static state by Nginx+Tomcat

Add group groupadd www Add user WWW: useradd - G www under www group Modify configuration file nginx.conf : user www www; worker_processes 2; events{ worker_connections 1024; } http{ #Set the default type to binary stream default_type application/octet-stream; server_names_hash_bucket_size 128; #Specify the hea ...

Posted by dheeraj4uuu on Wed, 01 Jul 2020 16:58:12 +0200

Pinyougou project notes: SpringBoot and Ali greater than

Notes on pinyougou project (11) SpringBoot introduce Small example (1) Small examples (2) Integration of springboot and activemq Ali greater than SpringBoot introduce springboot is a back-end full stack framework (excluding page technology) produced by spring organization Role: advocate zero ...

Posted by Imad on Mon, 29 Jun 2020 08:00:08 +0200

08 08Struts 2.x file upload

Article catalog 1 Basic upload 2 further operation of upload 3 upload restrictions If your code is developed with standard MVC, it is highly recommended to use SmartUpload. However, if your project code is developed with framework, such as Struts 1.x, Struts 2.x, and Spring MVC, you can only use F ...

Posted by nonexistence on Sun, 28 Jun 2020 06:52:44 +0200

Spring boot principle: the starting principle of source code analysis

catalog 1, Introduction to spring boot analysis 2, Spring boot annotations to be covered 1.@SpringBootApplication 2.@SpringBootConfiguration 3.@EnableAutoConfiguration 4.@AutoConfigurationPackage 5. Some annotations in the xxxautoconfiguration class 3, Spring application initialization proces ...

Posted by aseaofflames on Mon, 22 Jun 2020 10:48:12 +0200

hualinux servlet 2.13: ServletRequest interface and its sub interface

catalog 1, Knowledge points 2, Examples 2.1 example 1 obtaining request parameters 2.1.1 code 2.1.2 test results 2.2 example 2 returns the string array corresponding to the request parameter according to the name of the request parameter 2.2.1 in index.jsp Write form 2.2.2 modification Login. ...

Posted by chedong on Thu, 18 Jun 2020 06:37:31 +0200

In depth spring boot annotation principle and use

The main configuration class of SpringBoot @SpringBootApplication public class StartEurekaApplication { public static void main(String[] args) { SpringApplication.run(StartEurekaApplication.class, args); } } Click @SpringBootApplication to see that @SpringBootApplication is a comp ...

Posted by sqlnoob on Tue, 16 Jun 2020 10:43:45 +0200

Server is implanted into Trojan horse, CPU soars 200%

Author: my name is Liu Banxianhttps://my.oschina.net/liughDevelop/blog/1786631 The online server uses a certain cloud, running the Tomcat, MySQL, MongoDB, ActiveMQ and other programs happily and perfectly. Suddenly a bad news came from the front: the website can't be accessed! I am in charge of this project. I immediately opened the server at ...

Posted by WeAnswer.IT on Fri, 12 Jun 2020 05:43:47 +0200

Install JDK and Tomcat on Linux (CentOS7.2)

1. Download related software JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Tomcat: http://mirrors.shuosc.org/apache/tomcat/tomcat-9/v9.0.2/bin/apache-tomcat-9.0.2.tar.gz 2. Install and configure JDK [root@JDK-Tomcat ~]# rpm -ivh jdk-8u151-linux-x64.rpm Add the followi ...

Posted by McManCSU on Fri, 29 May 2020 19:00:34 +0200

What, too many containers to handle? I choose Docker Compose solha

Next: Interviewer: you said that you are proficient in Docker. Let's talk about Dockerfile in detail 1, Communication between containers 1. One way communication 1.1 what do you mean mysql and tomcat are two independent containers, but tomcat needs to communicate with mysql, and mysql does not need to communicate with tomcat at all, which is c ...

Posted by keenlearner on Thu, 28 May 2020 06:12:26 +0200

How to install Tomcat 9 on Ubuntu 20.04

This article was first published in: https://www.itcoder.tech/posts/how-to-install-tomcat-9-on-ubuntu-20-04/ This guide describes how to install and configure Tomcat 9 on Ubuntu 20.04. Apache Tomcat is an open source Web server and Java servlet container.It is the most popular choice in the world for building Java-based websites and applicatio ...

Posted by muadzir on Thu, 28 May 2020 04:43:56 +0200