歡迎您光臨本站 註冊首頁

linux 中訪問windows 共享文件

←手機掃碼閱讀     火星人 @ 2014-03-08 , reply:0

首選是使用samba服務

要求linux系統中安裝了smb和smbclient 範例: windows系統的ip是192.168.4.21,共享文件夾的名稱是Software . 方式一: (1)Alt F2 ,打開“運行”窗口. (2)在“運行”窗口中運行smb://192.168.4.21/Software 方式二:使用mount 不需要密碼:mount //192.168.44.1/share /mnt/wind2 需要密碼:mount //192.168.4.21/Software /mnt/win -o user=user,password=user 或mount //192.168.4.21/Software /mnt/win -o user=user 或:mount.cifs //192.168.4.21/Software /mnt/whuang -o user=user 方式三:使用smbclient smbclient -U test //192.168.4.21/Software 說明:-U 後面接用戶名 進入之後,可以使用mget 下載文件. 如何linux系統比較破,既沒有smb,也不能mount,怎麼辦? 那就使用ftp,只需要在windows上安裝一個ftp的伺服器,如FileZilla Server. 在windows中啟動FileZilla Server服務后,在linux中就可以使用 ftp windows ip來訪問windows了.

[火星人 ] linux 中訪問windows 共享文件已經有302次圍觀

http://coctec.com/docs/linux/show-post-45912.html