| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
9年前发布

centos nfs服务器简单配置

centos 6.5nfs服务器简单配置, 本文介绍简单配置,如需详细说明,Google之,或者直接查看《鸟哥的Linux私房菜》

服务端:

  1. yum install nfs*  

  2. vim /etc/exports

    /www/attachment 192.168.0.227(rw,sync,no_root_sqush)

   启动服务

    service rpcbind start

    service nfs start

客户端

    1. yum install nfs*

    mount -t nfs 192.168.0.230:/www/attachment  /www/attachment

    启用服务

    service rpcbind start

 

客户端常见错误:

    1、客户端没有启用 rpcbind

    mount: wrong fs type, bad option, bad superblock on 192.168.0.230:/www/attachment,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

    2、 mount.nfs: access denied by server while mounting

        端口问题(具体疑问Google之)

        修正服务端/etc/exports

        /www/attachment 192.168.0.227(insecure,rw,sync,no_root_sqush)

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1413861597294.html
nfs