Glusterfs Deployment Installation
Official website https://www.gluster.org/
Pre-Installation Preparation
- Install VirtualBox or VMware Workstation virtual machine software.
- Install a virtual machine with four centos-6-x86_64 (6.2-6.8 all available).
- Basic system: 1vcpu+1024m memory +10g hard disk.
- Network selection: Network address translation (NAT).
- Package selection: Basic Server.
- Close Iptables and SELinux.
Note: This installation host address is 192.168.137.13, 192.168.137.14, 192.168.137.15, 192.168.137.16, respectively
installation
1. Modify Host Name
Two changes need to be modified: one is/etc/sysconfig/network and the other is/etc/hosts, and only modifying any of them will cause system startup exceptions.
At the same time add the host name between four hosts, parsing each other.
Vi/etc/sysconfig/networknetworking=yeshostname=linux-node3
vi/etc/hosts192.168.137.13 linux-node3 linux-node3.example.com192.168.137.14 Linux-node4 linux-node4.example.com192.168.137.15 LINUX-NODE5 linux-node5.example.com192.168.137.16 Linux-node6 Linux-node6.example.com
2. Installing the Glusterfs source
Yum install–y centos-release-gluster37.noarchyum--enablerepo=centos-gluster*-test Install Glusterfs-server GLUSTERFS-CLI glusterfs-geo-replication
Or
Download all RPM Packages http://download.gluster.org/pub/gluster/glusterfs/3.7/LATEST/CentOS/epel-6.8/x86_64/
Glusterfs deployment Installation (ii)