1. 设置windows共享磁盘或者文件夹

2.使用命令 mount -t cifs -o username=yxs,password=123456 //192.168.1.105/d /home/code 进行挂载

可能会出现 mount: \\192.168.1.105\d 写保护,将以只读方式挂载 mount: 无法以只读方式挂载 \\192.168.1.105\d

解决办法:检查windows账户密码是否正确 或者 在windows新添加个账户

3.在使用命令 mount -t cifs -o username=ad,password=123456 //192.168.1.105/d /home/yxs/code 

完美解决

相关文章:

  • 2021-04-06
  • 2021-11-21
  • 2021-11-19
  • 2022-12-23
  • 2021-09-11
  • 2022-01-10
  • 2021-10-10
  • 2022-01-23
猜你喜欢
  • 2021-05-14
  • 2021-11-06
  • 2021-09-08
  • 2021-12-03
相关资源
相似解决方案