Ubuntu访问samba共享文件方法
时间:2019-07-24 22:50:57
收藏:0
阅读:983
1.1 安装samba客户端
sudo apt-get install smbclient -y
1.2 查看文件共享权限
smbclient -L //192.168.100.6
1.3 创建挂载点
mkdir -p /mnt/Myshare
1.4 临时挂载
sudo mount -t cifs -o user=<username>,password=<password> //192.168.100.6/Software /mnt/Myshare/
1.5 开机自动挂载
//192.168.100.6/Software /mnt/Myshare cifs user=<username>,password=<password> 0 0
原文:https://www.cnblogs.com/Wolf-Dreams/p/11241198.html
评论(0)