spring boot integrated redis

It is convenient to integrate common NO SQL with Springboot following the principle of "convention is greater than configuration". This example makes a simple demo with redis, using Redis's set and get commands. Introduce dependency packages for redis. <dependency> <groupId>or ...

Posted by dcj1978 on Sun, 05 Jul 2020 09:08:30 -0700

spring boot integrated redis

It is convenient to integrate common NO SQL with Springboot following the principle of "convention is greater than configuration". This example makes a simple demo with redis, using Redis's set and get commands. Introduce dependency packages for redis. <dependency> <groupId>or ...

Posted by neverett on Sun, 05 Jul 2020 09:08:33 -0700

WTM (ASP. Net core) uses nginx to build load balancing cluster

In order to improve the performance of the website, we can adopt the load balancing cluster scheme and the read-write separation. My previous blog described the configuration of WTM framework Separation of reading and writing , now we continue to build a load balancing cluster based on the previous ...

Posted by shellyrobson on Sun, 21 Jun 2020 01:14:37 -0700

Install python3 in centos7

1. Install the corresponding compilation tools In the root user (do not use ordinary users, trouble), all copy and paste in the past, a one-time installation yum -y groupinstall "Development tools" yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel ...

Posted by guido88 on Thu, 18 Jun 2020 20:12:07 -0700

Deploy a complete Kubernetes high availability cluster

1, Pre knowledge points 1.1 two ways to deploy Kubernetes cluster in production environment At present, there are two ways to deploy Kubernetes cluster in production: kubeadm Kubeadm is a K8s deployment tool that provides kubeadm init and kubeadm join for rapid deployment of Kubernetes clusters. Official address: https://kubernetes.io ...

Posted by deathrider on Fri, 05 Jun 2020 03:18:29 -0700

Open VPN is easy to help you realize!

preface: In view of the need for home-based work during the epidemic, remote work is necessary. At present, the simplest way is to realize it through the direct port mapping of the company's route, but there are inevitably security risks, For this reason, the editor temporarily decided to build openvpn to realize this function. Speaking of ope ...

Posted by danwatt on Wed, 03 Jun 2020 22:06:39 -0700

Let's Encrypt configure universal domain name certificate

Recently, more than 10 secondary domain names of individuals need to issue certificates. Let's Encrypt provides free SSL certificates with a term of three months. When they expire, they need renew. The official also provides certbot, a tool for automatic renew. Here, we record the general certificate that uses Let's Encrypt to generate t ...

Posted by iRock on Fri, 29 May 2020 00:36:59 -0700

Spring boot integrated configuration logback-spring.xml

Using logback instead of log4j is because logback is another open source log component designed by the founder of log4j. The kernel of logback has been rewritten and its performance has been improved by more than 10 times on some key execution paths. Moreover, the logback not only improves the performance, but also reduces the initial memory lo ...

Posted by 7724 on Thu, 28 May 2020 01:53:36 -0700

Istio police agent & envoy start process

Opening Through the previous article Istio Sidecar injection principle It can be found that the Sidecar application has been injected at the same time when the application is submitted to the kubernate deployment. If you are careful, you can also find that in addition to the application of istio proxy, there is also an Init Containers of istio ...

Posted by nediaz on Wed, 27 May 2020 05:10:20 -0700

Tomcat CAS (single sign on) version 5.2x configuration database access - yellow Tong

The 5.2 version of CAS single sign on is really a big change. I came up with it after reading a lot of data. The general steps of configuration and the steps of configuring CAS and database are as follows: 1. Copying jar package, 2. Configuring application.properties Database configuration access, 3. Establish database data Preparation be ...

Posted by alivec on Fri, 22 May 2020 09:13:14 -0700