-AVH--port=873--progress--delete/home/www.111cn.net/home_www.111cn.net_user@192.168.21.127::home_ Www.111cn.net--password-file=/etc/passwd.txt
RSYNC-AVH--port=873--progress--delete/home/www.111cn.net/home_www.111cn.net_user@192.168.21.128::home_ Www.111cn.net--password-file=/etc/passwd.txt
After the operation is completed, the two target servers are 192.168.21.127,192.168.21.128 on each other, and the Ces
123456#chmod 600/etc/password.txt # #设置文件权限,#rsync-AVH--port 873--progress--delete/var/www/html/[email protected]::web--password-file=/etc/password.txt # # #在 Tested on the source server and found it possible to back up the original server data to the target server#tar zxf inotify-tools-3.14.tar.gz # # # #安装inotify-tools#cd inotify-tools-3.14#./configure--prefix=/usr/local/inotify#make make InstallSet environment variables below and add soft links#ech
/share/man/man1/rsync.1.gzYum install xinetd # Only install xinetd. in CentOS, xinetd is used to manage the rsync service.Yum install rsync xinetd # if no rsync exists by default, run this command to install rsync and xinetdVi/etc/xinetd. d/rsync # Edit the configuration file and set rsync to start at startupDisable = no # Change to no/Etc/init. d/xinetd start # start (in CentOS, xinetd is used to manage rsync services)
4. create an authentication password file
Vi/etc/passwd.txt # edit the file
/rsync.passwdwebuser:password//user and password separated by semicolonsand set the 600 file properties:chmod 600/etc/rsync.passwdTo start the Rsync service:/usr/local/rsync/bin/rsync--port=873--address=192.168.121.129--daemonTo do a push test on the 192.168.121.128 (source) Host:RSYNC-AVH--delete--password-file=/etc/rsync.passwd/tmp/[email protected]::tmp#注意:/tmp directory default system is already there, if synchronization of other directories, the
This article is No. 9 in the O M of chinamoocs. It is too slow to update ,,
In O M, sometimes we need to delete large files, or n (n is infinite ~~) Multiple small files
So, RM,
Here, rocky introduces the most cute, gentle, mature, kind and kind of Linux in history.
This is another method of rsync.
① Syntax:
# Rsync -- delete-before-AVH -- Progress -- stats DEST SRC
Explanation:
When SRC and DEST are both objects [f], this indicates clearing t
In O M, sometimes we need to delete large files, or N (N is infinite ~~) Multiple small files
So, rm,
Here, Rocky introduces the most cute, gentle, mature, kind and kind of Linux in history.
This is another method of rsync.
① Syntax:
# Rsync -- delete-before-avH -- progress -- stats DEST SRC
Explanation:
When SRC and DEST are both objects [f], this indicates clearing the object content rather than deleting the object.
When SRC and DEST are both direc
to do this is to save the important data in a top-level directory, and then copy it to the external hard disk to back up the directory with the following command:rsync-avh/home/usr/dir//media/disk/backup/If you want to ensure that locally deleted files are also deleted on the external drive, you need to use the--deleted switch as follows:RSYNC-AVH--delete/home/user/dir//media/disk/backupUse this switch wit
= no #修改为no
/etc/init.d/xinetd start #启动 (CentOS is xinetd to manage rsync services)
4. Create the authentication password file
Vi/etc/passwd.txt #编辑文件, add the following
123456 #密码
: wq! #保存退出
chmod 600/etc/passwd.txt #设置文件权限, only set the file owner to have read, write permission
5, test the source server 192.168.21.129 to the two target server 192.168.21.127,192.168.21.128 data synchronization between
Mkdir/home/www.111cn.net/ceshi #在源服务器上创建测试文件夹, and then run the following 2-line co
respected Yao Lin and immediately invited Yao Lin to report to Liu Yanqing.
After hearing that Murong Qian was surrounded, Tang Kang and Yao Lin were not surprised. Obviously, they had already known each other, but did not tell them how to look at them. Only after hearing the fact that Liu Yanqing entered the village, the second talent appeared to be somewhat mobile. These are all expected by Murong Qian-Youjun is too optimistic about their situation.
However, Tian zongyu and Ren duo Guanming t
First, the function introduction:
The tool for front-end automation optimization, mainly has the following functions: gyDHTML5 Chinese Learning Network-HTML5 Pioneer Learning Network compression css– (yuicompressor) JS grammar check and compression-(google-closure-compiler) jpg, PNG, GIF lossless compression – (Jpegtran, PNGOut, gifsicle)
At present, only the Windows version of the tool, Linux and Mac version will be launched in the back, you are wel
Install mysql-server #安装mysql数据库service mysqld start #启动mysql服务iptables-F #清空iptables规则mysql-uroot-p-e ' Create dat Abase discuzdatabase; ' #创建discuz数据库mysql-uroot-p-e ' Grant all on discuzdatabase.* to [email protected] '% ' identified by ' Youpass '; "#创建discuz用户并赋予管理discuzdatabase的权限mysql-uroot-p-e ' flush privileges; ' #刷新mysql权限To configure the Web service:# #注意事项: Due to some of the mechanisms of rsync+inotify, it is first fully configured on the RS1 discuz in the use of rsync synchroniza
vi/etc/sysctl. confFs. inotify. max_queued_events = 99999999Fs. inotify. max_user_watches = 99999999Fs. inotify. max_user_instances = 65535Parameter description:Max_queued_events:The maximum length of the inotify Queue. If the value is too small, the "** Event Queue Overflow **" error will occur, resulting in inaccurate monitoring files.Max_user_watches:Directory of the file to be synchronized. Avoid the failure caused by this value being too small, especially when there are many smal
program, SCP is the meaning of security copy , the commands commonly used by SCP are:[Plain]View PlainCopy
Scp/path/to/source [email protected]:/path/to/local # #本地赋值到远程
SCP [email protected]:/path/to/source/path/to/local # #远程复制到本地
The Rsync command is a remote synchronization program that, compared to the SCP, can back up files at minimal cost, backing up only the files that are different, so that each backup is a lot less time, and in addition to its own protocol on the tra
fs.inotify.max_user_instances=65535
: wq! #保存退出
Parameter description:
Max_queued_events:
INotify Queue Maximum Length, if the value is too small, there will be "* Event queue Overflow * *" error, resulting in inaccurate monitoring files
Max_user_watches:
How many directories are included in the file to sync, available by: Find/root/ceshi-type D | Wc-l statistics, the max_user_watches value must be guaranteed to be greater than the statistical result (here/root/ceshi is the synchronized file di
Weibo by Zhang Keqiang: Zhang Keqiang-agile 307
1. Multiple stable branches of the pioneer trunk; 2. Multiple pioneer branches of the Guardian trunk; 3. No branches of the trunk; 4. Single Branch of the Guardian trunk.I. Multiple stable branches of pioneer
After a stable version is obtained, the stable version is placed on a new branch. The repair and makeup for
Upgrading the built-in firmware program (firmware) for DVD recorders has always been one of the ways to improve burn quality and burn disc compatibility. Typically, a new version of the firmware appears for users to download and upgrade almost every two months after each burner is marketed. Because the method of upgrading firmware is simple, so it is not very difficult to be a novice computer.
For the NEC burner, for example, although the series is different, the model is different, but they us
code)
C # One of the three steps of programming)
C # the second step of programming)
C # Three Steps for programming)
Preface to. NET Programming pioneer C)
Chapter C # Introduction to. NET Programming pioneer C)
Chapter 2 theoretical basis of. NET Programming pioneer C #-Public Language Runtime Environment)
Chapter 3 C # application)
Chapter 4 C # type)
Chapter
a wireless Mesh network, any wireless device node can act as both an AP and a router. each node in the network can send and receive signals, each node can communicate directly with one or more peer nodes.
Ii. Design PrinciplesWangjing Pioneer Park's wireless network coverage solution is designed based on the following principles: practical, advanced, stable, open, scalable, secure, highly available and economical.
Iii. solution design3.1 wireless cov
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.