Resilio Connect Agent supports installing apt-get and yum package managers, or using deb or rpm packages.
sync.conf
Before installing, retrieve agent's config file from Management Console, name it sync.conf and manually put in to /etc/resilio-agent folder- On systemd init systems use
systemctl enable/start/stop/disable/ status
calls to manage the agent service. - On sysvinit, upstart systems use
service start/stop/restart/ status
calls. - Agent will create "rslagent" user and run with it. New directory "/home/rslagent/Resilio Connect Agent" will be used as default %DOWNLOADS% folder storage path macro. For other Path macros see here. On systemd init system here is also option to launch it as current user, not rslagent, see below.
- If you need to run agent under different user account, edit service configuration file:
for sysvinit:/etc/init.d/resilio-agent
for systemd:/lib/systemd/system/resilio-agent.service
and fix the user and group related variables
Install using a package
Download the .deb package from Resilio Connect download site and run the command:
sudo dpkg -i resilio-agent_<version>_<architecture>.deb
If you don't have the file /etc/resilio-agent/sync.conf
the package will prompt for Management Console IP:port for connection and Agent will need to be approved my MC administrator.
Installing via Resilio repository
Run the following command to register Resilio repository. Mind the -2.11
index in the link. If necessary, replace it with the major version number that you want to install, e.g. -2.10, -2.9:
echo "deb http://linux-packages.resilio.com/resilio-agent-2.11/deb resilio-agent non-free" | sudo tee -a /etc/apt/sources.list.d/resilio-agent.list
Add public key with the following command:
wget -qO - https://linux-packages.resilio.com/resilio-agent/key.asc | sudo apt-key add -
Update your repository and install the agent:
sudo apt-get update
sudo apt-get install resilio-agent
Install using a package
Download the .rpm package from Resilio Connect download site and run the command:
sudo rpm -Uhv resilio-agent_<version>_<architecture>.rpm
If you don't have the file /etc/resilio-agent/sync.conf
the package will prompt for Management Console IP:port for connection and Agent will need to be approved my MC administrator.
Installing via Resilio repository
Run following command to register Resilio repository. Mind the -2.11
index in the link. If necessary, replace it with the major version number that you want to install, e.g. -2.10, -2.9:
printf "[resilio-agent-2.11]\nname=Resilio Agent\nbaseurl=http://linux-packages.resilio.com/resilio-agent-2.11/rpm/\$basearch\nenabled=1\ngpgcheck=1" | sudo tee /etc/yum.repos.d/resilio-agent.repo
Add public key:
sudo rpm --import https://linux-packages.resilio.com/resilio-agent/key.asc
Install Agent:
sudo yum install resilio-agent