What should I do if nginx is too low to close? One move to smooth upgrade

1. View the existing nginx compilation parameters I'm here with 1.16.0 Upgrade to 1 for example.16.1(Compiled and installed) [root@localhost ~]# /usr/local/nginx/sbin/nginx -V nginx version: nginx/1.16.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support enabled configure arg ...

Posted by SsirhC on Mon, 06 Apr 2020 07:48:47 -0700

keepalived+nginx reverse agent load balancing configuration

Catalog 1. Description of components to realize Nginx load balancing 2 preparation of nginx load balancing experimental environment 3. Nginx reverse agent load balancing installation 4 maintained + nginx to realize the load balance between the active and the standby 1. Description of components to realize Ngin ...

Posted by NoSalt on Wed, 01 Apr 2020 17:31:34 -0700

Dynamically update Linux system password and send SMS to remind

Dynamically update Linux system password and send SMS to remind Sometimes we may need higher security. As the mainstream operating system of the server, Linux needs to change the root password of the system account frequently to ensure the security of the whole system. The importance of the password i ...

Posted by DJ Zen Masta K on Thu, 12 Mar 2020 05:05:50 -0700

Compiling and installing Mysql 8.0.19 under linux

1 Preface There are many ways to install MySQL under linux, including the way of warehouse (yum,apt,zypper), the way of package (rpm,deb), the way of docker, the way of decompressing from the compressed package, the way of compiling and installing from the source code. Here is the last one, the way of compiling and installing from the source co ...

Posted by ThisIsMyName on Thu, 05 Mar 2020 19:55:04 -0800

Use RSA private key to generate public key?

I really don't understand this: Basis: http : //www.madboa.com/geek/openssl/#key-rsa , you can generate a public key from the private key. openssl genrsa -out mykey.pem 1024 openssl rsa -in mykey.pem -pubout > mykey.pub My initial idea was that they were generated together. Does the RSA private key contain the sum? Or public key? ...

Posted by callmecheez on Mon, 24 Feb 2020 04:01:57 -0800

Front end security against CSRF attack

The front end is not only to render the data on the page, but also to do a lot of things For example, we should do a good job in safety Suppose, a management system, when you log in the system, you do not do security work Other people can add, delete, modify and check your data through your interface. T ...

Posted by youdontmeanmuch on Mon, 24 Feb 2020 02:48:14 -0800

How is Seesion used in C + + server?

How is Seesion used in C + + server? The two mechanisms of cookie and session are introduced and used in the official account (CPP background server public view), but it seems that we seldom encounter in the C++ background development process. How is session used in our server? First, let's look ...

Posted by neveriwas on Sat, 22 Feb 2020 20:09:54 -0800

Windows play Kubernetes series 4-build K8S Dashboard

Download official yaml file The latest configuration file v2.0.0-beta 8, recommended.yaml, UI address wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-beta8/aio/deploy/recommended.yaml Original document: kind: Service apiVersion: v1 metadata: labels: k8s-app: kubernetes-dashboard name: kubernetes-dashboard namespace: ...

Posted by and1c on Fri, 21 Feb 2020 06:56:51 -0800

md5sum and random number creation in shell programming

1. What is md5sum MD5 full name is message digest algorithm. This algorithm calculates information of any length bit by bit, and generates a "fingerprint" (or "message digest") with a binary length of 128 bits (hex length is 32 bits). The possibility of different files generating t ...

Posted by damo87 on Sat, 15 Feb 2020 21:09:27 -0800

Extended etcd cluster node with certificate

background A 7-node k8s cluster and a master node's disk are abnormal, which often causes the etcd of the node to write to the card, and then drags down the etcd cluster. Therefore, it is considered to migrate the etcd of the node. As shown in the figure above, the disk of the tstr501384 node is ...

Posted by turkman on Wed, 05 Feb 2020 00:30:35 -0800