一、概览
nfs-ganesha是一个主要用于linux之间的网络文件共享软件,支持NFS (v3, 4.0, 4.1, 4.1 pNFS, 4.2) and for 9P from the Plan9 operating system. It can support all these protocols concurrently。samba则是主要用于windows和linux之间的网络文件共享软件,支持smb协议。
二、环境版本
系统及相关软件版本说明:
操作系统:CentOS 7
nfs-ganesha源码:V2.7-stable
目前在github上,最新的稳定版本为V2.7-stable,有兴趣的可以去尝试开发版本,但是在编译安装过程中可能会有很多的问题。
查看系统版本:
[root@bogon ~]# uname -a
Linux bogon 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@bogon etc]# cat redhat-release
CentOS Linux release 7.6.1810 (Core)
三、安装依赖
yum -y install centos-release-ceph-luminous
yum install gcc git cmake autoconf libtool bison flex doxygen openssl-devel gcc-c++ libuuid-devel nfs-u