asulove

ubuntu下安装配置nfs

sudo apt-get install nfs-kernel-server

 

sudo /nfs_root

 

vim /etc/exports

 

在这个文件末尾添加

/nfs_root *(rw,sync,no_root_squash) 

保存退出

重启nfs服务

sudo /etc/init.d/rpcbind restart 

sudo /etc/init.d/nfs-kernel-server restart

测试

sudo mount 192.168.2.1:/nfs_root   /mnt

分类:

技术点:

相关文章:

  • 2022-03-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2021-09-15
  • 2021-08-02
  • 2021-12-29
相关资源
相似解决方案