Installing PC/Server backup CentOS

Prerequisites #

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.

Check if the required packages 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 the 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.


Install the required packages #

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:
    1. open terminal
    2. navigate to the folder where installation package is saved
    3. chmod +x Backup_Agent_for_Linux_x86_64.bin or chmod 755 filename.bin (to make this file executable)
    4. ./Backup_Agent_for_Linux_x86_64.bin (to run the file)
  3. Accept the terms of 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:

Powered by BetterDocs