Document directory
- Fuse installation:
- Glusterfs installation:
I. System Requirements
Before installing glusterfs, make sure that your system meets the following minimum requirements:
1. Storage Server
Glusterfs supports most commercial x86-64bit hardware platforms. The storage can be attached directly to raid disks. the SATA, SAS, and FC disks are used as backend FC, InfiniBand, and iSCSI San disks.
Memory: at least 1 GB
2. The network requires that gluster support the following networks:
- Gigabit Ethernet
- 10 Gigabit Ethernet
- InfiniBand (optical fiber)
- Ofed1.5.2 or later
3. Supported OS architecture Modes
- RHEL and centos => 5.1 x86_64 client and server
- Ubuntu clients and servers> 8.04 x86_64
- Client and server of Fedora => 11 x86_64
4. File System Requirements
Glusterfs supports many POSIX-compatible systems, such as GNU/Linux, FreeBSD, opensolaris, Solaris, and Mac OS X. We recommend that you use ext3, ext4, or ZFS as the format of the subsystem disk. Gluster provides embedded support for GNU/Linux, Mac OS X, FreeBSD, and opensolaris.
Ii. Installation
Install from source code
3.1 install necessary support software packages
- Flex
- Bison
- Fuse
- Glusterfs
Download the latest version (http://www.gluster.org/download)
Fuse installation:
Wget drawing zxvf fuse-2.7.4glfs11.tar.gz $ CD fuse-2.7.4glfs11 $. /configure -- enable-dependency-tracking -- enable-lib -- enable-util -- enable-kernel-module -- prefix =/usr $ make install $ echo 'export pkg_config_path =/usr /local/lib/pkgconfig: $ pkg_config_path '>/etc/profile $ source/etc/profile $ modprobe Fuse
$ Lsmod | grep fuse # installation of the Test Module
$ Ls/dev/fuse # This directory should be available after installation is successful
Glusterfs installation:
$ Wget drawing-zxvf glusterfs-2.0.1.tar.gz $ CD glusterfs-2.0.1 $ wget drawing zxvf glusterfs-3.0.2.tar.gz $ CD glusterfs-3.0.2 # Note: gluster3 does not support unify $. /configure -- prefix =/usr/local/glusterfs $ make install
If no error is reported, the installation is complete, and ldconfig is executed, then glusterfs -- version is executed.