2015-05-19 12:11:52 +05:30
### Installing Gluster
For RPM based distributions, if you will be using InfiniBand, add the
2017-07-27 14:26:48 +05:30
glusterfs RDMA package to the installations. For RPM based systems, yum/dnf
2015-05-19 12:11:52 +05:30
is used as the install method in order to satisfy external depencies
such as compat-readline5
2016-09-28 14:02:13 -04:00
###### Community Packages
Packages are provided according to this [table ](./Community_Packages.md ).
2015-05-19 12:11:52 +05:30
###### For Debian
2016-07-26 15:37:37 -07:00
Add the GPG key to apt:
2015-05-19 12:11:52 +05:30
2016-07-26 15:37:37 -07:00
wget -O - http://download.gluster.org/pub/gluster/glusterfs/LATEST/rsa.pub | apt-key add -
2015-05-19 12:11:52 +05:30
2017-11-30 12:18:45 +05:30
If the rsa.pub is not available at the above location, please look here https://download.gluster.org/pub/gluster/glusterfs/3.12/rsa.pub and add the GPG key to apt:
wget -O - https://download.gluster.org/pub/gluster/glusterfs/3.12/rsa.pub | apt-key add -
2016-07-26 15:37:37 -07:00
Add the source:
2015-05-19 12:11:52 +05:30
2016-08-13 02:32:26 +02:00
DEBID=$(grep 'VERSION_ID=' /etc/os-release | cut -d '=' -f 2 | tr -d '"')
DEBVER=$(grep 'VERSION=' /etc/os-release | grep -Eo '[a-z]+')
2018-02-16 09:11:33 +01:00
DEBARCH=$(dpkg --print-architecture)
echo deb https://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/${DEBID}/${DEBARCH}/apt ${DEBVER} main > /etc/apt/sources.list.d/gluster.list
2016-07-26 15:37:37 -07:00
Update package list:
apt-get update
Install:
apt-get install glusterfs-server
2015-05-19 12:11:52 +05:30
###### For Ubuntu
2018-03-12 16:56:32 +01:00
Install software-properties-common:
2015-06-10 12:13:52 +05:30
sudo apt-get install software-properties-common
2015-05-19 12:11:52 +05:30
Then add the community GlusterFS PPA:
2016-07-26 15:37:37 -07:00
sudo add-apt-repository ppa:gluster/glusterfs-3.8
2015-05-19 12:11:52 +05:30
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
2016-07-16 12:30:26 +05:30
RPMs for CentOS and other RHEL clones are available from the
CentOS Storage SIG mirrors.
2015-05-19 12:11:52 +05:30
2016-07-16 12:30:26 +05:30
For more installation details refer [Gluster Quick start guide ](https://wiki.centos.org/SpecialInterestGroup/Storage/gluster-Quickstart ) from CentOS Storage SIG.
2015-05-19 12:11:52 +05:30
###### For Fedora
2016-07-26 15:37:37 -07:00
Install the Gluster packages:
2015-05-19 12:11:52 +05:30
2017-07-27 14:26:48 +05:30
dnf install glusterfs-server
2015-05-19 12:11:52 +05:30
Once you are finished installing, you can move on to [configuration ](./Configure.md ) section.
2016-07-26 15:37:37 -07:00
###### For Arch Linux
Install the Gluster package:
pacman -S glusterfs