1.1. Rsync
1.1.1. Linux服务端
Ø 下载并安装
cd /home/software
wget https://download.samba.org/pub/rsync/src/rsync-3.1.2.tar.gz
tar -zxvf rsync-3.1.2.tar.gz
cd rsync-3.1.2
./configure --prefix=/usr/local/rsync
make
make install
Ø 配置rsync-server(rsyncd.conf、rsyncd.motd、rsyncd.pid)
# 配置rsyncd.conf服务启动配置
touch /usr/local/rsync/rsyncd.conf
vim /usr/local/rsyncd.conf
### 全局参数 ###
port=873
motd file=/usr/local/rsync/rsyncd.motd
log file=/usr/log/rsyncd.lo