平时写的各种linux shell脚本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
347 B

#!/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