linux nfs共享文件

时间:2014-03-18 03:05:34   收藏:0   阅读:581

 

linux文件共享可以有多种方式:samba,nfs,ftp等等

nfs在linux之间效率高些:

bubuko.com,布布扣
function nfs(){
    share_folder="/data1 192.168.0.239(rw,sync,no_root_squash)"
    yum install nfs-utils rpcbind
    echo $share_folder >> /etc/exports
    exportfs -rv
    showmount -e 127.0.0.1
    
    # 客户端使用
    # mount -t nfs 192.168.122.31:/data1 /data1
}
bubuko.com,布布扣

linux nfs共享文件,布布扣,bubuko.com

原文:http://www.cnblogs.com/trying/p/3605192.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!