windows通路虛拟機linux檔案
教程使用版本
vmware 15.5
ubuntu server 14.04.4
samba伺服器隻能用在區域網路。
- Ubuntu安裝samba伺服器
确認安裝: dpkg -l | grep samba
安裝: sudo apt-get install samba samba-common
解除安裝: sudo apt-get autoremove samba
- samba伺服器配置
sudo vi /etc/samba/smb.conf
在檔案最後添加
注意使用者名
[Share]
comment=This is samba dir
path=/home/你的使用者名/
writable=yes
browseable=yes
- 增加samba使用者
sudo smbpasswd -a 你的使用者名
- 重新開機samba
關閉Samba伺服器: sudo service smbd stop
啟動Samba伺服器: sudo service smbd start
- 在window檔案視窗位址欄輸入
\\你虛拟機的ip位址
輸入賬号密碼進入
示例