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.
- 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.
- 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 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
- Install the kernel headers required for DKMS installation.
- Required Packages:
- GCC version 4.8
- Kernel Headers
- To Install:
- sudo apt-get install gcc-4.8
- sudo apt-get install linux-headers-$(uname -r)
- Install SPX and the snapshot driver using DKMS:
- sudo apt-get 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 the Kernel Module
- sudo apt-get install kmod-stcvsm-dkms
- To verify that the latest version of SPX installed, run:
- dpkg-query --show spx*
- Add the current user to the SPX management group:
- sudo /usr/bin/gpasswd -a $USER spx
- Verify the service is running:
- sudo systemctl status spx
- To Enable SPX Remote Management:
- 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.
- sudo /opt/StorageCraft/spx/bin/spx_cli remote --enable
- See Remote Monitor for additional information.
The 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 kmod-stcvsm-dkms