Debian(Ubuntu)安装nfs
docker>Evan2019年5月28日 (二) 15:20的版本 (→see also)
ubuntu 18.04 server
如果你的系统是centos 请稳步 Nfs实现代码同步
nfs_ins.org sudo apt install nfs-kernel-server sudo apt install nfs-common tail /etc/exports # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) /nfsdata 192.168.88.*(rw,sync,no_root_squash) evan@k8s-master:~$ sudo mkdir /nfsdata sudo chown nobody:nogroup /nfsdata sudo systemctl restart nfs-kernel-server evan@k8s-master:~$ showmount -e Export list for k8s-master: /nfsdata 192.168.88.*
other
1、sudo apt-get install nfs-kernel-server 2、sudo vi /etc/exports 加入/home/yinxx/nfs *(rw,sync,no_subtree_check,no_root_squash) 3、sudo service nfs-kernel-server restart 4、自测是否正确sudo mount -t nfs -o nolock localhost:/home/yinxx/nfs /mnt/nfs_test/ --------------------- blog.csdn.net/weixin_38727369/article/details/83689114
see also
https://www.howtoing.com/how-to-set-up-an-nfs-mount-on-ubuntu-18-04