Skip to main content

Download and Install SPX on Linux

Linux Installation Instructions

To install StorageCraft® ShadowProtect® SPX on your Linux system, please see the instructions below for your Linux version. Installation instructions are the same for a trial as they are for a new purchase.

Instructions

  1. CentOS or RHEL 7 instructions
  2. CentOS or RHEL 6 instructions
  3. Ubuntu 18.04 instructions
  4. Ubuntu 16.04 instructions
  5. Ubuntu 14.04 instructions

 

CentOS and Red Hat Enterprise Linux (64-bit)

Install SPX on CentOS or RHEL 7

Important: The EPEL repository is required to install SPX on CentOS or RHEL.

Note: SPX supports DKMS, which allows you to build the snapshot driver for the kernel you are using.

1. Install the EPEL repository. Run the command:

sudo yum install epel-release

Note: Most CentOS and RHEL Linux installs include the EPEL components. However, if needed, you may manually download and install the EPEL repositories. Go to the Fedora website, https://fedoraproject.org/wiki/EPEL, to get the EPEL package. Then run the above command.

If fprintd-pam is installed, then you may encounter a conflict with SPX. To avoid this you can uninstall fprintd-pam:

sudo yum remove fprintd-pam -y

Note: If this command displays errors, skip to the next step.

 

2. Install and configure our StorageCraft repo on the system. This only needs to be done once.

Open a terminal and type the following:

wget https://downloads.storagecraft.com/spx/CentOS7/storagecraft-repo-latest.rpm -O storagecraft-repo-latest.rpm
sudo yum install storagecraft-repo-latest.rpm -y

 

3. Install the kernel headers required for DKMS installation.

This package contains the kernel headers:

kernel-devel

To install kernel-devel, use this command to make sure you have your headers:

sudo yum install kernel-devel-$(uname -r)

If this fails (because it is locked in the vault), you need to manually download the kernel-devel package from the vault: http://archive.kernel.org/centos-vault/

 

4. Install SPX and the snapshot driver along with DKMS:

sudo yum install spx kmod-stcvsm-dkms 

Note: The above command line does a clean install of SPX. If SPX and a snapshot driver are already installed, a one-time manual DKMS installation is required.

To install only DKMS:

sudo yum install kmod-stcvsm-dkms

Important: This assumes the appropriate kernel-devel package has been installed. If it hasn't been installed, CentOS might install kernel-bug-devel, which will cause the snapshot to fail.

 

5. Verify that the latest version of SPX installed:

rpm -qi spx

 

6. Start the service: 

sudo systemctl start spx

 

7. Add the current user to the newly created SPX management group:

sudo /usr/bin/gpasswd -a $USER spx

 

8. To open the console:

  • Select Applications > System Tools > ShadowProtect SPX to open the SPX user interface from the GUI
  • To open the interface from the terminal, the command is:
    /opt/StorageCraft/spx/bin/spx_gui

 

The StorageCraft repo rpm package only needs to be installed once. After that, install subsequent builds by using:

sudo yum update spx

If you get an error message saying there's a conflict with a package, remove it:

sudo yum remove <packagename>

And then repeat the install.

Install SPX on CentOS or RHEL 6

Important: The EPEL repository is required to install SPX on CentOS or RHEL.

Note: SPX supports DKMS, which allows you to build the snapshot driver for the kernel you are using.

1. Install the EPEL repository. Run the command:

sudo yum install epel-release

Note: Most CentOS and RHEL Linux installs include the EPEL components. However, if needed, you may manually download and install the EPEL repositories. Go to the Fedora website, https://fedoraproject.org/wiki/EPEL, to get the EPEL package. Then run the above command.

If fprintd-pam is installed, then you may encounter a conflict with SPX. To avoid this you can uninstall fprintd-pam:

sudo yum remove fprintd-pam -y

Note: If this command displays errors, skip to the next step.

 

