I have been looking for a distributed filesystem for a while and I’ve found them all pretty confusing, including GlusterFS. but finally I decided to use it and I want to create some easy to understand tutorials for those who’re looking for a setup similar to mine.
First I will help you install it on your Debian 8.x.
Let’s add the GlusterFS Debian repository and its public key:
wget -O - http://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.9/rsa.pub | apt-key add - echo deb http://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.9/Debian/jessie/apt jessie main > /etc/apt/sources.list.d/gluster.list
Now let’s update the repository list:
Then it’s the time to finally install GlusterFS. I will install both the server and the client, because we might need them both later.
apt-get install glusterfs-server glusterfs-client -y
And this is it. You now have the GlusterFS server and GlusterFS client and you can start using them. I will let you know how to do a bunch of interesting stuff with them very soon.