nginx tcp load balancing, replacing alicloud slb

We know that nginx was only used for http load balancing, while TCP and UDP used lvs or haproxy for load balancing, but both of them need to be bound with logical addresses. So the problem is that public virtual machine cannot be bound with logical addresses, so we can only use SLB provided by alicloud, so there will be two problems. 1. Spend ...

Posted on Sat, 28 Mar 2020 12:59:44 -0400 by yumico23

Formal Learning linux-17

1. Configure iscsi server Tagetcli is a dedicated configuration command for managing iSCSI server-side storage resources, which provides interactive configuration capabilities similar to fdisk commands. [root@linuxprobe ~]# targetcli Warning: Could not load preferences file /root/.targetcli/prefs.bin. targetcli shell version 2.1.fb34 Copyr ...

Posted on Sat, 28 Mar 2020 01:01:31 -0400 by crazykid

Pared partition (disk larger than 2T)

Disk mount problem: Fdisk can only create disks with a maximum of 2T partitions and uses parted disks with more than 2T Requirement Description: An 8T disk was bought on the cloud server and is ready to be mounted to the / data directory on the server. ****parted command description ****   # parted/dev/vdb Partition or management of/d ...

Posted on Fri, 27 Mar 2020 22:58:59 -0400 by wescrock

Coexistence of Nginx and multi version PHP

Software download php integrated with nginx needs to choose Non Thread Safe(nts) installation free version. NGINX download. In this case, nginx/Windows-1.10.2 is downloaded. Download and unzip. PHP7.0 download. This example downloads PHP 7.0 (7.0.14) VC14 x64 Non Thread Safe. Download and unzip. PHP5.2 download. This example downloads php-5.2.1 ...

Posted on Thu, 26 Mar 2020 11:05:08 -0400 by newburcj

Coexistence of Nginx and multi version PHP

Software download php integrated with nginx needs to choose Non Thread Safe(nts) installation free version. NGINX download. In this case, nginx/Windows-1.10.2 is downloaded. Download and unzip. PHP7.0 download. This example downloads PHP 7.0 (7.0.14) VC14 x64 Non Thread Safe. Download and unzip. PHP5.2 download. This example downloads php-5.2.1 ...

Posted on Thu, 26 Mar 2020 11:00:16 -0400 by huszi001

Coexistence of Nginx and multi version PHP

Software download php integrated with nginx needs to choose Non Thread Safe(nts) installation free version. NGINX download. In this case, nginx/Windows-1.10.2 is downloaded. Download and unzip. PHP7.0 download. This example downloads PHP 7.0 (7.0.14) VC14 x64 Non Thread Safe. Download and unzip. PHP5.2 download. This example downloads php-5.2.1 ...

Posted on Thu, 26 Mar 2020 10:59:15 -0400 by rammac13

Let Linux Firewall rookie nftables escort your VPS

Last article This paper introduces the advantages and basic usage of nftables. The advantage of nftables is that it compiles network rules into bytecode directly in user mode, and then it is executed by virtual machine of kernel. Although it is based on netfilter as iptables, nftables is more flexible. Before using iptables to match a large amo ...

Posted on Wed, 25 Mar 2020 23:03:46 -0400 by langer

Using vagrant to build virtualbox

Using vagrant to build environment Vagrant is a popular tool in recent years, through which we can automatically create a running environment and realize infrastructure as code. vargrant has the following great movies. Convenient sharing environment By sharing the code needed to build the environment, anyone can rebuild the same environment T ...

Posted on Wed, 25 Mar 2020 13:36:15 -0400 by Goose

An error report of etcd viewing data

After using kubeadm to install k8s cluster, you want to view the information about k8s cluster in etcd, but use kubectl exec XXX -- etcdctl -- Ca file XXX -- cert file XXXX -- key file XXX endpoints HTTPS: 127.0.0.1:2379 member list to prompt error: unknown flag: - Ca file, as shown below [root@k8s-3 manifests]# kubectl exec -it  -n kube-syste ...

Posted on Tue, 24 Mar 2020 10:16:32 -0400 by AlexRodr

Linux operation and maintenance learning - DAY11

Apache services At present, the programs that provide Web network services include IIS, Nginx, and Apache. IIS is a web service program in Windows system. Nginx is a lightweight website service software, high-performance HTTP and reverse proxy server, and also an IMAP/POP3/SMTP proxy server, which is an asynchronous model architecture. Apache ...

Posted on Tue, 24 Mar 2020 08:55:47 -0400 by Ben5on