默认端口:2049
root@windows7:~# showmount -h
Usage: showmount [-adehv]
[--all] [--directories] [--exports]
[--no-headers] [--help] [--version] [host]
查看
root@windows7:~# showmount -e 54.1*.*
Export list for 54.1*.*:
/home/zxin10/was/tomcat/webapps/uniportal/nfs *
/home/vpshare *
/var/vmc/nfslock *
挂载
root@windows7:~# mkdir dirtmp
root@windows7:~# mount -t nfs 54.1*.*:/home/vpshare dirtmp
root@windows7:~# ls dirtmp
cn_windows_10_enterprise_x64_dvd_6846957.iso vmtool_kvm_win_V6.03.02P1.iso
virtio-win-V3.18.13.9fb5959b-Release.iso vmtool_kvm_win_V6.03.02T23.iso
vmtool_kvm_linux_V6.03.02T23.iso ZXVEi.SERVER.V5.05.F8-iRAI.V6.03.02.iso
卸载
root@windows7:~# umount dirtmp
root@windows7:~# rmdir dirtmp