Linux-Windows rsync-Linux Enterprise Application-Linux server application information. For details, refer to the following section. I. Linux
1. Install rsync (rsync 2.5.5)
The latest version is 2.4.6. You can choose to download from the original site: http://rsync.samba.org/ftp/rsync/
Compile and install
Rsync compilation and installation are very simple. You only need to perform the following steps:
[Root @ www rsync-2.4.6] #./configure
The [root @ www rsync-2.4.6] # make
[Root @ www rsync-2.4.6] # make install
However, you must install rsync on server A and server B, where server A runs rsync in server mode and server B runs rsync in client mode. In this way, the rsync daemon is run on web server A, and the client program is regularly run on B to back up the content to be backed up on web server.
Rsync server
1. rsync server startup
On web server A, you need to start the rsync server as A daemon. You only need to run:
This file can only be read and written by the root user. Note that for security purposes, the attribute of this file must be readable only by the owner; otherwise, rsync will refuse to run. We can set its property to 600:
[Root @ www/etc] # chmod 600/etc/wwwuser. pas
3. Start ?? Br/>
(On the server side, we need to start the rsync service: service xinetd restart)
After the file is configured, you need to start the rsyncd service on the master server:
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.