UBUNTU nfs 常用命令
来源:互联网 发布:java软件设计大赛 编辑:程序博客网 时间:2024/06/02 03:25
1. 安装NFS.
sudo apt-get install nfs-kernel-server
2.增加挂载目录。在 /etc/exports中加上需要挂载的目录 /home/neo/nfs
sudo vi /etc/exports
add one line/home/neo/nfs *(rw,sync,no_root_squash,no_subtree_check)
3.重启rpcbind
sudo service rpcbind restart
4. 重启nfs
sudo /etc/init.d/nfs-kernel-server restart
5. 挂载
sudo mount -t nfs-o nolock 192.168.74.130:/home/neo/nfs /mnt/
如果将上面的命令写到 /etc/rc.local 文件, 系统开机将自动运行挂载命令
6.显示当前可用挂载目录
showmount -e
阅读全文
0 0
- UBUNTU nfs 常用命令
- ubuntu nfs
- ubuntu NFS
- ubuntu nfs
- ubuntu NFS
- ubuntu nfs
- Ubuntu nfs
- ubuntu NFS
- Ubuntu NFS
- 【NAS】NFS常用命令
- ubuntu 配制nfs
- ubuntu中的NFS
- Ubuntu下nfs安装
- ubuntu nfs配置
- ubuntu NFS设置
- mini2440 nfs 挂载到ubuntu
- ubuntu 9.04 nfs搭建
- Ubuntu安装NFS服务器
- 排序算法之冒泡排序
- kali linux 安装搜狗输入法
- C语言scanf()函数返回值的问题
- 【理解】算法:chessboard covering with trominoes
- 卡特兰数+逆元-HDU4828
- UBUNTU nfs 常用命令
- STM32---IWDG看门狗与Debug
- bashrc与profile的区别
- 链接库
- ubuntu 16.04 nivida显卡驱动更新步骤
- mysql存储过程中的on duplicate key update的用法
- Gym 100712H(边双联通+树的直径)
- Blown Garland CodeForces
- 【Git零基础教程】(6)Rebase