ansible manage fact and loop and conditional tasks

Manage facts and cycles and conditional tasks Fact profile Ansible is actually 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. ...

Added by dc519 on Thu, 20 Jan 2022 08:15:50 +0200

hadoop distributed ---- build a single machine, pseudo distributed and fully distributed environment

1, Introduction to hadoop 1. Description Hadoop is a distributed system infrastructure developed by the Apache foundation. Users can develop distributed programs without knowing the details of the distributed bottom layer. Make full use of the power of cluster for high-speed computing and storage. Hadoop implements a Distributed File S ...

Added by simmosn on Thu, 20 Jan 2022 05:41:49 +0200

Learning notes on Linux C application development -- Socket socket

Network socket Basic skills: two languages, one scripting language. Implement the function first. Discussion: problems needing attention in cross host transmission. 1. Byte order problem: large end storage: high byte at low address Small end storage: lower byte at X86 low address 0x00 00 00 05 Da 05 00 00 00 Small 00 00 05 Distinguish between ...

Added by rlalande on Thu, 20 Jan 2022 02:42:11 +0200

Linux driver development | SPI driver

SPI drive SPI is a very common serial communication interface, which is used to connect various peripherals, sensors and other devices Linux bare metal development | SPI experiment SPI interface has been introduced in detail in this paper. This paper mainly introduces the SPI driver framework under Linux, and writes SPI device drivers accordin ...

Added by perrohunter on Thu, 20 Jan 2022 02:33:13 +0200

Concise file operation under Linux Linux

1 lseek function Function: off_t lseek(int fd, off_t offset, int whence) Header file: #include < unistd h> #include <sys/types. h> Parameter: fd file descriptor Offset offset, which can be positive or negative The starting position of the where offset can be set in three ways SEEK_SET #Start position The file offset ...

Added by StefanRSA on Thu, 20 Jan 2022 00:55:23 +0200

Configure Caffe deep learning environment for the latest version of Ubuntu 20.04 in 2021

preface This article was written on July 15, 2021. If there is an error in the configuration according to the method in this article, please pay attention to whether it is too far away from the writing time. Make sure your PC graphics card is NVIDIA. This article does not apply to AMD graphics cards and Intel integrated graphics cards. 1, Up ...

Added by Xurion on Wed, 19 Jan 2022 20:22:40 +0200

git learning notes

When installing git, you can go directly to the GIT official website, but the download is slow, Domestic images can be used: http://npm.taobao.org/mirrors/git-for-windows/ After installation, the following message appears after the Windows key is pressed: We can use Git Bash About commands in git cd .. //Used to return to the previous di ...

Added by TheWart on Wed, 19 Jan 2022 19:46:05 +0200

ansible manage variables and encryption and decryption

ansible manage variables and encryption and decryption Introduction to ansible variable Ansible supports the use of variables to store values and reuse these values in all files of ansible projects. This simplifies the creation and maintenance of projects and reduces the number of errors. For example, a variable might contain the following v ...

Added by StoneJunkie on Wed, 19 Jan 2022 18:51:38 +0200

Hadoop HA high availability deployment

Hadoop HA high availability installation Problems needing attention in this scheme hdfs-site. Dfs.xml file ha. fencing. The methods parameter is shell instead of sshence Because the host of the primary node is down (the host is down instead of stopping the service) and cannot be switched However, most articles related to Hadoop HA fro ...

Added by lou28 on Wed, 19 Jan 2022 17:21:01 +0200

A complete collection of kso docker commands, based on the Linux server centos7 5. Install docker

1. Introduction to docker Docker is an open source application container engine, which allows developers to package their applications and dependent packages into a portable container, and then publish them to any popular Linux or Windows operating system machine. It can also realize virtualization. The container completely uses the sandbox me ...

Added by mhoard8110 on Wed, 19 Jan 2022 17:09:24 +0200