2. Install and configure our StorageCraft repo on the system. This only needs to be done once.

Open a terminal and type the following:

wget https://downloads.storagecraft.com/spx/CentOS6/storagecraft-repo-latest.rpm -O storagecraft-repo-latest.rpm
sudo yum install storagecraft-repo-latest.rpm -y

 

3. Install the kernel headers required for DKMS installation.

This package contains the kernel headers:

kernel-devel

To install kernel-devel, use this command to make sure you have your headers:

sudo yum install kernel-devel-$(uname -r)

If this fails (because it is locked in the vault), you need to manually download the kernel-devel package from the vault: http://archive.kernel.org/centos-vault/

 

4. Install SPX and the snapshot driver along with DKMS:

sudo yum install spx kmod-stcvsm-dkms 

Note: The above command line does a clean install of SPX. If SPX and a snapshot driver are already installed, a one-time manual DKMS installation is required.

To install only DKMS:

sudo yum install kmod-stcvsm-dkms

Important: This assumes the appropriate kernel-devel package has been installed. If it hasn't been installed, CentOS might install kernel-bug-devel, which will cause the snapshot to fail.

 

5. Verify that the latest version of SPX installed:

rpm -qi spx

 

6. Start the service: 

sudo start spx

 

7. Add the current user to the newly created SPX management group:

sudo /usr/bin/gpasswd -a $USER spx

 

8. To open the console:

  • Select Applications > System Tools > ShadowProtect SPX to open the SPX user interface from the GUI
  • To open the interface from the terminal, the command is:
    /opt/StorageCraft/spx/bin/spx_gui

 

The StorageCraft repo rpm package only needs to be installed once. After that, install subsequent builds by using:

sudo yum update spx

If you get an error message saying there's a conflict with a package, remove it:

sudo yum remove <packagename>

And then repeat the install.

Ubuntu (64-bit)

Install SPX on Ubuntu 18.04

Note: SPX supports DKMS, which allows you to build the snapshot driver for the kernel you are using.

1. Install and configure our StorageCraft repo on the system. This only needs to be done once. Just run an update on SPX after defining the repo.

Open a terminal and type the following:

wget https://downloads.storagecraft.com/spx/Ubuntu18.04/storagecraft-repo-latest.deb -O storagecraft-repo-latest.deb
sudo dpkg -i storagecraft-repo-latest.deb
sudo apt-get update

Note: The above command installs a copy of the StorageCraft repository public signing key to the files system and also automatically adds it to the apt keystore of your Ubuntu machine. You can find a copy of this key at http://downloads.storagecraft.com/spx/Ubuntu18.04/stc/repository.key


2. Install the kernel headers required for DKMS installation.

Required Packages:

gcc version 5
kernel headers

To install:

sudo apt install gcc-5-base
sudo apt install linux-headers-$(uname -r)

 

3. Install SPX and the snapshot driver along with DKMS:

sudo apt install spx kmod-stcvsm-dkms

Note: The above command line does a clean install of SPX. If SPX and a snapshot driver are already installed, a one-time manual DKMS installation is required.

To install only DKMS:

sudo apt install kmod-stcvsm-dkms

Important: Whenever you upgrade to a new kernel, make sure your headers are installed, and DKMS will compile a new driver for you.

 

4. To verify that the latest version of SPX installed, run:

dpkg-query --show spx*

 

5. Add the current user to the SPX management group:

sudo /usr/bin/gpasswd -a $USER spx

 

6. Verify the service is running:

sudo systemctl status spx

 

7. To open the console:

  • Use Search to locate the SPX icon
  • To open the interface from the terminal, use the command:
    /opt/StorageCraft/spx/bin/spx_gui

The StorageCraft repo deb package only needs to be installed once. After that, install subsequent builds by using:

sudo apt-get update
sudo apt-get install spx

Ubuntu (64-bit)

Install SPX on Ubuntu 16.04

