smb-samba-Linux-mount挂载

#需要root用户权限
mount //192.168.0.1/××××××× /home/×××××××/smb-o username=×××××××,password=×××××××

#参考:https://askubuntu.com/questions/157128/proper-fstab-entry-to-mount-a-samba-share-on-boot#157140
vim /etc/fstab
#增加
//192.168.0.1/******** /home/******/smb cifs credentials=/home/.smbcredentials 0 0

vim /home/.smbcredentials
username=******
password=******
domain=Workgroup
#运行
mount -a