One-Click Installation Script for Resilio Sync on CentOS

Publish: 2017-03-27 | Modify: 2018-03-29

Resilio Sync is a dedicated file sharing system that relies on the BitTorrent protocol. Originally known as BitTorrent Sync, it was introduced in the article "CentOS Installation of BitTorrent Sync to Build Your Own Sync Tool" which described the manual installation method. To simplify the process, xiaoz wrote a one-click script.

Note: Resilio Sync has been blocked by the GFW and cannot be used normally in China. The script cannot be used to install Resilio Sync on servers in China. 2018-03-29

开始安装

Execute the following commands separately and set the username and password for RslSync according to the prompts.

# Install necessary packages
yum -y install wget unzip
# Download the script
wget https://github.com/helloxz/Resilio-Sync/archive/master.zip
# Unzip and install
unzip master.zip && cd Resilio-Sync-master && chmod +x mysync.sh sync.sh && ./sync.sh

Image 1

Image 2

Setting Username and Password

Image 3

Installation Successful

访问测试与设置中文

If everything goes well, the first visit to http://IP:8888 will require entering the account password that was just set.

Image 4

Successful login will take you to the initialization interface. Enter a random name and select the protocol to enter the RslSync backend.

Image 5

Open the upper right corner - Settings - Preferences... - select Chinese for saving, and the interface will be displayed in Chinese.

Image 6

Image 7

Image 8

相关命令

To facilitate management, after successful installation, enter the command source ~/.bashrc to enable the alias, so that you can use the mysync command for management. The mysync command is described as follows:

# Resilio installation directory
/home/RslSync
# Configuration file
/home/RslSync/sync.conf
# Check RslSync status
mysync status
# Stop
mysync stop
# Start
mysync start

总结

Resilio Sync supports various operating systems, including iOS and Android. It is a great solution for syncing data or sharing between different PCs. Similar alternatives include Syncthing sync tool.

Resilio Sync official website: https://www.resilio.com/

Comments