安装 Samba
sudo apt-gt samba
Samba 配置文件
sudo vim /etc/samba/smb.conf
配置可匿名访问的共享
[share] # 访问路径
comment = 'share for work'
path = /home/pi/extended/Repository/Media/电影 # 映射的路径
public = yes
guest ok = yes
create mask 0666
directory mask = 0666
force user = pi
force group = pi
browseable = yes
available = yes
重启 Samba 服务
sudo samba restart
访问
⌘ + K
来输入 smb://xxx.xxx.xxx.xxx/share
来访问共享资源