GlusterFS is already available in Ubuntu's default apt repository, which you can easily install using apt though it's not necessarily the latest version. To install the latest version of GlusterFS via apt you'll need to install from gluster's PPA.
GlusterFS can be installed and configured on both Ubuntu and Debian using apt from the terminal.
$ wget -O - --quiet https://launchpad.net/ubuntu/+ppas\?name_filter\=glusterfs | grep "~gluster.*ubuntu/glusterfs" <td><a href="/~gluster/+archive/ubuntu/glusterfs-3.12">glusterfs 3.12</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-4.1">glusterfs-4.1</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-6">glusterfs-6</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-8">glusterfs-8</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-3.10">glusterfs-3.10</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-3.13">glusterfs-3.13</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-4.0">glusterfs-4.0</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-5">glusterfs-5</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-7">glusterfs-7</a></td> <td><a href="/~gluster/+archive/ubuntu/glusterfs-9">glusterfs-9</a></td>
Related: PPA: GlusterFS
$ sudo add-apt-repository ppa:gluster/glusterfs-9 [sudo] password for user: Repository: 'deb http://ppa.launchpad.net/gluster/glusterfs-9/ubuntu/ hirsute main' Description: GlusterFS 9 More info: https://launchpad.net/~gluster/+archive/ubuntu/glusterfs-9 Adding repository. Press [ENTER] to continue or Ctrl-c to cancel. Adding deb entry to /etc/apt/sources.list.d/gluster-ubuntu-glusterfs-9-hirsute.list Adding disabled deb-src entry to /etc/apt/sources.list.d/gluster-ubuntu-glusterfs-9-hirsute.list Adding key to /etc/apt/trusted.gpg.d/gluster-ubuntu-glusterfs-9.gpg with fingerprint F7C73FCC930AC9F83B387A5613E01B7B3FE869A9 ##### snipped
$ sudo apt update Hit:1 http://ppa.launchpad.net/gluster/glusterfs-9/ubuntu hirsute InRelease Hit:2 http://archive.ubuntu.com/ubuntu hirsute InRelease Get:3 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB] Get:4 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB] Hit:5 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease Fetched 209 kB in 1s (147 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date.
$ sudo apt install --assume-yes glusterfs-server Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: attr fuse3 glusterfs-client glusterfs-common keyutils libaio1 libfuse3-3 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglusterd0 libglusterfs0 libnfsidmap2 liburcu6 liburing1 nfs-common python3-prettytable rpcbind xfsprogs Suggested packages: open-iscsi watchdog xfsdump quota The following packages will be REMOVED: fuse The following NEW packages will be installed: attr fuse3 glusterfs-client glusterfs-common glusterfs-server keyutils libaio1 libfuse3-3 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglusterd0 libglusterfs0 libnfsidmap2 liburcu6 liburing1 nfs-common python3-prettytable rpcbind xfsprogs 0 upgraded, 21 newly installed, 1 to remove and 3 not upgraded. Need to get 4,752 kB of archives. After this operation, 22.1 MB of additional disk space will be used. ##### snipped
$ sudo ufw allow 5667 Rules updated Rules updated (v6)
$ sudo systemctl enable glusterd Created symlink /etc/systemd/system/multi-user.target.wants/glusterd.service → /lib/systemd/system/glusterd.service.
$ sudo systemctl start glusterd
Comment anonymously. Login not required.