Feb 22, 2014

0 Samba share on Linux

Shared folders with Samba.


sudo apt-get install samba
Configure a username and password that will be used to access the share.
! You can use any username you want, usernames are not limited by system users.

smbpasswd -a janis

Configure the smb.conf file.

sudo nano /etc/samba/smb.conf

Add your configuration at the end of file.

[Movies]
hosts allow = 192.168.1.2
path = /home/janis/Movies
available = yes
valid users = janis
read only = no
browsable = yes
public = yes
writable = yes

[Music]
hosts allow = 192.168.1.2
path = /home/janis/Music
available = yes
valid users = janis
read only = no
browsable = yes
public = yes
writable = yes

[TV Series]
hosts allow = 192.168.1.2
path = /home/janis/TV Series
available = yes
valid users = janis
read only = no
browsable = yes
public = yes
writable = yes

Save the file and close your editor.  Restart the SMB service for the changes to take effect.

sudo service smbd restart

Now you can mount your shares on Windows PC.



Info : https://help.ubuntu.com/community/Samba

0 comments :

Post a Comment

Comment: