Linux下共享Windows文件系統

Linux下共享Windows文件系統

  1. 在Windows上創建共享文件夾
    Linux下共享Windows文件系統
    Linux下共享Windows文件系統

  2. 安裝cifs文件系統
    yum install -y cifs-utils
  3. 掛載對應的共享文件夾
mount -t cifs -o username=share,password=Zc072400 //28.44.20.11/share /mnt

常見報錯信息:
Linux下共享Windows文件系統

需要添加相應的cifs版本號不一定就是3.0

Linux下共享Windows文件系統

報權限問題:

Linux下共享Windows文件系統
可能性1:賬號密碼錯誤
可能性2:Windows文件權限限制(Windows2008R2 如下修改即可)
Linux下共享Windows文件系統
4.開機自動掛載

vim /etc/fstab

Linux下共享Windows文件系統

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章