blob: d256376d4e1c89ce6809a19a63a648dd7cba096b (
plain)
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
|
Installation
============
Install glusterfs:
.. code-block:: console
$ yum install glusterfs-api
Install libgfapi-python from source:
.. code-block:: console
$ git clone https://review.gluster.org/libgfapi-python
$ cd libgfapi-python
$ sudo python setup.py install
Mount GlusterFS volume as non-root user
---------------------------------------
One can follow the following steps to allow a non-root user to virtual mount
a GlusterFS volume over libgfapi. This requires a configuration change which
enables GlusterFS server to accept client connections from non-priveledged
ports.
.. code-block:: console
# gluster volume set <volname> server.allow-insecure on
# gluster volume stop <volname>
# gluster volume start <volname>
Edit `/etc/glusterfs/glusterd.vol` or `/usr/local/etc/glusterfs/glusterd.vol`
and set:
.. code-block:: aconf
option rpc-auth-allow-insecure on
Restart glusterd service:
.. code-block:: console
# service glusterd restart
Further, use `chown` and/or `chmod` commands to change permissions on mount
point or required directories to allow non-root access to appropriate users.
|