Installing Gluster

For RPM based distributions, if you will be using InfiniBand, add the glusterfs RDMA package to the installations. For RPM based systems, yum/dnf is used as the install method in order to satisfy external depencies such as compat-readline5

Community Packages

Packages are provided according to this table.

For Debian

Add the GPG key to apt:

wget -O - | apt-key add -

If the is not available at the above location, please look here and add the GPG key to apt:

wget -O - | apt-key add -

Add the source:

DEBID=$(grep 'VERSION_ID=' /etc/os-release | cut -d '=' -f 2 | tr -d '"')
DEBVER=$(grep 'VERSION=' /etc/os-release | grep -Eo '[a-z]+')
DEBARCH=$(dpkg --print-architecture)
echo deb${DEBID}/${DEBARCH}/apt ${DEBVER} main > /etc/apt/sources.list.d/gluster.list

Update package list:

apt-get update


apt-get install glusterfs-server
For Ubuntu

Install software-properties-common:

    sudo apt-get install software-properties-common

Then add the community GlusterFS PPA:

    sudo add-apt-repository ppa:gluster/glusterfs-3.8
    sudo apt-get update

Finally, install the packages:

    sudo apt-get install glusterfs-server

Note: Packages exist for Ubuntu 12.04 LTS, 12.10, 13.10, and 14.04 LTS

For Red Hat/CentOS

RPMs for CentOS and other RHEL clones are available from the CentOS Storage SIG mirrors.

For more installation details refer Gluster Quick start guide from CentOS Storage SIG.

For Fedora

Install the Gluster packages:

    dnf install glusterfs-server

Once you are finished installing, you can move on to configuration section.

For Arch Linux

Install the Gluster package:

    pacman -S glusterfs