NFS 优化及详解

 

 

 

 

 

一,

  启动过程:

所以启动的时候一定一定要先启用——————rpcbind————————————————

启动 rpcbind  ------>/etc/init.d/rpcbind restart

 启动nfs ------------->/etc/init/nfs start

  进程说明:

    

  开机自启设置:

  chkconfig rpcbind on

  chkconfig nfs on

    

  cat  >>/etc/rc.local <<EOF

  #start up nfs server

  /etc/init.d/rpcbind start

  /etc/init.d/nfs start

 

  服务端配置详解:

  1,配置路径:

    /etc/exports

  

  配置实例说明

  

  

  nfs配置权限参数:

  

   

  查看默认参数位置  --> /var/lib/nfs/etab

  

  权限图解:

  nfs 文件说明:

  

 

 

nfs 挂载命令说明

 内核优化:

 

 

  

 

 

 

 

 

 

 

 

 

 

nfs 管理最好是普通用户

服务端

  

 

 客户端

 

 配置好了一定要重启!!!

任何服务配置完都要重启加载,不要配置了说没成功。

posted on 2018-07-31 12:26  kingle-l  阅读(347)  评论(0编辑  收藏  举报

levels of contents