Installing Resilio Sync (rslSync) on the Raspberry Pi: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
(Created page with "If you would like to manually install Resilio Sync then have a look at the page Manually Installing Resilio Sync (rslSync) on the Raspberry Pi I have based my install fro...") |
(→Notes) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
<pre> | <pre> | ||
echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list | echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list | ||
wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add - | |||
</pre> | </pre> | ||
= Install Resilio = | = Install Resilio = | ||
Line 41: | Line 41: | ||
<pre> | <pre> | ||
/etc/resilio-sync/config.json | /etc/resilio-sync/config.json | ||
</pre> | |||
<pre> | |||
{ | |||
"device_name": "My : rPi", | |||
"listening_port" : 25327, | |||
"use_upnp" : false, | |||
"storage_path" : "/var/lib/resilio-sync/", | |||
"pid_file" : "/var/run/resilio-sync/sync.pid", | |||
"webui" : | |||
{ | |||
"force_https": false, | |||
"listen" : "0.0.0.0:8888", | |||
"login" : "admin", | |||
"password_hash" : "mUs!eLsOwpL{MutdYdIh|eRb" | |||
} | |||
} | |||
</pre> | </pre> | ||
Line 48: | Line 68: | ||
</pre> | </pre> | ||
User Account | |||
<pre> | |||
rslsync | |||
</pre> | |||
Using an existing database and folders I had to assign the user and group '''rslsync''' to the files and folders for resilio-sync to be able to access the storage. | |||
[[Category : Raspberry Pi]] [[Category : Resilio]] | [[Category : Raspberry Pi]] [[Category : Resilio]] |
Latest revision as of 11:08, 4 April 2021
If you would like to manually install Resilio Sync then have a look at the page Manually Installing Resilio Sync (rslSync) on the Raspberry Pi
I have based my install from Raspbian Lite
OS Updates
Ensure OS has all the latest updates.
apt-get update apt-get -y upgrade apt-get -y dist-upgrade apt-get -y autoclean apt-get -y autoremove sudo apt-get -y install rpi-update sudo rpi-update
apt source
echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add -
Install Resilio
sudo apt-get install resilio-sync
Stopping/starting Service
systemctl stop resilio-sync systemctl start resilio-sync systemctl restart resilio-sync systemctl status resilio-sync
Notes
Config File
/etc/resilio-sync/config.json
{ "device_name": "My : rPi", "listening_port" : 25327, "use_upnp" : false, "storage_path" : "/var/lib/resilio-sync/", "pid_file" : "/var/run/resilio-sync/sync.pid", "webui" : { "force_https": false, "listen" : "0.0.0.0:8888", "login" : "admin", "password_hash" : "mUs!eLsOwpL{MutdYdIh|eRb" } }
Storage
/var/lib/resilio-sync/
User Account
rslsync
Using an existing database and folders I had to assign the user and group rslsync to the files and folders for resilio-sync to be able to access the storage.