2015-05-19 12:11:52 +05:30
|
|
|
|
### 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
|
|
|
|
|
|
is used as the install method in order to satisfy external depencies
|
|
|
|
|
|
such as compat-readline5
|
|
|
|
|
|
|
|
|
|
|
|
###### For Debian
|
|
|
|
|
|
|
|
|
|
|
|
Download the packages
|
|
|
|
|
|
|
|
|
|
|
|
wget -nd -nc -r -A.deb http://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/wheezy/
|
|
|
|
|
|
|
|
|
|
|
|
(Note from reader: The above does not work. Check
|
|
|
|
|
|
<http://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/> for
|
|
|
|
|
|
3.5 version or use http://packages.debian.org/wheezy/glusterfs-server
|
|
|
|
|
|
|
|
|
|
|
|
Install the Gluster packages (do this on both servers)
|
|
|
|
|
|
|
|
|
|
|
|
dpkg -i glusterfs_3.5.2-4_amd64.deb
|
|
|
|
|
|
|
|
|
|
|
|
###### For Ubuntu
|
|
|
|
|
|
|
2015-06-10 12:13:52 +05:30
|
|
|
|
Ubuntu 10 and 12: install python-software-properties:
|
2015-05-19 12:11:52 +05:30
|
|
|
|
|
2015-06-10 12:13:52 +05:30
|
|
|
|
sudo apt-get install python-software-properties
|
|
|
|
|
|
|
|
|
|
|
|
Ubuntu 14: install software-properties-common:
|
|
|
|
|
|
|
|
|
|
|
|
sudo apt-get install software-properties-common
|
2015-05-19 12:11:52 +05:30
|
|
|
|
|
|
|
|
|
|
Then add the community GlusterFS PPA:
|
|
|
|
|
|
|
|
|
|
|
|
sudo add-apt-repository ppa:gluster/glusterfs-3.5
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
Download the packages (modify URL for your specific release and
|
|
|
|
|
|
architecture).
|
|
|
|
|
|
|
|
|
|
|
|
wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/glusterfs-epel.repo
|
|
|
|
|
|
|
|
|
|
|
|
Install the Gluster packages (do this on both servers)
|
|
|
|
|
|
|
|
|
|
|
|
yum install glusterfs-server
|
|
|
|
|
|
|
|
|
|
|
|
###### For Fedora
|
|
|
|
|
|
|
|
|
|
|
|
Install the Gluster packages (do this on both servers)
|
|
|
|
|
|
|
|
|
|
|
|
yum install glusterfs-server
|
|
|
|
|
|
|
|
|
|
|
|
Once you are finished installing, you can move on to [configuration](./Configure.md) section.
|