网络存储 linux 访问,Linux基础教程学习笔记28——使用Samba访问网络存储
Linux基礎教程學習筆記28——使用Samba訪問網絡存儲
SMB用于Windows和類Linux系統直接的文件共享
安裝samba client包:
[root@linuxidc~]# yum install samba-client\* -y
使用smbclinet命令查看和訪問windows共享的文件夾資源:
12345678910111213 [root@linuxidc~]# smbclient -L //10.35.89.71/ -U administrator
Enter administrator's password:
Domain=[AP] OS=[Windows 7 Enterprise 7601 Service Pack 1] Server=[Windows 7 Enterprise 6.1]
Sharename? ? ? Type? ? ? Comment
---------? ? ? ----? ? ? -------
ADMIN$? ? ? ? ? Disk? ? ? Remote Admin
C$? ? ? ? ? ? ? Disk? ? ? Default share
Dell? ? ? ? ? ? Disk
E$? ? ? ? ? ? ? Disk? ? ? Default share
F$? ? ? ? ? ? ? Disk? ? ? Default share
IPC$? ? ? ? ? ? IPC? ? ? Remote IPC
Connection to 10.35.89.71 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
訪問共享文件夾資源:
[root@linuxidc~]# smbclient? //10.35.89.71/Dell -U administrator
Enter administrator's password:
Domain=[AP] OS=[Windows 7 Enterprise 7601 Service Pack 1] Server=[Windows 7 Enterprise 6.1]
smb: \>
掛載共享文件資源:
先安裝cifs-utility包:
[root@linuxidc~]# yum install cifs\* -y
掛載文件:
[root@linuxidc~]# mount -o username=administrator,password=123456? //192.168.10.100/Dell /aa
------------------------------------分割線------------------------------------
------------------------------------分割線------------------------------------
Samba 的詳細介紹:請點這里
Samba 的下載地址:請點這里
總結
以上是生活随笔為你收集整理的网络存储 linux 访问,Linux基础教程学习笔记28——使用Samba访问网络存储的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: case计算机英语,计算机英语常用术语
- 下一篇: android api接口文档,API