ubuntu下nfs安装配置

时间:2024-10-25 14:13:29

1、sudo apt-get install nfs-kernel-server 安装nfs。

ubuntu下nfs安装配置

3、sudo vi /etc/exports 配置nfs。

ubuntu下nfs安装配置

5、sudo /etc/init.d/rpcbind restart 重启rpcbindsudo /etc/init.d/nfs-kernel-server restart 重启nfs

ubuntu下nfs安装配置

6、sudo mount -t nfs 192.168.1.122:/home/share/nfs 在目标机中挂载服务器的共享文件夹,把以上指令写到/etc/rc.local 当中可实现开机自动挂载

© 2025 长短途
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com