Install and run GlusterFS v1.3 in 1 minute
From GlusterDocumentation
[edit]
Before you begin, "fuse" must be running
'FUSE' must be running on your server. Check with system-config-services or ntsysv.
[edit]
Manual Installation - 2 minutes
- As root on your Fedora box, run "yum install glusterfs-server.x86_64"
- Run "yum install glusterfs-client.x86_64"
- Create /tmp/export (or change the paramter in /etc/glusterfs/glusterfs-server.vol)
- Create /mnt/glusterfs (or change the parameter in /etc/glusterfs/glusterfs-client.vol)
- Edit and set the ip address of your server on line 28 of /etc/glusterfs/glusterfs-client.vol.
- Run "glusterfsd -f /etc/glusterfs/glusterfs-server.vol"
- Run "glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs"
[edit]
Lazy Man's Installation - 1 minute
Run this first script which installs glusterFS using YUM.
#!/bin/bash # Install server and create default directory yum install -y glusterfs-server.x86_64 mkdir /tmp/export # Install client and create default directory yum install -y glusterfs-client.x86_64 mkdir /mnt/glusterfs
Edit and set the ip address on line 28 of /etc/glusterfs/glusterfs-client.vol.
The line looks something like this, ip-address should be the address of the server
you are installing on:
option remote-host ip-address
Run this second script which starts glusterFS.
#!/bin/bash glusterfsd -f /etc/glusterfs/glusterfs-server.vol glusterfs -f /etc/glusterfs/glusterfs-client.vol /mnt/glusterfs


