-
Notifications
You must be signed in to change notification settings - Fork 32
/
INSTALL
56 lines (36 loc) · 1.53 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Installation Instructions:
-------------------------
Install from Source:
-------------------
# git clone https://github.com/gluster/gluster-block.git
# cd gluster-block/
# dnf install gcc autoconf automake make file libtool libuuid-devel json-c-devel \
glusterfs-api-devel glusterfs-server targetcli tcmu-runner
On Fedora27 and Centos7 [Which use legacy glibc RPC], pass '--enable-tirpc=no'
# ./autogen.sh && ./configure --enable-tirpc=no && make -j install
On Fedora28 and higher [Which use TIRPC], in addition to above, we should also install
# dnf install rpcgen libtirpc-devel
And pass '--enable-tirpc=yes'(default) flag or nothing at configure time
# ./autogen.sh && ./configure && make -j install
Installation completed :-)
Check,
# gluster-block version
# gluster-block help
Make sure your version is the latest from the release, and the one you just installed.
Note: targetcli (>= 2.1.fb49) and tcmu-runner are runtime dependencies for gluster-block.
So, make sure you have them installed before starting gluster-blockd.
Download from repo:
-------------------
Fedora:
------
Get the gluster-block repo URL from https://copr.fedorainfracloud.org/coprs/pkalever/gluster-block/
URL look similar to:
https://copr.fedorainfracloud.org/coprs/pkalever/gluster-block/repo/fedora-25/pkalever-gluster-block-fedora-25.repo
$ dnf config-manager --add-repo $URL
$ dnf install gluster-block
Installation completed :-)
Check,
$ gluster-block version
$ gluster-block help
As of now gluster-block is supported on fedora >= 25.
Cheers!