06Ansible facts, bad circulation and conditional judgment

1. Management facts 1.1Ansible facts Is a variable that Ansible automatically detects on the managed host. The fact contains host related information that can be used like regular variables, conditions, loops in play, or any other statement that depends on the values collected from the managed host. Some of the facts collected for manage ...

Posted by davidp on Fri, 14 Jan 2022 16:00:42 +0100

Analysis of initRD startup process

1. The root file system is stored in flash, and it will take a long time to start the device. This is because reading rootfs data from flash is time-consuming, and reading *. Stored in rootfs at the same time so,*. ko and other documents are also time-consuming. This is determined by the read and write properties of flash itself. For some devi ...

Posted by ashleek007 on Fri, 14 Jan 2022 14:24:41 +0100

System call & & process replacement exec for operating files

Tip: the following is the main content of this article. The following cases can be used for reference 1, System call System call: few functions are used to access and control files and devices. These functions are called system calls, which are directly provided by UNIX (and Linux). They are also interfaces to the operating system its ...

Posted by twoeyes on Fri, 14 Jan 2022 11:50:43 +0100

Linux interrupt subsystem 2: Hardware encapsulation layer related to arch

A design principle of Linux general interrupt subsystem is to hide the underlying hardware implementation as much as possible, so that the driver developers do not pay attention to the underlying implementation. To achieve this goal, the kernel developers must peel off the hardware related content, and then define a series of standard in ...

Posted by webdata on Fri, 14 Jan 2022 10:48:27 +0100

Nginx configuration https protocol super detailed!!!

This article is based on Linux operating system demonstration. Preparations: server with public IP (CentOS7), apply for a domain name, apply for SSL certificate for the domain name, and bind the server's public IP with the domain name. 1, Download and install Nginx Nginx download website: http://nginx.org/en/download.html Baidu online di ...

Posted by snowrhythm on Fri, 14 Jan 2022 10:01:22 +0100

1. Network configuration under Linux

Network configuration under Linux What is IP ADDRESS Full name: internet protocol address ipv4----------internet protocol version 4 ip is composed of 32 01s 11111110.11111110.11111110.11111110 = 254.254.254.254 Subnet mask Used to divide the network area The number on the ip corresponding to the non-0 bit of the subnet mask represents ...

Posted by DJ Unique on Fri, 14 Jan 2022 07:11:05 +0100

Good thing, load balancing LVS

Theoretical knowledge points 1, Meaning of cluster 1. It is composed of multiple hosts. The external performance is the whole. It provides an access portal, and multiple hosts form a cluster, 2. Classification ① , load balancing cluster ② High availability cluster ③ High performance computing cluster 3. Load balancing cluster Improve the resp ...

Posted by bftwofreak on Fri, 14 Jan 2022 05:30:06 +0100

Nginx basic installation and configuration (multi platform)

preface This article will introduce the basic installation and configuration of Nginx, and give the installation and configuration methods under different platforms (Windows, Linux, MacOS). Finally, the Nginx version file used in this article can be seen in the online disk link at the end of the text or downloaded through the official webs ...

Posted by abhi201090 on Fri, 14 Jan 2022 04:49:41 +0100

git and github build and use tutorial under linux

1: Building git and github under linux 1. Registered gihub account: github official website: https://github.com/ You can create it yourself. Log in, create repository, create a new warehouse, and create a test library test. The creation is complete. 2. linux Installation git environment yum -y install git 3. Generate ssh key The SSH key ...

Posted by 2oMst on Thu, 13 Jan 2022 21:18:55 +0100

The Gaode interviewer asked me: can the service run after the JVM memory overflows? I have a smooth operation

At the beginning of the article, let's ask a question. If OOM occurs in one thread of a java program, can other threads in the process still run? Next, do an experiment to see if the six kinds of JVM programs can be accessed after OOM. Here I use a springboot program. /** * @author : charon * @date : Created in 2021/5/17 8:30 * @descripti ...

Posted by PrivatePile on Thu, 13 Jan 2022 21:07:50 +0100