CentOS訪問Windows共享資料夾的兩種方法

2021-08-06 06:43:13 字數 638 閱讀 7945

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=

"" /mnt/myshare

注意命令列中的空格和逗號,空密碼也可以。

此命令就是將192.168

.1.1上的共享資料夾sharefolder 掛載到本地的/mnt/myshare資料夾,執行完,就可在myshare裡看到sharefolder裡的內容。

3.刪除掛載用命令:umount /mnt/myshare

CentOS訪問windows共享

這幾天開始學習centos,在windows server 2012的hyper v中裝了個centos 6.4。想在centos中訪問windows共享 1 mount t cifs o username un password pwd mnt shared 注意 如果顯示 couldn t ch...

CentOS 訪問 Windows 共享目錄

由於公司的網路切換後,將所有的伺服器都切換到了指定的網段 工作電腦在乙個網路,伺服器在另乙個網路 這樣一來,不同部門的 work stations 可以彼此訪問,不同部門的伺服器 servers 也可以彼此訪問。但是!work station 與 server不能跨部門訪問。也就是說,部門a的同事不...

CentOS訪問Windows共享資料夾的兩種方法

size medium 1 在位址列中輸入下面內容 smb windows ip share folder name,smb為server message block協議的簡稱,是一種ibm協議,執行在tcp ip協議之上。從windows 95開始,microsoft windows都提供了ser...