Linux Xubuntu Samba Server Quick Start
You are Welcome! The 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 with Samba in Xubuntu 16.04 Xenial Xerus LTS 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.
Open a Command Line Terminal window
(Press “Enter” to Execute Commands)
How to Install a Samba Server on Xubuntu 16.04 Xenial Linux:Samba Server Installation Guide
On Server Side Edit the Samba Config File.
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Append something Like:
[sharing] 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 :)
Making the Sharing Directory.
chown [myUser]:[myUser] /home/sharing
Change [myUser] with Your User name!
Then Restart Samba & Winbind Services.
service nmbd restart
service smbd restart
Setting Permissions over Shared Contents.
chmod +r /home/[myUser]/sharing/[mySharedFile]
To Set on All Files use
chmod -R +r /home/[myUser]/sharing/*
Find the Server IP on Terminal.
Find the Server IP usually under eth0 >> inet addr: Line
On the Client Side Connect to Server on File Manager:
On a Xubuntu Client it Looks like (For Other OSes Search for Docs/Apps on Google…)
Enter the Server IP as:
Then You should be Happily Connected to Server Sharing Directory :)