@@ -12,11 +12,15 @@ If you know what you're doing, you should have no problem installing on any othe
12
12
1. Install the required applications: PHP 7+ (cli) with MySQL & mbstring extensions, MySQL server, Samba, rsync, GCC (etc.):
13
13
14
14
Fedora: yum -y install mysql-server php php-mysql php-mbstring php-intl samba samba-common php-pear rsync lsof
15
- Ubuntu: apt-get -y install mysql-server php-cli php-mysql php-mysqlnd php-mbstring php-intl samba samba-common samba-common-bin php-pear rsync lsof sysstat
15
+ Ubuntu: apt-get -y install mysql-server php-cli php-mysql php-mysqlnd php-mbstring php-intl samba samba-common samba-common-bin samba-vfs-modules php-pear rsync lsof sysstat
16
+
17
+ Note: you might need to install mariadb-server, if mysql-server is not available. Those two are equivalent.
18
+ Note 2: samba-vfs-modules might not be needed, but if it is available in your repo, it is required.
16
19
17
20
2. Install Greyhole (as root):
18
21
19
- Get the latest Source Install TGZ from https://github.com/gboudreau/Greyhole/releases
22
+ Download the latest "greyhole-[VERSION].tar.gz" file from https://github.com/gboudreau/Greyhole/releases
23
+ (Don't use the "Source Code" files.)
20
24
21
25
tar zxf greyhole-*.tar.gz && rm -f greyhole-*.tar.gz
22
26
cd greyhole-*
@@ -42,6 +46,7 @@ If you know what you're doing, you should have no problem installing on any othe
42
46
install -m 0755 -D -p scripts-examples/greyhole_notify_error.sh /usr/share/greyhole/scripts-examples
43
47
install -m 0755 -D -p scripts-examples/greyhole_send_fsck_report.sh /usr/share/greyhole/scripts-examples
44
48
install -m 0644 -D -p USAGE /usr/share/greyhole
49
+ install -m 0755 -D -p build_vfs.sh /usr/share/greyhole
45
50
install -m 0644 -D -p docs/greyhole.1.gz /usr/share/man/man1/
46
51
install -m 0644 -D -p docs/greyhole-dfree.1.gz /usr/share/man/man1/
47
52
install -m 0644 -D -p docs/greyhole.conf.5.gz /usr/share/man/man5/
@@ -76,7 +81,7 @@ If you know what you're doing, you should have no problem installing on any othe
76
81
Debian: service samba restart
77
82
78
83
3. For Samba 4.12 and later: The greyhole.so files packaged with Greyhole won't work on your system.
79
- You'll need to compile your own VFS module. You'll just need to compile vfs_greyhole.c, and install it.
84
+ You'll need to compile your own VFS module.
80
85
81
86
Fedora: sudo yum -y install patch gcc python-devel gnutls-devel make rpcgen
82
87
Ubuntu/Debian: sudo apt -y install build-essential python3-dev libgnutls28-dev pkg-config
0 commit comments