1 頁 (共 1 頁)

Samba Server

發表於 : 2012-12-30 11:14:31
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

Re: Samba Server

發表於 : 2012-12-30 11:20:12
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