zoukankan      html  css  js  c++  java
  • nfs挂载

    安装:

    yum install nfs-utils rpcbind

    配置共享目录:vim /etc/exports 

    /xxx/cloudcms *(insecure,rw,async,no_root_squash)

    启动portmap:

    /etc/init.d/rpcbind start

    启动nfs:

    /etc/init.d/nfs start

    配置开机启动:

    chkconfig nfs on

    查看可挂载nfs:

    showmount -e 10.110.122.185

    配置端口:

    vim /etc/services

    mountd 976/tcp
    mountd 976/udp
    rquotad 966/tcp
    rquotad 966/udp
    nlockmgr 33993/tcp
    nlockmgr 33993/udp

    vim /etc/sysconfig/nfs

    RQUOTAD_PORT=966
    LOCKD_TCPPORT=33993
    LOCKD_UDPPORT=33993
    MOUNTD_PORT=976

    重启nfs:

    service nfs restart

    客户端挂载:

    mount -t nfs 10.110.122.185:/xxx/cloudcms/ /cloudcms/

  • 相关阅读:
    Numpy
    啊大大阿达
    asda
    啊大大
    初识python
    初识python
    初识python
    初识python
    初识python
    初识python
  • 原文地址:https://www.cnblogs.com/kisf/p/7202357.html
Copyright © 2011-2022 走看看