How to install backup agent in Linux Server

Step 1: Create a repo file

Create a repo file with file name r1soft.repo under the path /etc/yum.repos.d/. To do this successfully run the following command in the terminal

vi /etc/yum.repos.d/r1soft.repo

Now copy and paste the following content into the file that you just created.

name=R1Soft Repository Server

Then save and exit the file.

Step 2: Install the CDP agent

Now it’s time to install the CDP agent. You can install it by using the command mentioned below
yum install r1soft-cdp-enterprise-agent
When the CDP agent is installed successfully, you will receive the following message.

Dependency Installed:
  r1soft-getmodule.x86_64 0:1.0.0-50                                            
  serverbackup-agent.x86_64 0:6.2.1-56                                          
  serverbackup-async-agent-2-6.x86_64 0:6.2.1-56                                
  serverbackup-setup.x86_64 0:6.2.1-56                                          


Step 3: Install the CDP module

Run the following command to install the CDP module
r1soft-setup --get-module
If headers are missing for modules then download the kernel-devel according to the kernel version and install it. To check the kernel version using below command,
uname -a

 Step 4: Open port 1167

Since CDP will run on port 1167, you need to open the port before you can add the key CDP key to the server. To open port 1167 on your CentOS server, follow the instructions given below
on CentOS 6:
sudo iptables -I INPUT -p tcp -m tcp --dport 1167 -j ACCEPT
sudo service iptables save
On CentOS 7:
sudo firewall-cmd --zone=public --add-port=1167/tcp --permanent
sudo firewall-cmd --reload

Step 5: Add CDP server key

Finally, you have to add the CDP server key, the command given below for the same.
r1soft-setup --get-key http://IP-Address:8080/

Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 20069