mount -t cifs -o uid=1000,username="Administrator",password="123456" //127.0.0.1/D /data/share
其中 1000为www用户,12.0.0.1/D 为共享电脑地址和共享盘 /data/share为服务器挂载的文件
删除挂载
umount /文件路径
挂载samba盘 命令
mount -t cifs -o username=xxx,password=123456 //10.100.xx/09.xx /usr/local/b
同理