1 apt-get install samba samba - common
2 usradd sambausr
3 # mkdir /home/share # chmod 777 /home/share
4 # vim /etc/samba/smb.conf
[my share]
comment=my share directory
path=/home/share
valid users=smbuser
public=no
writeable=yes
browsable=yes
create mask=0756
...