Question: how to install samba file server in ubuntu?
Answer: Open the terminal.
Install samba with the following command: sudo apt-get install samba smbfs.
Configure samba typing: vi /etc/samba/smb.conf.
Set your workgroup (if necesary). ... 
Set your share folders. ... 
Restart samba. ... 
Create the share folder: sudo mkdir /your-share-folder.