Question: how to install samba in ubuntu 16.04 server?
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/