CentOS訪問windows共享

2021-06-16 17:59:11 字數 349 閱讀 6993

這幾天開始學習centos,在windows server 2012的hyper-v中裝了個centos 6.4。

想在centos中訪問windows共享:

1、mount -t cifs -o username="un",password="pwd" /mnt/shared

注意:如果顯示「couldn't chdir to /mnt/shared:no such file or directory」,請先建shared目錄;

2、如果想開機就執行掛載,可以把上面的腳步寫入「/etc/rc.local」;

3、解除安裝命令:umount /mnt/shared。

2023年07月19日 深圳

CentOS 訪問 Windows 共享目錄

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

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

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

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

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