Configuration instructions for nginx static resources
Configuration instructions for nginx static resources
listen instruction
listen: used to configure the listening port.
grammarlisten address[:port] [default_server]...;listen port [default_server]...;defaultlisten *:80 | *:8000positionserver
The setting of listen is flexible. Let's familiarize ourselves with the common setting methods throug ...
Posted by FortMyersDrew on Tue, 21 Sep 2021 19:42:25 +0200
@zabbix (5.0) client and server deployment and installation
zabbix (5.0) deployment and installation
www.zabbix.com [official website]
1, zabbix client
1)agent2 New version adopted golang Language development client
2)agent2 The default is 10050 port, that is zabbix Port of the client
# Old client: ZABBIX agent
# New version client: zabbix-agent2
2, Client Deployment (zabbix-agent2 installat ...
Posted by Joeker on Tue, 21 Sep 2021 11:11:05 +0200
kubernetes cluster setup 01 environment preparation
Environmental Science:
Ubuntu 20.04.2 LTS \n \l
Kubedm is recommended for cluster construction in production environment,
The starting point of kubedm tool is very simple, which is to deploy a Kubernetes cluster available for production as easily as possible. In fact, it is really simple. You only need two commands:
# Create a Master n ...
Posted by essexboy on Sun, 19 Sep 2021 14:17:56 +0200
Enterprise shared file system
Chapter 1 enterprise level shared file system
1.1 vsftp
1.1.1 overview of vsftp
1. Introduction
FTP (File Transfer Protocol) is one of the protocols in the TCP/IP protocol group. Used for two-way transfer of files on the Internet. When using FTP to transmit, it is dangerous to a certain extent, because the data is completely unprotected pla ...
Posted by Online Connect on Sun, 19 Sep 2021 08:13:43 +0200
Virtual data optimizer VDO for advanced storage management in linux
preface
We have introduced the logical volume manager LVM before. Its main function is to scale the file system, so that people can use disk space more flexibly. However, the emergence of LVM can not solve the problem of data optimization. There are often some duplicate data or empty blocks on our devices, which will greatly waste our di ...
Posted by Zyx on Sun, 19 Sep 2021 01:59:03 +0200
Shell Scripting Tricks - Here Document Free Interaction and Expect Automation Interaction
Preface
In a real production environment, writing shell scripts will inevitably encounter some interactive interfaces, such as raid s and extensions, which require interaction, so we need to use the following non-interactive operations to achieve true shell script automation.
1. Here Document exempt from interaction
1. Overview
Provide ...
Posted by PHPHorizons on Wed, 15 Sep 2021 18:38:33 +0200
Summary of common Linux shell commands
0 Preface
Because I often run various experimental tests in Linux, in order to reduce energy, I usually write the script of automatic running experiment and the script of result processing first, and finally open the experimental results directly with excel. In order to facilitate readers and write scripts in the future, the common instruc ...
Posted by kulin on Wed, 15 Sep 2021 02:34:35 +0200
Docker Container Data Volume Details
1.Data Volume Introduction
Docker packages and runs environments to form container runs. Data generated by Docker containers will naturally be lost when the containers are deleted unless a new image is generated through docker commit. In order to save data in Docker we use volumes. |
Volumes are directories or files that exist in one or more ...
Posted by Moonspell on Sun, 12 Sep 2021 19:05:21 +0200
docker private warehouse registry and resource control cgroup
1, Establishment of private image
1. Download and modify the daemon file
[root@docker ~]# docker pull registry
[root@docker ~]# vim /etc/docker/daemon.json
{
"insecure-registries": ["192.168.100.21:5000"], #Add line, local ip
"registry-mirrors": ["https://xxxxx.mirror.aliyuncs.com "] # own alicloud image accelerator
}
[roo ...
Posted by Dominator69 on Sun, 12 Sep 2021 06:45:11 +0200
2021-09-10 project name: dual vip high availability web Cluster Based on kept
Project Name: dual vip high availability web Cluster Based on keepalived
Architecture diagram
Project environment: CentOS 8.2 (8 sets, 1-core 1G), ansible 2.9.17, keepalived 2.0.10, Nginx 1.19.7, NFS
Project Description:
Build a Web Cluster project with high concurrency and high a ...
Posted by esukf on Fri, 10 Sep 2021 21:34:57 +0200