Configuration management of SaltStack

Configuration management of SaltStack YAML language YAML is an intuitive data serialization format that can be recognized by computer. It is a programming language with high readability, easy to be read by human beings, easy to interact with scripting language and used to express data sequences. It is similar to the data description language ...

Posted by dxdolar on Tue, 02 Nov 2021 04:10:36 -0700

Container data volumes - named mount and anonymous mount

What is a container data volume Container data volume is the mounting of the directory. Mount the directory of our container on the host, so as to realize the file sharing function between the host and the container; Why container data volumes docker's idea is to package the application and environment into a mirror image; But what about the ...

Posted by skali on Sun, 31 Oct 2021 18:29:58 -0700

Record the experience of configuring the server for a big innovation project

This is an article on configuring the server environment (for Python projects) (nanny tutorial) I can only say that configuring the server is really too simple. Just have a hand 1: Prepare the necessary documents The documents are as follows: DockerfileProject coderequirements.txt As shown in the figure: You need to create these three ...

Posted by whisher06 on Sun, 31 Oct 2021 09:53:33 -0700

[Linux high concurrency server] producer and consumer model

[Linux high concurrency server] producer and consumer model Article overview This article is a personal note of Niuke C + + project course: Linux high concurrency server, which records some knowledge points of producer and consumer model Author information NEFU 2020 zsl ID: fishingrod / fishing rod Email: 851892190@qq.com You are welcome ...

Posted by findshorty on Sun, 31 Oct 2021 00:48:23 -0700

Ansible automatic operation and maintenance tool 9 (installation and use of ansible role)

1, Introduction to ansible role (1) Ansible roles is a hierarchical and structured organization Playbook. (2) roles is to place variables, files, tasks, modules and processors in separate directories and easily include them; (3) roles are generally used in the scenario of building services based on hosts, and are frequently used in complex ...

Posted by defx on Sat, 30 Oct 2021 22:35:25 -0700

Docker container learning notes

1. Comparison between docker and virtual machine Compared with traditional virtual machines, Docker has fast startup speed and small footprint. 2. Docker component 2.1 docker server and client 2.2 docker image and container Mirroring is the foundation for building containers. 2.3 Registry registry Used to save user built images. I ...

Posted by malam on Sat, 30 Oct 2021 03:07:45 -0700

Detailed explanation of the most detailed Nginx configuration in history

Nginx common functions 1. Http proxy, reverse proxy: As one of the most commonly used functions of web server, especially reverse proxy. When working as a reverse proxy, nginx provides stable performance and flexible forwarding function. Nginx can adopt different forwarding strategies according to different regular matching, such as file ser ...

Posted by fiona on Sat, 30 Oct 2021 02:16:19 -0700

Network configuration in Linux 2021-10-29

IP and subnet mask concepts 1. What is IP ADDRESS internet protocol ADDRESS ## network process address ipv4 internet protocol version 4 ip is composed of 32 01s 11111110.11111110.11111110.11111110 = 254.254.254.254 2. Subnet mask Used to divide the network area The number on the ip corresponding to the non-zero bit of the subnet mask repres ...

Posted by svenski on Fri, 29 Oct 2021 06:59:13 -0700

Detailed explanation of Nginx configuration file ③

Open status interface First, install the corresponding software package -- with HTTP when compiling_ gzip_ static_ Module, then add content to the configuration file, and finally access it in the browser [root@nginx conf]# pwd /usr/local/nginx/conf [root@nginx conf]# vim nginx.conf ...... location / { root html; index index.html ...

Posted by hawnted on Thu, 28 Oct 2021 07:00:01 -0700

Chapter VIII software package management

1. Software operation and compilation 1.1 software related concepts 1.1.1 ABI ABI : Application Binary Interface Windows is incompatible with Linux ELF(Executable and Linkable Format)PE(Portable Executable) Library level virtualization: Linux: WINEWindows: Cygwin 1.1.2 API API is the Application Programming Interface. API can be implem ...

Posted by webguy262 on Thu, 28 Oct 2021 03:10:41 -0700