Saturday, 16 March 2013

samba configuration on ubuntu linux







Install samba
techxpert@server:~$sudo apt-get update
techxpert@server:~$sudo apt-get install samba

Create share directory 
techxpert@server:~$sudo mkdir /samba       (any name)

Give the full permission on Directory
techxpert@server:~$chmod 777 /samba

Add samba user
techxpert@server:~$ smbpasswd -a techxpert

Edit in file /etc/samba/smb.conf 
techxpert@server:~$ sudo gedit /etc/samba/smb.conf
#at the end of file

[share]
    comment = Ubuntu File Server Share
    path = /samba
    browsable = yes
    guest ok = yes
    read only = no
    writeable = yes

Restart the service

sudo /etc/init.d/smbd restart


No comments:

Post a Comment