Setting up the Samba File Server on Ubuntu/Linux:
- 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.