inotify+rsync details and sersync
Please indicate the source of Reprint: https://www.cnblogs.com/f-ck-need-u/p/7220193.html
Chapter 2 Rsync (II): detailed description of inotify+rsync and sersync
Classification: Linux services
undefined
The following is the rsync series: 1. Rsync (I): basic commands and usage 2. Rsync (II): detailed description of inotify+rsync and se ...
Posted by woodsy2k on Sun, 30 Jan 2022 02:15:43 +0100
Record the processing process of a mining virus that was hijacked and downloaded by the ECS
etc is tampered with, resulting in viruses in the system
Cause:
The Alibaba cloud server I bought a year ago was not long after I bought it. Because I didn't take any security measures, I somehow hijacked the server and downloaded some mining scripts on it. The processing method at that time was simple and rough. I directly reset my Alibaba c ...
Posted by Ludichrist on Sat, 29 Jan 2022 11:36:24 +0100
Node.js learning ten (url)
preface
A complete url is divided into several parts, such as the following website: http://www.tmooc.cn:80/detail.html?lid=5 It consists of the following protocol + domain name + port number + which file on the server to be requested + data passed to the server. Now let's learn about url in detail.
1, What is a url module
The ur ...
Posted by s3rg1o on Sat, 29 Jan 2022 06:16:19 +0100
AJAX, Axio asynchronous framework (encapsulation of native AJAX). web partition
1. Understanding of Ajax
In the past, the data in the server was stored in the Servlet domain, and then sent to JSP for display.
With AJAX, you can communicate with the server. JSP is not required as a page.
The data can be sent to the browser in the Servlet and then displayed on the HTML page.
1.1 previous methods
1.2 current ...
Posted by sloth456 on Sat, 29 Jan 2022 03:59:39 +0100
[Linux] basic usage of log management
1. Basic introduction
Log file is an important system information file, which records many important system events, including user login information, system startup information, system security information, mail related information, various service related information, etc.Log is also very important for security. It records all kinds of th ...
Posted by Cagez on Thu, 27 Jan 2022 22:56:08 +0100
docker installs mysql8 0's pit lower_case_table_names
catalogue
1, Environment:
2, Modify case
2.1 modify my CNF (invalid):
2.2docker specifies -- lower case table names = 1 (invalid in specific cases):
2.3 solutions
3, Reference link
1, Environment:
centos7,docker 17.12.1-ce,mysql 8.0.21
The mysql command of docker installation:
docker run --name mysql --restart=always \
-v /home ...
Posted by Khrysller on Thu, 27 Jan 2022 22:31:05 +0100
docker installs mysql to simulate a master-slave database
Pull mysql image
docker pull mysql:5.7.36
Create container
Create the following folders master slave1 slave2
Create master database
docker run \
--name mysql-master \
-p 3307:3306 \
-v /usr/local/docker/mysql/data/master:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=root \
-d mysql:5.7.36
Create slave database 1
docker run \
--name m ...
Posted by jkurrle on Thu, 27 Jan 2022 09:56:53 +0100
Basic service practice and explanation - 5 PXE batch deployment system
PXE batch deployment system
1, What is PXE
Preface introduction: PXE pre boot execution environment (PXE), also known as pre execution environment, provides a mechanism to boot a computer using Network Interface. This mechanism allows the computer to start without relying on local data storage devices (such as hard disks) or locally insta ...
Posted by larrygingras on Thu, 27 Jan 2022 08:04:15 +0100
linux sh command details
1. Possible means of implementation
Execute under linux Method of sh file The. sh file is a text file. If you want to execute it, you need to use Chmod a + X XXX sh to give executable permissions.
2. Beginning: #/ bin/sh
shell programs must start with "#! / bin/sh". shell # generally means annotation, so it is often thought that &q ...
Posted by alexsaidani on Thu, 27 Jan 2022 06:13:04 +0100
Build TinyTiny rss service
Set up RSS subscription service
You can subscribe to the information you want to get, which is convenient and fast, and you can avoid the useless information recommended by the recommendation algorithm. Reference video: https://www.bilibili.com/video/BV1VK4y1m7CH#reply99076176496 Reference documents: https://loll.cc/rss
1. Prepare an ECS ...
Posted by peter_anderson on Thu, 27 Jan 2022 01:25:06 +0100