Question: how to install smb server on 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.