Linux configuration of single machine and multiple instances of Tomcat
Sometimes you need to deploy multiple Tomcat on a server, and distinguish them through different ports, such as reverse proxy. But I don't want to simply copy tomcat, which is not convenient for future upgrade or management. At this time, I need to configure a single machine with multiple instances of ...
Added by Deemo on Fri, 25 Oct 2019 05:54:09 +0300
Linux Firewall basic instance
This is a basic operation example of Firewalld, using the Firewalld graphical operation interface for access control operation.
Experimental topology
requirement analysis
First, the topology involves two regions. Here, work and public regions are used to make corresponding rules.
1. icmp is forbidden in the work area. 192.168.100.101 is allo ...
Added by EdN on Wed, 23 Oct 2019 07:40:07 +0300
Understanding TCP's three grasp and four swing from a single online fault
Introduction:
Production failure scenario introduction
Three handshakes in TCP connection
TCP disconnect four wave process
Analyzing source code with Java stack
Find the "culprit" in the stack
Summary of problem optimization scheme
1. Production failure scenario introduction
Business profile:
This service mainly provides external p ...
Added by UnknownPlayer on Sat, 19 Oct 2019 11:03:00 +0300
RocketMQ transaction message learning and digging process
Background
MQ component is an indispensable tool in the system architecture. At the design level, it can reduce the system coupling, and high concurrency scenarios can also play the role of peak cutting and valley filling. From single application to cluster deployment scheme, to the current microservice architecture, MQ has been widely recogniz ...
Added by graphic3 on Sat, 19 Oct 2019 04:06:31 +0300
mybatis handles enumeration types
MyBatis supports persistent enum type properties. Suppose that there is a column of gender type varchar2(10) in the t Uuser table, which stores two values: MALE or FEMALE. In addition, the User object has a gender attribute of enum type, as follows:
public enum Gender {
MALE,FEMALE;
}
By default, MyBatis uses EnumTypeHandler to han ...
Added by DevilsAdvocate on Thu, 17 Oct 2019 01:37:01 +0300
Eureka [Troubleshooting Analysis]
1. Application services are not available before startup
Assuming that the eureka server service hangs up or does not start before the client application service starts, then the application service can still start normally, but there will be an error message:
2019-10-13 14:40:41.056 INFO 79897 --- [ main] com.netflix.discovery.D ...
Added by V on Sun, 13 Oct 2019 12:46:19 +0300
ActiveMQ Learning Summary - Operational Operation 02
I believe you have a general idea of ActiveMQ through your last blog post.
So this blog will lead you step by step to actually operate our ActiveMQ.
The main contents of this paper are as follows:
1. Introduction of ActiveMQ Terminology and API
2.ActiveMQ Text Message Processing
3.ActiveMQ Object Message Processing
Now that we have to le ...
Added by magic2goodil on Fri, 11 Oct 2019 16:47:26 +0300
Shiro Integrated SSM Based on Dynamic URL Privilege Management
This case is based on an extension of the previous demo. So the database table, in Shiro Integrated SSM Based on URL Privilege Management (I) The beginning is consistent. If the suggestion of the last demo operation is re-imported, avoid problems.
This time, it is not achieved through fixed annotations written in the method, but through flexib ...
Added by Jim R on Fri, 11 Oct 2019 10:58:49 +0300
Analysis of System File and Directory Management in CentOS 7
Linux directory structure
Linux directory structure is a tree-like directory structure
root directory
The starting point of all partitions, directories, files, etc.
In the entire tree directory structure, a separate "/" is used.
Common subdirectories
Catalog
Directory name
Catalog
Directory name
/root
Administrator's Home Direc ...
Added by wombatee on Thu, 10 Oct 2019 16:06:09 +0300
Spring Boot 2.x Basic Case: Integrating Dubbo 2.7.3 + Nacos 1.1.3 (latest edition)
1. Overview
This article will introduce how to register and consume Dubbo services by using Nacos as configuration and registration center based on Spring Boot 2.x.
Version description of integration components:
Spring Boot 2.1.9
Dubbo 2.7.3
Nacos 1.1.3
The highlights of this paper are as follows:
1. dubbo is configured by yml mode.
2. Rele ...
Added by nels on Thu, 10 Oct 2019 11:46:43 +0300