typora/daliy_note/8月归档/8.26/nfs.md
2024-12-12 10:48:55 +08:00

365 B

centos 挂载

1. 安装 nfs-utils

yum install nfs-utils -y

2. 挂载目录

mount -t nfs 192.168.0.4:/export/share /mnt/nfs

3. 检查挂载

df -h | grep nfs

4. 卸载

umount /mnt/nfs

ubuntu挂载

1. 安装 nfs-common

apt install nfs-common

2. 剩余同上