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
sync.conf
Before installing, retrieve agent's config file from Management Console, name it sync.conf and manually put in to /etc/resilio-agent folderInstall 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.
sudo systemctl enable resilio-agentOther optons to manage the service are
systemctl start/stop/disable/status
Installing via Resilio repository
Run the following command to register Resilio repository. Mind the -3.7
index in the link. If necessary, replace it with the major version number that you want to install, e.g. -3.0, -2.12, -3.6. etc.:
echo "deb http://linux-packages.resilio.com/resilio-agent-3.7/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 updateTo enable automatic startup of Resilio Agent service
sudo apt-get install resilio-agent
sudo systemctl enable resilio-agentOther optons to manage the service are
systemctl start/stop/disable/status
sync.conf
Before installing, retrieve agent's config file from Management Console, name it sync.conf and manually put in to /etc/resilio-agent folderInstall 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.
sudo systemctl enable resilio-agentOther optons to manage the service are
systemctl start/stop/disable/status
Installing via Resilio repository
Run following command to register Resilio repository. Mind the -3.7
index in the link. If necessary, replace it with the major version number that you want to install, e.g. -3.6, -3.0, -2.12, etc.:
printf "[resilio-agent-3.7]\nname=Resilio Agent\nbaseurl=http://linux-packages.resilio.com/resilio-agent-3.7/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
To enable automatic startup of Resilio Agent service
sudo systemctl enable resilio-agentOther optons to manage the service are
systemctl start/stop/disable/status