One-Click Resilio Sync Installation Script for CentOS

resilio synccentos installationfile synchronizationone-click scriptbitTorrent protocol
Published·Modified·

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
![Setting username and password](https://cdn.xiaoz.me/wp-content/uploads/2017/03/snipaste_20170627_144117.png)

![Installation successful prompt](https://cdn.xiaoz.me/wp-content/uploads/2017/03/2017-03-27_194613.jpg)

## 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.

![Login interface](https://cdn.xiaoz.me/wp-content/uploads/2017/03/2017-03-27_194836.jpg)

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

![Initialization interface](https://cdn.xiaoz.me/wp-content/uploads/2017/03/2017-03-27_195416.jpg)

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

![Setting language to Chinese](https://cdn.xiaoz.me/wp-content/uploads/2017/03/2017-03-27_195533.jpg)

![Chinese interface view 1](https://cdn.xiaoz.me/wp-content/uploads/2017/03/2017-03-27_195603.jpg)

![Chinese interface view 2](https://cdn.xiaoz.me/wp-content/uploads/2017/03/2017-03-27_195655.jpg)

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