|
@@ -0,0 +1,36 @@
|
|
|
|
+### 测试环境
|
|
|
|
+CentOS 6.x 7.x
|
|
|
|
+
|
|
|
|
+### 开始安装
|
|
|
|
+
|
|
|
|
+```
|
|
|
|
+#下载脚本
|
|
|
|
+wget https://soft.hixz.org/shell/sync.sh --no-check-certificate
|
|
|
|
+#添加执行权限
|
|
|
|
+chmod +x sync.sh
|
|
|
|
+#开始安装
|
|
|
|
+./sync.sh
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+### 放行端口
|
|
|
|
+```
|
|
|
|
+/sbin/iptables -I INPUT -p tcp --dport 8888 -j ACCEPT ### 放行8888端口
|
|
|
|
+/etc/init.d/iptables save ### 保存修改
|
|
|
|
+service iptables restart
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+### 其它说明
|
|
|
|
+```
|
|
|
|
+#Resilio安装目录
|
|
|
|
+/home/RslSync
|
|
|
|
+#配置文件
|
|
|
|
+/home/RslSync/sync.conf
|
|
|
|
+#查看RslSync状态
|
|
|
|
+mysync status
|
|
|
|
+#停止
|
|
|
|
+mysync stop
|
|
|
|
+#启动
|
|
|
|
+mysync start
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+> 详细说明,请参考:[CentOS一键安装Resilio Sync脚本](https://www.xiaoz.me/archives/8219)
|