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 ftrudeau on Wed, 01 Jul 2020 08:01:07 -0700

Set up nginx + maintained dual host / dual host hot standby high availability cluster (attached data)

Note: This article is from the course of direct division of network architecture division of MOOC Environmental preparation: Three virtual machines: linux (centos7 64 bit); ** 192.168.237.128;**192.168.237.129; ** 192.168.237.130;** 1, Building three tomcat clusters with nginx 1. Install nginx ...

Posted by Tibster on Fri, 26 Jun 2020 21:38:27 -0700

This time, understand the core principles of spring boot (automatic configuration, event driven, Condition)

@ catalog preface text Starting principle event driven Auto configuration principle Condition annotation principle summary preface Spring boot is the packaging of spring. Through automatic configuration, spring boot can be used out of the box with very low starting cost. However, the cost of learning its implementation principle is grea ...

Posted by mvidberg on Thu, 25 Jun 2020 23:47:45 -0700

My architecture dream: details of Tomcat server core configuration

Tomcat server core configuration details 1, Main label structure 2, Server label 3, Service tag 4, Executor label 5, Connector label 6, Engine tag 7, Host label 8, Context label be careful: Tomcat is the configuration of the server, mainly conf/server.xml File configuration; server.xml It cont ...

Posted by kelvin on Wed, 24 Jun 2020 23:47:05 -0700

Understand the Spring Web zero xml configuration principle and parent-child container relationship this time

preface When using the old versions of Spring and Spring MVC for development, we need to configure a lot of XML files, which is very cumbersome. It is also very bad to let users choose their own configuration. Based on the stipulation that the Convention is greater than the configuration, Spring provi ...

Posted by croix on Fri, 19 Jun 2020 23:54:06 -0700

SpringCloud version Hoxton SR5 - Lecture 2: Differences between eureka, Eureka and zookeeper and usage scenarios.

------------------------------------------------ Cute dividing line--------------- Quote what I wrote: SpringCloud version Hoxton SR5 - Lesson 1: Understanding First look at what eureka can do, or its positioning and role in the project. The functions and functions mentioned before are in plain Chi ...

Posted by Dilbert137 on Thu, 18 Jun 2020 18:59:31 -0700

Docker image SpringBoot Jar package

Docker image SpringBoot Jar package Preface Pack Project Making Docker Mirrors View and run Docker images Access Interface Preface Let's start with a general process. I'm building a project with SpringBoot, typing it directly into a Jar package, running on port 8082 on Linux, and changing the na ...

Posted by fsumba on Wed, 17 Jun 2020 09:41:31 -0700

Boy! Kubernetes deployment is so simple, you can see it completely

How is it implemented to migrate the project to k8s platform? Make a mirror image Controller management Pod Pod data persistence Exposed applications Publish application to the public Log / monitor 1. There are three steps to making a mirror image The first basic image is based on which operating system, such as Centos7 or other The second ...

Posted by wenquxing on Wed, 10 Jun 2020 19:44:45 -0700

Centos7 deploy Nginx load balancing Tomcat server and session sharing architecture

brief introduction load balancing Load balancing is based on the existing network structure, which provides a cheap, effective and transparent way to expand the bandwidth of network equipment and servers, increase throughput, strengthen the capacity of network data processing, and improve the flexibi ...

Posted by TKirahvi on Tue, 09 Jun 2020 21:50:10 -0700

[Nginx] basic concept and installation

1, Basic concept of Nginx 1. About Nginx What is Nginx Nginx (engine x) is a high-performance HTTP and reverse proxy server, characterized by less memory consumption and strong concurrency. It has been reported that it can support up to 50000 concurrent connections 2. Reverse proxy Forward agent The forward proxy is a kind of client proxy. The ...

Posted by subcool on Sun, 07 Jun 2020 03:09:57 -0700