IT

ALL IT Technology Information

RED HAT PPT

2 comments:

  1. systemctl start rpcbind.service
    mkdir /server/apps
    chmode 777

    vim /etc/exports
    /app 192.168.4.0/24(rw,sync)

    exportfs -rv

    firewall-cmd --permanent --add-service=nfs
    firewall-cmd --permanent --add-service=mountd
    firewall-cmd --permanent --add-service=rpc-bind
    firewall-cmd --reload


    =======
    client
    yum install nfs-utils

    systemctl enable nfs-server.service
    systemctl start rpcbind.service

    systemctl stop firewall /iptable
    showmount -e 192.168.4.1 (serve3r ip address)

    mkdir /mnt/apps
    mount 192.168.4.1:/server/apps /mnt/apps
    df -h

    ReplyDelete