歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 圖解linux下訪問windows

圖解linux下訪問windows

日期:2017/2/28 17:58:20   编辑:Linux教程
因為Linux內核支持讀寫Fat、NTFS、Vfat、Fat32等文件系統,因此在Linux下訪問Windows中的資源只需直接使用Linux中專門負責與Windows主機互通有無的工具Samba就可以實現了。過程可以分為以下三步:
  
  第一步:安裝Samba組件
  
  在光驅中插入小紅帽的第二張安裝光盤後,依次單擊“主菜單” “系統設置” “管理/刪除應用程序”菜單項,(如圖1所示)在打開的“軟件包管理”對話框中找到並勾選“Windows文件服務器”項後單擊“更新”按鈕,接下來請耐心等待Samba軟件包的安裝完成。
   
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505376577801.jpg');}" alt="" src="http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505376577801.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
  圖1
  
  第二步:啟動Samba服務
  
  安裝好Samba之後還需要啟動Samba服務才行,請依次點擊“主菜單” “系統設置” “服務器設置” “服務”,在彈出的窗口選中“SMB”服務並點擊工具欄上的“開始”按鈕即可(如圖2)。
   
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs.shareunion.net/forum_storage/linux/20060131/20061311050543177802.jpg');}" alt="" src="http://bbs.shareunion.net/forum_storage/linux/20060131/20061311050543177802.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
  圖2
  
  第三步:訪問共享資源
  
  到了這一步我們既可以用命令行的方式來使用Samba服務,也可以任意打開一個窗口,在地址欄中通過輸入“smb://192.168.1.21”並按“Enter”鍵回車的方式來訪問特定計算機中的共享資源。要注意的是,在彈出的“需要驗證”對話框中一定要輸入有權限訪問此遠程計算機的用戶名和密碼才能對遠程計算機的共享資源進行相應權限的操作,如圖3所示。稍後就可以看到遠程計算機中的共享資源了(如圖4)。
   
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505431277803.jpg');}" alt="" src="http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505431277803.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
  圖3
   
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505462577804.jpg');}" alt="" src="http://bbs.shareunion.net/forum_storage/linux/20060131/200613110505462577804.jpg" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0>
  圖4
Copyright © Linux教程網 All Rights Reserved