With each node having the bricks already configured, we can finally install GlusterFS. The installation is relatively straightforward and requires just a couple of commands.
Installing GlusterFS on the nodes
Installing the packages
We'll be using the packages provided by CentOS. To install GlusterFS, we first install the repository as follows:
yum install -y centos-release-gluster41
Then, we install the glusterfs-server package:
yum install -y glusterfs-server
We then make sure the glusterd service is enabled and started:

These commands need to be run on each of the nodes that will be part of the cluster; this is because each node requires the packages and services to be enabled.