Samba Server

Raspberry Pi
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Samba Server

文章 yehlu »

http://simonthepiman.com/how_to_setup_w ... server.php

代碼: 選擇全部

sudo apt-get install samba
sudo apt-get install samba-common-bin
sudo vi /etc/samba/smb.conf
sudo service samba restart
sudo testparm -s
sudo apt-get install autofs
sudo vi /etc/auto.master
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: Samba Server

文章 yehlu »

代碼: 選擇全部

sudo  mkdir share
sudo chmod 777 share/
sudo vi /etc/samba/smb.conf
sudo /etc/init.d/samba restart

代碼: 選擇全部

[usb]
comment = USB Share
path = /mnt/disk1
writeable = Yes
only guest = Yes
create mask = 0777
directory mask = 0777
browseable = Yes
public = yes
回覆文章

回到「Raspberry Pi」