“Debian(Ubuntu)安装nfs”的版本间的差异
跳到导航
跳到搜索
第51行: | 第51行: | ||
[https://blog.51cto.com/13109742/2061511 NFS介绍、NFS服务端配置安装配置、 NFS配置选项、 客户端的配置] | [https://blog.51cto.com/13109742/2061511 NFS介绍、NFS服务端配置安装配置、 NFS配置选项、 客户端的配置] | ||
+ | |||
+ | |||
+ | [https://www.helplib.cn/%E6%9D%A8%E5%92%8C%E8%B6%85/how-to-set-up-a-nfs-server-on-debian-10-buster 在Debian 10上,如何设置NFS服务器] | ||
[[category:ops]] | [[category:ops]] |
2021年8月30日 (一) 05:03的版本
debian11
sudo apt install nfs-kernel-server sudo apt install nfs-common mkdir -p /data/k8s/mysql/ mkdir -p /data/k8s/discuz/db/ /data/k8s/discuz/web/
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
https://blog.csdn.net/gys_20153235/article/details/80516560