[Linux] step by step operation and maintenance - Services - rysnc+inotify actual combat

Article catalog preface Experimental environment Configure ssh keyless login and time synchronization 2 . Set the rsync configuration file to ensure that the two servers can push and monitor each other a. Configuration of server 1: Install xinetd and startModify profile 3) Modify password file and modify permissions 4) Launch and view b. Co ...

Added by broseph on Fri, 14 Jan 2022 00:59:51 +0200

[Linux] step by step operation and maintenance - Services - rysnc+inotify actual combat

Article catalog preface Experimental environment Configure ssh keyless login and time synchronization 2 . Set the rsync configuration file to ensure that the two servers can push and monitor each other a. Configuration of server 1: Install xinetd and startModify profile 3) Modify password file and modify permissions 4) Launch and view b. Co ...

Added by ProblemHelpPlease on Fri, 14 Jan 2022 00:28:46 +0200

Learn and record common attributes and functions of the device tree

1. Basic structure of equipment tree 1.1 node structure [label:] node-name[@unit-address] { [properties definitions] [child nodes] }; Label represents the node label, which is convenient for other nodes to reference or modify the node later. It is implemented with & label (if there is no label, only the path can be referenced); & ...

Added by validangina on Thu, 13 Jan 2022 23:37:45 +0200

ansible implements handlers and handles failed tasks

1. Implement handling procedures 1.1 ansible handler Ansible modules are designed to be idempotent. This means that in a properly written playbook, the playbook and its tasks can run multiple times without changing the managed host unless changes are needed to bring the managed host into the desired state. However, when the task does cha ...

Added by britey on Thu, 13 Jan 2022 22:23:22 +0200

Linux user and rights management

This is the second article in the linux series. I thought Shell would be OK after writing it. But after careful combing, I found that I either knew a little about Linux or forgot it. In that case, you'd better review what you encounter. This paper attempts to solve the following problems How to do user management in LinuxRelationship between u ...

Added by telvitajoel on Thu, 13 Jan 2022 17:39:54 +0200

2021 Linux technology summary: kernel

By combing the startup process of U-boot, we finally entered the Linux kernel. Next, we analyze the startup process of Linux kernel and how to do a simple transplantation. 1, kernel startup process Through arch / arm / kernel / vmlinux The LDS script link file is used to view stext at the Linux kernel entry. Then, we can find that stext is de ...

Added by iyia12co on Thu, 13 Jan 2022 10:07:53 +0200

/etc/rancher/node/password try enabling a unique node name with the --with-node-id flag

[root@localhost tls]# k3s -v k3s version v1.22.5+k3s1 (405bf79d) go version go1.16.10 My k3s version 1.22.5+k3s1 At k3s v1 After 20.2 Rancher Docs: Architecture How proxy node registration works The agent node registers with the websocket connection started by the k3s agent process, and the connection is maintained by the client load bal ...

Added by snowdog on Thu, 13 Jan 2022 08:38:50 +0200

Routine work performed by loop crond

1, The routine work scheduling of loop execution is controlled by the system service crond. We can also restrict the use of crontab user accounts. /etc/cron.allow writes the account that can use crontab into it. If the user is not in the file, crontab cannot be used. /etc/cron.deny writes accounts that cannot use crontab into it. Users who are ...

Added by w00kie on Thu, 13 Jan 2022 05:00:09 +0200

Three [pile insertion] techniques for tracking the call of [library function] in Linux

Author: Daoge, a 10 + year embedded development veteran, focusing on: C/C + +, embedded and Linux. Pay attention to the official account below, reply to books, get classic books in Linux and embedded field. Reply to [PDF] to obtain all original articles (PDF format). catalogue Other people's experience, our ladder! What is pile insertion? ...

Added by dlkinsey85 on Wed, 12 Jan 2022 22:11:29 +0200

RH358 configure Web server -- configure Web server using Nginx

RH358 configure Web server – configure Web server using Nginx Introduce the basic application and configuration of Nginx. As a basis for understanding and application. 1. Install Nginx Nginx is an alternative to Apache HTTP server and one of the most widely used web servers on the Internet. One of its design goals is to provid ...

Added by SilverFoxDesign on Wed, 12 Jan 2022 19:34:28 +0200