Installing Samba:
sudo apt-get install samba samba-common
Installing Samba Server configuration Tool:
sudo apt-get install system-config-samba
Configuration of samba using a graphical interface:
First open GUI samba server configuration tool by going to System–> Administration–
>Samba
Add the folder you want to share and setup the permissions access.
Now right click on the folder directory you want to share and open the share options
Then select share this folder