Samba @ lubuntu

25/01/2012


Samba instalation:

sudo apt-get install samba smbfs

Set user:

sudo smbpasswd -a !username! (account userName)

sudo gedit /etc/samba/smbusers
-> Add this: username = !username! (account userName)

Create a shared folder:

sudo mkdir /media/share

Open samba.conf

sudo gedit /etc/samba/smb.conf
-> Add this lines at the end:

[www]
comment = WebServer
browseable = yes
path = /var/www
public = yes
writable = yes
read only = no

[media]
comment = Stuff
browseable = yes
path = /media/usb
public = yes
writable = yes
read only = no

Restart:
sudo restart smbd