linux下nfs配置
来源:互联网 发布:mac 安装sass 编辑:程序博客网 时间:2024/05/29 12:02
操作系统:redhat
1、nfs配置
服务端
1. mkdir /test 假如/test就是我们需要发布的目录
2. vim /etc/exports
/test *(rw) *所有IP r 可读 w 可写
3. service nfs restart
4. showmount -e 192.168.110.xxx
如果发现
Export list for 192.168.110.254:
/test *
发布成功
客户端连接主机nfs服务
1.showmount -e 192.168.110.xxx (主机IP)
Export list for 192.168.110.254:
/test *
2. mount -t nfs 192.168.110.xxx:/test /mnt (客户机目录)
3.df -h
192.168.110.254:/test
193G 33G 151G 18% /mnt
证明挂载成功
*注意:客户端
如果处理完事情要及时解挂
umount /mnt
如果没有及时解挂,只要服务器意外关机,客户端将死机(慢慢)
2、cifs使用
cifs用于window与linux之间共享文件,和samba功能一样。
mount -t cifs 192.168.2.211:/share /mnt
df -h
umount /mnt
0 0
- linux下配置NFS
- Linux下配置NFS
- linux下nfs配置
- linux/FreeBSD下配置NFS
- Linux下配置安装NFS
- Linux下配置安装NFS
- linux下nfs的配置
- linux 下的NFS配置
- Linux下配置安装NFS
- Linux下nfs配置方法
- Linux下配置安装NFS
- linux下 nfs 的配置
- Linux下 NFS 服务器配置
- Linux下配置安装NFS
- Linux下配置安装NFS
- Linux下的NFS配置
- Linux下配置nfs服务
- Linux下NFS的配置
- Leetcode 11. Container With Most Water The Solution of Python
- 装船问题
- jquery常用事件
- 515. Find Largest Value in Each Tree Row
- C++ 多继承和虚继承的内存布局
- linux下nfs配置
- myeclipse最常用的快捷键
- 欢迎使用CSDN-markdown编辑器
- Android开源库和项目
- POJ 2391 二分,Floyd, 网络最大流
- BeautifulSoup模块学习
- hdu1269迷宫城堡
- 神经网络浅讲:从神经元到深度学习
- 将本地项目上传至GitHub上