mirror of https://github.com/helloxz/shell.git
xiaoz
7 years ago
1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@
@@ -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 |
Loading…
Reference in new issue