Install SPX on Ubuntu 14.04 LTS

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

  1. Install and configure our repo on the system. This only needs to be done once. Just run an update on SPX after defining the repo.
  2. Open a terminal and type the following:
  3. wget https://downloads.storagecraft.com/spx/Ubuntu14.04/storagecraft-repo-latest.deb -O storagecraft-repo-latest.deb
  4. sudo dpkg -i storagecraft-repo-latest.deb
  5. sudo apt-get update
  6. Note: The above command installs a copy of the 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
  7. Install the kernel headers required for DKMS installation.
  8. Required Packages:
  9. To Install:
  10. sudo apt-get install gcc-4.8
  11. sudo apt-get install linux-headers-$(uname -r)
  12. Install SPX and the snapshot driver using DKMS:
  13. sudo apt-get install spx kmod-stcvsm-dkms
  14. 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.
  15. To install only the Kernel Module
  16. sudo apt-get install kmod-stcvsm-dkms
  17. To verify that the latest version of SPX installed, run:
  18. dpkg-query --show spx*
  19. Add the current user to the SPX management group:
  20. sudo /usr/bin/gpasswd -a $USER spx
  21. Verify the service is running:
  22. sudo systemctl status spx
  23. To Enable SPX Remote Management:
  24. Note: As of SPX 7.5, there is no GUI support for Ubuntu 14.04. The following step is required to license and configure SPX without the GUI.
  25. sudo /opt/StorageCraft/spx/bin/spx_cli remote --enable
  26. See Remote Monitor for additional information.

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