Question: how to install and configure samba server on ubuntu 16.04 for file sharing?
Answer: Overview. A Samba file server enables file sharing across different operating systems over a network. ... 
Installing Samba. To install Samba, we run: sudo apt update sudo apt install samba. ... 
Setting up Samba. Now that Samba is installed, we need to create a directory for it to share: mkdir /home/<username>/sambashare/