差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版 前次修改
下次修改
前次修改
tech:samba_client [2021/01/16 14:38] – 更換 plugin jonathantech:samba_client [2021/05/24 14:41] (目前版本) jonathan
行 1: 行 1:
-====== Samba Client CentOS 使用 Windows 網芳磁碟設定 ====== +====== Samba Client 讓 Linux 使用 Windows 網芳磁碟設定 ====== 
-除了使用 samba 提供 CentOS(Linux) 的網路磁碟給 WinClient 使用外, 還有另外反向的作法, 就是將原本的 Windows 網路磁碟提供給 CentOS(Linux)使用.. +除了使用 samba 提供 Linux(CentOS / Ubuntu 的網路磁碟給 WinClient 使用外, 還有另外反向的作法, 就是將原本的 Windows 網路磁碟提供給 Linux 使用.. 
  
 ===== Windows 端 ===== ===== Windows 端 =====
行 6: 行 6:
   * 帳號: backup    * 帳號: backup 
  
-===== CentOS 端 ===== +===== Linux 端 ===== 
-  * 要先確認有安裝以下的套件 <code>+  * 要先確認有安裝以下的套件  
 +    * CentOS <cli>
 yum install samba-client samba-common cifs-utils yum install samba-client samba-common cifs-utils
-</code>+</cli> 
 +    * Ubuntu <cli> 
 +apt install smbclient cifs-utils 
 +</cli>
   * 確認 smbclient 可以正常連上 Windows 端<code sh>   * 確認 smbclient 可以正常連上 Windows 端<code sh>
 mount -t cifs //192.168.1.136/ /backup/tn_data mount -t cifs //192.168.1.136/ /backup/tn_data
行 65: 行 69:
         Workgroup            Master         Workgroup            Master
         ---------            -------         ---------            -------
-</xtermrtf>+</cli>
  
 ===== 參考文章 ===== ===== 參考文章 =====
行 71: 行 75:
   * https://wiki.centos.org/zh-tw/TipsAndTricks/WindowsShares   * https://wiki.centos.org/zh-tw/TipsAndTricks/WindowsShares
   * https://bayton.org/docs/linux/lxd/mount-cifssmb-shares-rw-in-lxd-containers/   * https://bayton.org/docs/linux/lxd/mount-cifssmb-shares-rw-in-lxd-containers/
 +  * https://www.server-world.info/en/note?os=Ubuntu_20.04&p=samba&f=3
  
-{{tag>draft linux samba smbclient netdir 網路磁碟 經驗 儲存}}+{{tag>linux samba smbclient netdir 網路磁碟 經驗 儲存}}
  • tech/samba_client.1610779123.txt.gz
  • 上一次變更: 2021/01/16 14:38
  • jonathan