Installing PC/Server Backup CentOS

Installation procedure

To add the Acronis Backup modules to Linux kernel, setup program needs the following Linux packages:

  • Package for building kernel modules. Package version must match kernel version.
  • GNU Compiler Collection (GCC) compiler system. GCC version must be the one with which the kernel was compiled.
  • Make tool.

Are the required packages already installed?

  1. Run the following command to find out the kernel version and the required GCC version:
    cat /proc/version
  2. Run the following command to check whether the Make tool and the GCC compiler are installed:
    make -v

    gcc –v
    Compare the version of gcc with information from cat /proc/version command
  3. Check whether the appropriate version of the packages for building kernel modules is installed:
    In Red Hat Enterprise Linux, CentOS, and Fedora, run the following command:
    yum list installed | grep kernel-devel

    In Ubuntu, run the following commands:
    dpkg --get-selections | grep linux-headers

    dpkg --get-selections | grep linux-image
    In either case, ensure that the package versions are the same as in Linux version in step 1.

 

The following table lists how to install the required packages in various Linux distributions.

Linux distribution

Package names

How to install

Red Hat Enterprise Linux

kernel-devel

gcc

make

The setup program will download and install the packages automatically by using your Red Hat subscription.

CentOS

kernel-devel

gcc

make

The setup program will download and install the packages automatically.

Fedora

kernel-devel

gcc

make

Run the following commands as the root user (specify the required GCC version in the GCC package name):

yum install kernel- devel-` uname -r`

yum install gcc-4.5.1

yum install make

Ubuntu

linux -headers 

linux -image 

gcc

make

Run the following commands (specify the required GCC version in the GCC package name):

sudo apt-get update 

sudo apt-get installlinux -headers-`uname -r` 

sudo apt-get installlinux -image-`uname -r` 

sudo apt-get install gcc-4.6 

sudo apt-get install make

 

Linux Agent installation prerequisites

Make sure that the RPM Package Manager (RPM) is installed in your system. Before installing the product on a Linux distribution that does not use RPM, such as Ubuntu, you need to install RPM manually; for example, by running the following command:

  • sudo yum install rpm (Red Hat based distributions)
  • sudo apt-get install rpm (Debian based distributions)

Installation procedure

Show example installation on CentOS 7

  1. Log in as the root user.
  2. Download and launch the installation package. Package is downloaded as a binary file. To launch .bin file make it executable:
    - open Terminal;
    - navigate to the folder where installation package is saved;
    - chmod +x Backup_Agent_for_Linux_x86_64.bin or chmod 755 filename.bin (to make this file executable)
    - ./Backup_Agent_for_Linux_x86_64.bin (to run the file)
  3. Accept the terms of the license agreement.
  4. Specify Backup Account credentials.
  5. Now when you have the Agent installed, the computer is available in Backup Management Console and you can back up your data:


pic6

Should you experience an error whilst manually registering the agent:

As your password contains special characters, you may encounter or receive a similar error while providing correct credentials:

Register",
"module" : 0,
"suberror" : null,
"text" : "Getting refresh token failed: {\"error\":\"access_denied\",\"error_description\":\"Failed to authorize\"}"
},
"reason" : "internalError",
"serCode" : "0x00000191"


Solution:

[email protected] RegisterAgentTool]# ./RegisterAgentBin -o register -t cloud -a https://cloud.acronis.com -u <username> -p <encoded password> --base64
Success.
200
null

Done!

 

  • backup, CentOS, Linux
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installing PC/Server Backup On Mac

A step-by-step guide to install and set up online backups for MacBook By default, Acronis Agent...

Installing PC/Server Cloud Backup On Ubuntu Or Debian Based Distros

Please follow these steps to install Acronis Agent for Linux on Ubuntu 16.04 LTS. 1. You can...

Installing PC/Server Cloud Backup Windows

Downloading the Required Acronis Backup Agent from the Acronis Management Console 1. Log in to...