NFS配置

NFS配置

   今天转到Linux开发环境,需要配置一下NFS,以便开发板能便捷的得到编译好的程序。
   服务器端:IP:192.168.3.122
                #chmod 755 /home/work/thundermouse
                #Vim /etc/exports
                添加一行: 
  /home/work/thundermouse 192.168.3.*(rw,sync,no_root_squash)
               #showmount -e      查看共享目录
               #service nfs status       查看NFS服务启动情况
                  #/etc/rc.d/init.d/portmap start 启动端口映射
               (要确定服务器端防火墙关闭)
   客户端:IP:192.168.3.250
             #mount –t nfs 192.168.3.122:/home/work/thundermouse /mnt/thundermouse –o nolock

你可能感兴趣的:(NFS配置)