Raspberry开启smaba服务

2021-06-04 01:01

阅读:731

标签:安装   pre   row   nbsp   apt   div   tar   table   sea   

  • 安装 samba

    sudo apt-get install samba

  • 修改samba服务配置

    sudo vi /etc/samba/smb.conf

[disk1]
    path = /export/home/disk1
    valid user = root pi
    browseable = yes
    public = yes
    writable = yes
[disk2]
    path = /export/home/disk2
    valid user = root pi
    browseable = yes
    public = yes
    writable = yes
  • 设置访问密码

sudo smbpasswd -a pi

  • 重启smaba服务

sudo  service  smbd restart

 

Raspberry开启smaba服务

标签:安装   pre   row   nbsp   apt   div   tar   table   sea   

原文地址:https://www.cnblogs.com/heyong45/p/12345356.html


评论


亲,登录后才可以留言!