Prepare NFS service 192.168.1.244$ yum -y install nfs-utils rpcbind$ systemctl start nfs-server rpcbind$ systemctl enable nfs-server rpcbind$ mkdir -p /data/k8s$ cd /data/k8s$ echo 11111111 > index.html$ vim /etc/exports/data/k8s *(rw,async,no_root_squash)$ systemctl restart nfs-server$ exportfs -arvClient test, all k8s nodes need to ...
Posted on Thu, 22 Aug 2019 01:12:37 -0700 by nats
I. PXE Service Profile:
PXE(preboot execute environment) is the latest technology developed by Intel Company. It works in Client/Server network mode. It supports workstations to download images from remote servers through the network, and thus supports the start-up process of operating systems from the network. During the start-up process, the ...
Posted on Tue, 20 Aug 2019 21:21:24 -0700 by TheLoveableMonty
Requirements for PXE remote server (192.168.1.10):Installation source (system disk file);TFTP service;DHCP service;Linux kernel;Can send PXE bootstrap program to client bare machine;Start menu and unanswered file;The client should have:The client's network card supports the PXE protocol, and the motherboard supports network booting (most of th ...
Posted on Tue, 20 Aug 2019 02:19:18 -0700 by Najjar
KeepAlived dual master configuration example:
LB lvs/nginx(http/upstream, stream/upstream)
HA High Availability
SPoF: Single Point of Failure
Formulas for system availability:
Posted on Wed, 07 Aug 2019 02:16:01 -0700 by agent47
Step 2: Find the conf file and enter
[root@Nigux nginx]# ll
//Total usage 4
drwxr-xr-x. 2 root root 4096 7 28/01:39 conf
drwxr-xr-x. 2 root root 40 7 28/01:39 html
drwxr-xr-x. 2 root root 19 7 28/01:39 sbin
[root@Nigux nginx]# cd conf
[root@Nigux conf]# ll
//Total usage 60
-rw-r--r--. 1 ...
Posted on Tue, 06 Aug 2019 09:30:10 -0700 by osti
After setting up the basic environment of Go, we can now officially start the learning journey of Go language. At the beginning of school, it is suggested to write code in the default GOPATH workspace specification. The basic directory structure is like this.
| `-- hello.exe
| `-- ...
Posted on Fri, 02 Aug 2019 04:12:16 -0700 by Blue Blood
The title comes from the Unix Shell exemplar to refine Chapters IV and V of the book, using the datebook file, which reads as follows:
Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300
Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500
Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ ...
Posted on Tue, 30 Jul 2019 20:54:05 -0700 by LiquidCD
1. Introduction to Haproxy
Haproxy provides high availability, load balancing and proxy based on TCP and HTTP applications to support virtual hosts. It is a free, fast and reliable solution. Haproxy is especially suited to web sites that are overloaded and often need to be maintained or ...
Posted on Tue, 30 Jul 2019 01:51:55 -0700 by sarakmo
In order to better control the access of website resources, it is necessary to add access authorization for a specific website directory.Client address limit:Through the Require Configuration Item, you can decide whether to allow client access according to the host name or IP address of the host. The Require Configuration Item can be used to c ...
Posted on Mon, 29 Jul 2019 02:27:11 -0700 by dreamwest
In the last article, we mainly talked about the installation of nginx, introducing yum installation and source code compilation installation respectively.
This article focuses on commands related to nginx.
Use the / usr/local/nginx/sbin/nginx -h command to view the available parameters:
Posted on Mon, 22 Jul 2019 04:16:02 -0700 by micronicos