Centos 搭建 NFS
生活随笔
收集整理的這篇文章主要介紹了
Centos 搭建 NFS
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
- 服務端
yum -y install nfs-utils rpcbind
chkconfig nfs on
chkconfig rpcbind on
mkdir -p /tmp/share
chmod 600 /tmp/share
vim /etc/exports
/tmp/share 192.168.2.0/24(rw,no_root_squash,no_all_squash,sync)
/tmp/share *(rw,no_root_squash,no_all_squash,sync)
service rpcbind start
service nfs start
showmount -e localhost
- 客戶端
yum -y install nfs-utils
mkdir -p /tmp/nfs
showmount -e 192.168.2.203
mount -t nfs 192.168.2.203:/data/share /tmp/nfs
df -h
?
參考文獻:http://www.cnblogs.com/liuyisai/p/5992511.html
參考文獻:http://blog.csdn.net/loyachen/article/details/51010688
轉載于:https://www.cnblogs.com/jhc888007/p/7647751.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的Centos 搭建 NFS的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CentOS 7.2 安装zabbix
- 下一篇: Centos(6、7) —— yum源的