From e2370b93a2dc53d1877a5d063d0811d9301d317b Mon Sep 17 00:00:00 2001 From: xiaoz Date: Sun, 25 Mar 2018 16:09:18 +0800 Subject: [PATCH] rsync --- rsync.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 rsync.sh diff --git a/rsync.sh b/rsync.sh new file mode 100644 index 0000000..a952003 --- /dev/null +++ b/rsync.sh @@ -0,0 +1,19 @@ +#!/bin/bash +##### 一键安装Rsync ##### +##### Update:2018-03-25 ##### +##### Author:xiaoz.me ##### + +yum -y install wget +#卸载原有rsync +yum -y remove rsync + +wget http://soft.xiaoz.org/linux/rsync-3.1.3.tar.gz +tar -zxvf rsync-3.1.3.tar.gz +cd rsync-* + +#安装 +./configure && make install + +echo '安装完成,信息如下:' + +rsync -v \ No newline at end of file