Centos 搭建 NFS
- 服務(wù)端
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
?
參考文獻(xiàn):http://www.cnblogs.com/liuyisai/p/5992511.html
參考文獻(xiàn):http://blog.csdn.net/loyachen/article/details/51010688
轉(zhuǎn)載于:https://www.cnblogs.com/jhc888007/p/7647751.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來(lái)咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的Centos 搭建 NFS的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: CentOS 7.2 安装zabbix
- 下一篇: vue中使用导出表格功能