Installing Samba:
[cc lang=”bash”]
apt-get install samba samba-common-bin
[/cc]
Once there, edit /etc/samba/smb.conf as follows:
[cc lang=”bash”]
workgroup = [your_workgroup_name]
[SHARE-NAME]
comment=Samba Share
path=/PATH/TO/YOUR/SHARE
browseable=Yes
writeable=Yes
only guest=no
create mask=0777
directory mask=0777
public=no
[/cc]
At last, setup the Samba password:
[cc lang=”bash”]
smbpasswd -a YOUR_USERNAME
[/cc]