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

CoreOS Configuration Docker API TLS Certification

We often use Portainer to manage the docker environment, Jenkins to build and deploy the docker automatically, and the Docker API is used for remote management. Usually we just open a 2375 (usually) port without security protection, which is dangerous and can lead to remote hijacking attacks.Then we need to configure the TLS certified 2376 (usu ...

Posted by krotkruton on Wed, 22 Jan 2020 08:29:43 -0800

CentOS 7.6 builds nginx 1.16.1 and uses the upstream check module

Environmental description: host name Operating system version ip nginx version httpd version Remarks nginx Centos 7.6.1810 172.27.34.41 1.16.1 / nginx server web01 Centos 7.6.1810 172.27.34.161 / 2.4.6 web server web02 Centos 7.6.1810 172.27.34.162 / 2.4.6 web server web03 Centos 7.6.1810 172.27.34.163 / 2.4.6 web server 1, Brief ...

Posted by jungalist on Wed, 22 Jan 2020 07:36:22 -0800

Django + uWSGI + Nginx + https project deployment, and generate https certificate with OpenSSL

Background: Recently, I suddenly came into contact with OpenSSL. I suddenly thought that I had not written anything related to the deployment of Django + uWSGI + Nginx + https project, so I sorted out a piece of data. Catalog 1, OpenSSL installation 2, Generate certificate 3, Nginx configuration 4, Ac ...

Posted by frymaster on Sun, 19 Jan 2020 06:20:10 -0800

Docker Security Management (Actual!!!)

Docker Security Difference between Docker and Virtual Machine Isolation and Sharing By adding Hypervisor layer, virtual hardware such as network card, memory, CPU and so on, virtual machines can be built on top of it. Each virtual machine has its own system core Docker containers isolate file systems, processes, devices, networks and other re ...

Posted by OMorchoe on Tue, 14 Jan 2020 11:21:14 -0800

Build Nginx Server and Deep Optimization

Blog Outline: 1. Introduction to Nginx2. Set up Nginx server3. Upgrade version of Nginx service to 1.24. Modify Nginx Service Header Information5. Detailed explanation of location Option in nginx main configuration file6. Configure https to access Nginx7. Open Nginx Access Certification 1. Introduction to Nginx Nginx is developed for perform ...

Posted by katarra on Fri, 10 Jan 2020 09:35:14 -0800

Nginx tcp reverse agent configuration and installation

Nginx upgrade supports stream module Nginx is used as the reverse proxy of tcp. Currently, in versions 1.7 to 1.9, the [nginx ﹐ tcp ﹐ proxy ﹐ module] module needs to be loaded. After 1.9, the [with stream] module can be used. Because LNMP is used for installation( https://lnmp.org/ ), the method of upgrading nginx directly ...

Posted by anthonyv on Fri, 03 Jan 2020 20:48:14 -0800

Nginx 1.14.0 full version compiled from CentOS 7 source code

1, Installation preparation 1. Go to the nginx source package on the official website http://nginx.org/en/download.html ] 2. Loading dependence yum -y install pcre pcre-devel yum -y install openssl openssl-devel yum -y install gcc-c++ autoconf automake yum install -y zlib-devel yum -y install libxml2 libxml2-dev yum -y install libxslt-devel yum ...

Posted by egturnkey on Thu, 02 Jan 2020 05:30:49 -0800

nginx deployment and installation

1. When learning ngnix, there is no need to install it. In fact, the installation is very simple. A shell script can do it. Please refer to the following Use the root user to execute the nginx-install.sh script, which is as follows: #!/bin/bash set -o nounset basedir=$(cd "$(dirname "$0")"; pwd) # Set user name and password sys_user=hadoop sy ...

Posted by bk6662 on Mon, 30 Dec 2019 12:26:23 -0800