Rhel 7 nfs install
2015-08-24 10:46
295 查看
1. NFS server
yum -y install nfs-utils
systemctl enable rpcbind
systemctl enable nfs-server
mkdir /nvme
mount /dev/nvme0n1 /nvme
vim /etc/exports
[root@memblaze-lyk1 ~]# cat /etc/exports
/nvme *(rw,sync,no_root_squash,no_all_squash)
systemctl restart nfs-server
2. NFS client
[root@memblaze-lyk3 ~]# showmount -e 40.0.01
Export list for 40.0.01:
/nvme *
[root@memblaze-lyk3 ~]# showmount -e 40.0.0.1
Export list for 40.0.0.1:
/nvme *
[root@memblaze-lyk3 ~]# mkdir /nvme
[root@memblaze-lyk3 ~]# mount 40.0.0.1:/nvme /nvme
yum -y install nfs-utils
systemctl enable rpcbind
systemctl enable nfs-server
mkdir /nvme
mount /dev/nvme0n1 /nvme
vim /etc/exports
[root@memblaze-lyk1 ~]# cat /etc/exports
/nvme *(rw,sync,no_root_squash,no_all_squash)
systemctl restart nfs-server
2. NFS client
[root@memblaze-lyk3 ~]# showmount -e 40.0.01
Export list for 40.0.01:
/nvme *
[root@memblaze-lyk3 ~]# showmount -e 40.0.0.1
Export list for 40.0.0.1:
/nvme *
[root@memblaze-lyk3 ~]# mkdir /nvme
[root@memblaze-lyk3 ~]# mount 40.0.0.1:/nvme /nvme
相关文章推荐
- D3D显示YUV图像
- Java中莫名其妙的时区错误
- Android View 属性详解
- LINUX笔记6
- STM32窗口看门狗
- A1073. Scientific Notation (20)
- js思路总结
- Raising Modulo Numbers(poj 1995 快速幂)
- 阿里巴巴2016年秋季校园招聘C++研发岗在线笔试附加题第一题
- spark源码阅读环境搭建
- LINUX 笔记5
- (转)关于oracle的表空间,分区表,以及索引的总结
- 范围for语句
- pl/sql综合
- hdu1175 连连看(DFS+剪枝)
- ETL调度工具JobStream功能及源代码
- 访问单个节点的删除(Java)
- 链表分割
- V4包没注释,看不了源码解决方法(网上搜的,亲测可行)
- Echarts-画堆积柱状图,折线图