首先配置GlusterFS:https://www.liujason.com/article/387.html
wget -O - https://download.gluster.org/pub/gluster/glusterfs/6/rsa.pub | apt-key add -
查看Debian版本(cat /etc/os-release),然后对应添加源并更新
echo deb [arch=amd64] https://download.gluster.org/pub/gluster/glusterfs/6/LATEST/Debian/stretch/amd64/apt stretch main > /etc/apt/sources.list.d/gluster.list apt-get update
最后升级即可
apt-get install [ glusterfs-server | glusterfs-client ]