Easy File Sharing with Smb Quick-Start on Ubuntu 16.04 Xenial LTS Linux

February 15, 2016 | By thelinuxevangelist | Filed in: Tutorial.

Linux Ubuntu Samba Server Quick-Start

The Linux Tutorial Shows You Step-by-Step How-to Getting-Started Easily to Sharing Files/Videos/Pictures over a Linux, Unix, Windows, Mac OS X, Android and iOS Local Network on Ubuntu 16.04 Xenial Xerus LTS 32/64-bit GNU/Linux Desktop.

The Basic Setup Proposed here Skip All the Tricky Steps to Get only Started Quickly and Easily Sharing Stuff on Network!

The Sharing Directory will be in this Simple Case Read-Only to keep always the System Security Invulnerable.

Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients.

Getting-Started with Samba Server on Ubuntu 16.04 Xenial - Featured
  1. Open a Shell Terminal emulator window
    Ctrl+Alt+t on desktop
    (Press “Enter” to Execute Commands)

    Ubuntu smb file sharing - Open Terminal Shell Emulator
  2. How-to Install a Samba Server on Ubuntu 16.04 Xenial Linux:

    Samba Server Installation Guide
  3. On Server Side Edit the Samba Config File

    sudo su

    If Got “User is Not in Sudoers file” then Look: Solution

    nano /etc/samba/smb.conf

    Append something Like:

       comment = Sharing Directory
       path = /home/[myUser]/sharing
       browseable = yes
       read only = yes
       guest ok = yes

    Just Replace [myUser] with your Real username!

    Ctrl+x to Save & Exit from nano Editor :)

  4. Making the Sharing Directory

    mkdir /home/[myUser]/sharing
    chown [myUser]:[myUser] /home/sharing

    Change [myUser] with Your User name!

  5. Restarting Samba & Winbind Services

    service nmbd restart
    service smbd restart
  6. Setting Permissions over Shared Contents

    chmod +r /home/[myUser]/sharing/[mySharedFile]

    To Set on All Files use

    chmod -R +r /home/[myUser]/sharing/*
  7. Find the Server IP on Terminal


    Find the Server IP usually under eth0 >> inet addr: Line
    Samba File Sharing Quick-Start on Ubuntu 16.04 Xenial - Find IP on Terminal

  8. On the Client Side Connect to Server on File Manager:

    On a Ubuntu Client it Looks like (For Other OSes Search for Docs/Apps on Google…)
    Ubuntu 17.03 Rosa Samba File Sharing Quick-Start - File Manager Connect to Server
    Enter the Server IP as:


    Easy File Sharing on Ubuntu 16.04 Xenial with Samba - Enter Server IP
    Then You should be Happily Connected to Server Sharing Directory :)
    Ubuntu 16.04 Samba Connection to Server - Success

Tags: , , , , , , , , , , , , , , , , , , , , , , , , ,