局域網中Ubuntu共享win7上的目錄
win7機器(IP:10.*.*.36)設置個共享目錄ShareDirectory,在ubuntu機器上創建個路徑:
mkdir /medir/ShareDirectory
sudo mount //10.*.*.36/ShareDirectory /media/ShareDirectory/ -o username=ALT***/f***.s***,password=W******4,dir_mode=0777,file_mode=0777
(如果出現錯誤 mount:cannot moutn block device //10.*.
*.36/ShareDirectory ready-only, 應該是缺裝了cifs-uitls, sudo apt-get install cifs-utils
)