Network in Docker

Talking about the network in Linux Connectivity between namespace s Namespace is a feature supported after Linux 2.6.x kernel, which is mainly used for resource isolation. With namespace, a Linux system can abstract multiple network subsystems. Each subsystem has its own network device, protocol stack, etc., which do not affect each other. ...

Posted by benwilhelm on Thu, 19 Dec 2019 04:52:04 -0800

Configuration and use of Supervisor

brief introduction python deployment has always been a problem, but now it's 2018, and there are many mature solutions. The most commonly used is nginx + upervisor + virtualenv + gunicorn / uwsgi. The advantage is that it is very convenient to control program start / stop / restart, especially when you have many services; but abusi ...

Posted by sri2002 on Mon, 16 Dec 2019 09:24:01 -0800

Using idea to package spring cloud project and deploy it under tomcat

Note: there are three projects, One provides eureka Service -- EHL eureka Server1, A data interface service -- apps is, A web service - appsweb Use idea to make war package: Build - > build artifacts -- > select all or single Find the war package in the workspace, for example: E:\workspace-mars\mps\mps-apps-is\target Deploy to tomcat Fr ...

Posted by santhosh_89 on Sun, 15 Dec 2019 11:40:32 -0800

tomcat multi instance deployment

Close main station [root@dell710 ~]# bash /usr/local/tomcat/bin/shutdown.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /usr/local/javaUsing CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomca ...

Posted by Dax on Sat, 14 Dec 2019 07:13:25 -0800

Qingyun Xenon manages mysql master-slave replication test

Environment: 2 VM virtual machines centos7 x86? 64 bit system Configuration environment requirements: I. two virtual machines need to turn off iptables, turn off firewalld, turn off selinux and turn on time synchronization parameters to ensure that the time of the two virtual machines is consistent2. The sshd service of the two virtual machine ...

Posted by aperantos on Fri, 13 Dec 2019 03:21:21 -0800

Dynamic and static separation of Nginx under linux CentOS7

The separation of static and dynamic doesn't explain. There are a lot of theories on the Internet, but the implementation means I understand is that specific requests use specific processing methods. For nginx installation, please refer to this: https://blog.csdn.net/tangyaliang11/article/details/78675535 For tomcat installa ...

Posted by jh21236 on Wed, 11 Dec 2019 12:25:50 -0800

JavaEE Foundation (02):Servlet Core API Usage Detailed

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to Core API s 1. Servlet Execution Process Servlet is one of the three components of JavaWeb (Servlet, Filter, Listener), which is a dynamic resource.Servlets are used to process requests, and the server hands the received requests to the Servlet for process ...

Posted by Zemnon on Tue, 10 Dec 2019 17:01:02 -0800

Details of @ ConditionalOnProperty in Spring Boot

We often see the use of @ ConditionalOnProperty annotation in the automatic configuration of Spring Boot. This article will take you to understand the function of this annotation. Use in Spring Boot In the source code of Spring Boot, for example, automatic configuration involving Http encoding, automatic configuration of data source type, etc., ...

Posted by nocontrol on Mon, 09 Dec 2019 04:33:25 -0800

Nginx+Tomcat load balancing cluster + reverse agent

Experimental environment Nginx server (192.168.13.177) Tomcat1 server (192.168.13.151) Tomcat2 server (192.168.13.178) client tester I. load balancing 1. Install Tomcat service on Tomcat1 and Tomcat2 [root@tomcat1 ~]# systemctl stop firewalld.service ##Turn off firewall [root@tomcat1 ~]# mkdir /abc [root@tomcat1 ~]# mount.cifs //192.168.100.3 ...

Posted by lily on Sun, 08 Dec 2019 15:05:40 -0800

ObjectProvider source code trace of Spring Boot annotation

Recently, I'm still learning to read the source code of Spring Boot. In this process, I've involved many features that are rare in daily projects. It's interesting to study this in depth, which is also one of the charms of reading the source code. Write an article here and share it with you. ObjectProvider in auto configuration When reading the ...

Posted by Jeremias on Sat, 07 Dec 2019 05:20:37 -0800