redhat,ubuntu,Fedora搭建NFS
来源:互联网 发布:工程套价软件 编辑:程序博客网 时间:2024/05/20 00:11
先在宿主机上的/etc/exports/下添加一行:
/zsj 192.168.0.*(rw,sync,no_subtree_check,no_root_squash)
/zsj 【共享目录】192.168.0.*【共享的网络段,*为所以能ping通的电脑此处与接下来的权限参数直接无空格】(rw【读写】,sync,no_subtree_check【无验证】,no_root_squash【无锁定】)
如果宿主机为虚拟机,需注意宿主机要使用桥接方式连接网络
然后重启portmap ,nfs服务,命令为:service portmap restart
service nfs restart(ubuntu下 为nfs-kernel-server)
客户机:
1.必须能ping通主机,切在共享网络段中
2.Mount –t nfs –o nolock192.168.0.100:/zsj /mnt 将共享目录zsj挂载到本地的/mnt
Fedora下需关闭防火墙,不用管portmap
service iptables stop
- redhat,ubuntu,Fedora搭建NFS
- Fedora下nfs服务器搭建
- Fedora 22 NFS环境搭建
- Fedora下nfs服务器搭建
- fedora 24 nfs 服务器搭建
- 2Ubuntu/RedHat下nfs服务器搭建,Linux多台电脑共享目录
- ubuntu 9.04 nfs搭建
- ubuntu 9.10搭建NFS
- 搭建nfs(ubuntu)
- ubuntu搭建nfs服务器
- ubuntu 11.04 搭建 NFS
- Ubuntu 搭建 NFS
- Ubuntu搭建nfs文件系统
- ubuntu nfs搭建
- Ubuntu搭建NFS文件服务器
- Ubuntu搭建NFS
- ubuntu 14.04 搭建 nfs
- Ubuntu搭建NFS服务
- svg webtopo原型6 事件的鼠标属性
- visio中添加表格
- DBus如何使用原始DBus库传送和接收数据
- seajs的spm使用摸索
- Android应用中通过AIDL机制实现进程间的通讯实例
- redhat,ubuntu,Fedora搭建NFS
- 【Delphi】RDP文件中的密码Hash加解密单元
- Linux中查看某个软件的安装路径
- iPhone开发技巧之私有API — 设备相关信息
- SAP 采购订单税码增强检查
- lotus生成excel(一)
- 深度解析Java内存原型
- Android之Adapter用法总结
- SecurityContextHolder.getContext().getAuthentication()为空的解决