nginx lua scripts manipulate pits in file directories or default paths to files

BUG s have recently appeared online, and it is after server migration that a lua script that finds nginx cannot collect log data for nginx After sorting, it was found that because lua could not find the corresponding file, the nginx data could not be written to the file.That is, lua cannot create the create file directory and therefore cannot f ...

Posted on Fri, 22 May 2020 23:54:39 -0400 by davidx714

Kubernetes v1.18.2 binary high availability deployment

1, Environment server information host name IP remarks k8s-master1 192.168.0.216 Master1,etcd1,node node k8s-master2 192.168.0.217 Master2,etcd2,node node k8s-master3 192.168.0.218 Master3,etcd3,node node slb lb.ypvip.com.cn Ali slb domain name of Internet Alicloud is used in this environment. API Server is highly available throu ...

Posted on Wed, 20 May 2020 02:20:41 -0400 by skyloon

The first project built by new maven reported an error and failed to download

problem The error is as follows: the jar package cannot be downloaded [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolve.. The following methods were tried: Delete all the files of C:\Users\Administrator\.m2\repository (your own directory) in this directory. It's useless It's usel ...

Posted on Wed, 13 May 2020 12:20:57 -0400 by redbrad0

Binary installation K8S cluster V1.16.3

centos linux7.5 cat > /etc/hosts << EOF 192.168.199.221 master 192.168.199.222 node1 192.168.199.223 node2 EOF One , turn off firewall, turn off selinux , close swapoff -a systemctl stop firewalldselinux=disabledswapoff -a Two . installation docker One )Common methods a , configuration yum source Alibaba image sour ...

Posted on Mon, 11 May 2020 04:53:38 -0400 by barneybarney68

[experience sharing] the asterisk (*) that Python beginners must know is not understood by 90%

Compared with other programming languages, Python has more diversified operation types. In particular, the asterisk (*), which is a widely used operator in Python, is not only used in the multiplication of two numbers. In this article, we will discuss the various uses of asterisks. The application scenarios of four kinds of asterisks are summar ...

Posted on Mon, 11 May 2020 04:12:39 -0400 by William

ETCD database deployment and flannel network component installation of kubernetes (K8S) cluster deployment

1, Introduction to single master cluster deployment Installation package used to build k8s cluster: (my version of installation package) Set up a node server: (three nodes) Master: 192.168.66.130/24 Software to be installed: Kube apiserver Kube Controller Manager Kube scheduler etcd Node01: 192.168.66.132/24 Software to be installed: ...

Posted on Tue, 05 May 2020 13:36:36 -0400 by gitosh

Step by step to complete Kubernetes binary deployment -- flannel network configuration (single node)

Step by step to complete the binary deployment of Kubernetes (II) - flannel network configuration (single node) Preface The demonstration of etcd cluster process of single node Kubernetes binary deployment is set up in the front. This paper will continue to deploy Kubernetes single node cluster in combination with the previous article to compl ...

Posted on Tue, 05 May 2020 11:16:29 -0400 by blacksharkmedia

Build a proxy server with stunnel+squid

1, Network environment Host A: 192.168.0.11 Host B: 66.0.0.6 Host C: 4.2.2.2 Host A and host B communicate with each other, and host B and host C communicate with each other. If A accesses C network slowly or not, it can be accessed through stunnel+squid agent. 2, squid installation configuration Squid and stunnel can be c ...

Posted on Sat, 02 May 2020 17:22:49 -0400 by karq

Record the pit encountered in the first integrated ios push

testing environment OSX Certificate generation There are many tutorials in this part. There are basically no holes. I just skipped them Try to connect function send(){ $deviceToken = 'xx='; $ctx = stream_context_create(); // ck.pem is your certificate file stream_context_set_option($ctx, 'ssl', 'local_cert', '/cert/ ...

Posted on Fri, 01 May 2020 23:59:18 -0400 by BlueNosE

Installing flannel components for the Kubernetes cluster

flannel network component, and one is calico, which supports bgp overlay network: overlay network, a virtual network technology mode overlaid on the underlying network in which hosts are connected via virtual link tunnmel vxlan: encapsulates the original data package into the UDP protocol, encapsulates it using the IP/mac of the underlying n ...

Posted on Wed, 29 Apr 2020 12:30:28 -0400 by vonnero