1.通過修改/etc/fstab 方式來加載
在/etc/fstab中加入下面一行
192.168.206.232:/opt/share /opt/share nfs rw,async 0 0
然后執(zhí)行下 mount -a
2.通過命令行臨時(shí)加載
mount -t cifs //10.1.27.195/linux /opt/other -o username=XXX,password=xxx,rw
通過 umount /opt/other 來卸載共享
具體命令來通過 man mount來查看。