ylqmf

CentOS访问Windows共享文件夹的两种方法

1 在地址栏中输入下面内容:

 

smb://Windows IP/Share folder name,smb为Server Message Block协议的简称,是一种IBM协议,运行在TCP/IP协议之上。

从Windows 95开始,Microsoft Windows都提供了Server和Client的SMB协议支持,Microsoft为Internet提供了SMB开源版本,及CIFS(Common Internet File System),通用文件系统。

 

2 将Windows的共享文件夹挂载到本地

 

在终端中输入命令mount -t cifs -o username="Admin",password="" //192.168.1.1/ShareFolder /mnt/MyShare

注意命令行中的空格和逗号,空密码也可以。

此命令就是将192.168.1.1上的共享文件夹ShareFolder 挂载到本地的/mnt/MyShare文件夹,执行完,就可在MyShare里看到ShareFolder里的内容。

 

删除挂载用命令:umount /mnt/MyShare

发表于 2012-06-27 09:22  tudou@NorthWind  阅读(414)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2021-07-19
  • 2022-01-29
  • 2021-08-31
  • 2022-02-01
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2022-01-29
  • 2022-12-23
  • 2022-01-29
  • 2021-05-20
  • 2021-06-26
相关资源
相似解决方案