Installing the R1Soft Linux Agent on CentOS

The first step required for installing the agent is to configure the YUM repository. Modify the repository as follows:

# nano /etc/yum.repos.d/r1soft.repo

Add…

[r1soft]
name=R1soft Repository Server
baseurl=http://repo.r1soft.com/yum/stable/$basearch/
enabled=1
gpgcheck=0

Save the files and then run ‘yum install serverbackup-agent’:

# yum install serverbackup-agent

Next, restart the agent:

# /etc/init.d/cdp-agent restart
/etc/init.d/cdp-agent restart: cdp not running, trying to start
/etc/init.d/cdp-agent restart: cdp started

Next, we need to get the Server Backup Manager Server key from the Manager server:
NOTE: If the server manager is running on a different port than port 80, you will need to include the port in the URL. This server manager is on http port 26080. You can replace the port with port 80 if needed:

# serverbackup-setup --get-key http://192.168.1.103:26080
Key '192.168.1.103' successfully installed

If you get a connection errr - check your firewall:
# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2017-02-28 17:56:33 CST; 3 days ago
     Docs: man:firewalld(1)
 Main PID: 665 (firewalld)
   CGroup: /system.slice/firewalld.service
           └─665 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Add the port on the linux agent server to allow connection from the R1Soft server manager:

# firewall-cmd --permanent --zone=public --add-port=1167/tcp --permanent
success

Reload the firewall:

# firewall-cmd --reload
success

You can now safely add this target server to the Manager Server (See Installing R1Soft Linux Manager Server on CentOS)