Downloads and Installation

Petros Koutoupis edited this page Dec 8, 2016 · 4 revisions

Clone the latest (and stable) source tree from the github repository:

$ git clone https://github.com/pkoutoupis/rapiddisk

If you already have an older copy of the source code previously cloned from the git repository, you can simply update it with the git pull command. You can also download the latest tarball release from the RapidDisk Sourceforge page.

Change into the directory and run the Makefile to build the management utility and kernel module:

$ cd rapiddisk
$ make

To build RapidDisk without encryption support:

$ make nocrypt

NOTE – To build the rapiddisk management utility, you will need to have the zlib, libcryptsetup and libjansson development library files installed on your host system.

NOTE – To build the kernel module, you are required to having either the full kernel source or the kernel headers installed for your current kernel revision.

And install the management utility, kernel module, and man page (management utility is installed in /sbin): $ sudo make install

Installing modules with DKMS

To build and install: $ sudo make dkms

Installing / uninstalling the administration utilities

Install: $ sudo make tools-install

Uninstall: $ sudo make tools-uninstall

Installing from Prebuilt Packages

Red Hat Enterprise Linux / CentOS

If running Red Hat / CentOS 6.x you can install the prebuilt RPM with the following commands which includes adding a new YUM repository for RapidDisk, DKMS and newer PHP RPMs.

# echo -ne "[rapiddiskrepo]\nname=RapidDisk Repository\nbaseurl=http://downloads.rapiddisk.org/pub/releases/5/el6\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/rapiddisk.repo
# /usr/bin/yum clean dbcache
# yum install rapiddisk

If running Red Hat / CentOS 7.x you can install the prebuilt RPM with the following commands which includes adding a new YUM repository for RapidDisk and DKMS.

# echo -ne "[rapiddiskrepo]\nname=RapidDisk Repository\nbaseurl=http://downloads.rapiddisk.org/pub/releases/5/el7\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/rapiddisk.repo
# /usr/bin/yum clean dbcache && /usr/bin/yum clean metadata
# /usr/bin/yum install rapiddisk

Ubuntu Server LTS

If running Ubuntu LTS 14.04 you can install the prebuilt DEB with the following commands which includes adding a new APT repository.

# echo -ne "deb [arch=amd64] http://downloads.rapiddisk.org/pub/releases/5/ubuntu1404/ stable main" >> /etc/apt/sources.list
# /usr/bin/aptitude update
# /usr/bin/aptitude install rapiddisk

If running Ubuntu LTS 16.04 you can install the prebuilt DEB with the following commands which includes adding a new APT repository.

# echo -ne "deb [arch=amd64 trusted=yes] http://downloads.rapiddisk.org/pub/releases/5/ubuntu1604/ stable main" >> /etc/apt/sources.list
# /usr/bin/aptitude update
# /usr/bin/aptitude install rapiddisk

openSUSE

If running openSUSE Leap 42.1 you can install the prebuilt RPM with the following commands which includes adding a new ZYpp repository for RapidDisk and DKMS.

# /usr/bin/zypper ar -G http://downloads.rapiddisk.org/pub/releases/5/opensuse42/ rapiddisk
# /usr/bin/zypper refresh
# /usr/bin/zypper install rapiddisk