One-Click Resilio Sync Installation Script for CentOS
Resilio Sync is a dedicated file sharing system based on the BitTorrent protocol. Previously known as BitTorrent Sync, a manual installation method was introduced in the article CentOS Install BitTorrent Sync to Build Your Own Sync Tool. To simplify the process, xiaoz has created a one-click installation script.
Note: Resilio Sync has been blocked by the GFW and cannot be used normally in China. Servers located in China also cannot use this script for installation. 2018-03-29
Start Installation
Execute the following commands and set the Resilio Sync username and password 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
```\n


## Access Test and Set Chinese Language
If everything goes smoothly, accessing `http://IP:8888` for the first time will prompt you to enter the username and password you just set.

After successful login, you will enter the initialization interface. Enter any name you like, check the agreement, and enter the Resilio Sync backend.

Go to the top right corner - Settings - Preferences..., select Chinese, and save. This will switch the interface to Chinese.



## Related Commands
For easier management, after installation, please run the command `source ~/.bashrc` to make aliases effective. You can then use the `mysync` command for management. The `mysync` commands are as follows:
```bash
# Resilio Sync installation directory
/home/RslSync
# Configuration file
/home/RslSync/sync.conf
# Check Resilio Sync status
mysync status
# Stop
mysync stop
# Start
mysync start
Summary
Resilio Sync supports multiple operating systems, including iOS and Android. It is an excellent solution for synchronizing data or sharing between different PCs. Similar tools include: Syncthing Sync Tool.
Resilio Sync Official Website: https://www.resilio.com/