### centos 挂载 #### 1. 安装 nfs-utils ```bash yum install nfs-utils -y ``` #### 2. 挂载目录 ```bash mount -t nfs 192.168.0.4:/export/share /mnt/nfs ``` #### 3. 检查挂载 ```bash df -h | grep nfs ``` #### 4. 卸载 ```bash umount /mnt/nfs ``` ### ubuntu挂载 #### 1. 安装 nfs-common ```bash apt install nfs-common ``` #### 2. 剩余同上