Note: SPX supports DKMS, which allows you to build the snapshot driver for the kernel you are using.

1. Install and configure our StorageCraft repo on the system. This only needs to be done once. Just run an update on SPX after defining the repo.

Open a terminal and type the following:

wget https://downloads.storagecraft.com/spx/Ubuntu16.04/storagecraft-repo-latest.deb -O storagecraft-repo-latest.deb
sudo dpkg -i storagecraft-repo-latest.deb
sudo apt-get update

Note: The above command installs a copy of the StorageCraft repository public signing key to the files system and also automatically adds it to the apt keystore of your Ubuntu machine. You can find a copy of this key at http://downloads.storagecraft.com/spx/Ubuntu16.04/stc/repository.key


2. Install the kernel headers required for DKMS installation.

Required Packages:

gcc version 5
kernel headers

To install:

sudo apt install gcc-5-base
sudo apt install linux-headers-$(uname -r)

 

3. Install SPX and the snapshot driver along with DKMS:

sudo apt install spx kmod-stcvsm-dkms

Note: The above command line does a clean install of SPX. If SPX and a snapshot driver are already installed, a one-time manual DKMS installation is required.

To install only DKMS:

sudo apt install kmod-stcvsm-dkms

Important: Whenever you upgrade to a new kernel, make sure your headers are installed, and DKMS will compile a new driver for you.

 

4. To verify that the latest version of SPX installed, run:

dpkg-query --show spx*

 

5. Add the current user to the SPX management group:

sudo /usr/bin/gpasswd -a $USER spx

 

6. Verify the service is running:

sudo systemctl status spx

 

7. To open the console:

  • Use Search to locate the SPX icon
  • To open the interface from the terminal, use the command:
    /opt/StorageCraft/spx/bin/spx_gui

The StorageCraft repo deb package only needs to be installed once. After that, install subsequent builds by using:

sudo apt-get update
sudo apt-get install spx

Install SPX on Ubuntu 14.04

Note: SPX supports DKMS, which allows you to build the snapshot driver for the kernel you are using.

1. Install and configure our StorageCraft repo on the system. This only needs to be done once. Just run an update on SPX after defining the repo.

Open a terminal and type the following:

wget https://downloads.storagecraft.com/spx/Ubuntu14.04/storagecraft-repo-latest.deb -O storagecraft-repo-latest.deb
sudo dpkg -i storagecraft-repo-latest.deb
sudo apt-get update

Note: The above command installs a copy of the StorageCraft repository public signing key to the files system and also automatically adds it to the apt keystore of your Ubuntu machine. You can find a copy of this key at http://downloads.storagecraft.com/spx/Ubuntu14.04/stc/repository.key

 

2. Install the kernel headers required for DKMS installation.

Required Packages:

gcc version 4.8
kernel headers

To install:

sudo apt install gcc-4.8
sudo apt install linux-headers-$(uname -r)

 

3. Install SPX and the snapshot driver along with DKMS:

sudo apt install spx kmod-stcvsm-dkms

Note: The above command line does a clean install of SPX. If SPX and a snapshot driver are already installed, a one-time manual DKMS installation is required.

To install only DKMS:

sudo apt install kmod-stcvsm-dkms

Important: Whenever you upgrade to a new kernel, make sure your headers are installed, and DKMS will compile a new driver for you.

 

4. To verify that the latest version of SPX installed, run:

dpkg-query --show spx*

 

5. Add the current user to the SPX management group:

sudo /usr/bin/gpasswd -a $USER spx

 

6. Verify the service is running:

sudo status spx

 

7. To open the console:

  • Use Search to locate the SPX icon
  • To open the interface from the terminal, use the command:
    /opt/StorageCraft/spx/bin/spx_gui
    

 

The StorageCraft repo deb package only needs to be installed once. After that, install subsequent builds by using:

sudo apt-get update
sudo apt-get install spx