How to install and configure samba in ubuntu 11.04 Natty Narwhal and 11.10 oneiric ocelot via GUI
If you want to share files between your Ubuntu and Windows computers, the best option is to use Samba file sharing. In our previous posts, we did show you how to install and configure samba in ubuntu via command line, Today we will do the installation and configuration in ubuntu 10.10 Maverick Meerkat and Ubuntu 11.04 Natty Narwhal via GUI (This Tutorial also works in LinuxMint). There are many tools that make it easy to install and configure samba using a graphical interface, one of them Samba server configuration tool and S.W.A.T.
If you are new to ubuntu:
“Samba is a free software re-implementation of SMB/CIFS networking protocol, originally developed by Australian Andrew Tridgell. As of version 3, Samba provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a domain member. It can also be part of an Active Directory domain.Samba runs on most Unix and Unix-like systems, such as Linux, Solaris, AIX and the BSD variants, including Apple’s Mac OS X Server (which was added to the Mac OS X client in version 10.2). Samba is standard on nearly all distributions of Linux and is commonly included as a basic system service on other Unix-based operating systems as well. Samba is released under the GNU General Public License. The name Samba comes from SMB (Server Message Block), the name of the standard protocol used by the Microsoft Windows network file system. ”
Before to start we need to install samba, you can do that from Ubuntu software center or by command line :
sudo apt-get install samba samba-common
I – Installation and configuration using Samba Server configuration Tool
After samba is installed we need to install the graphical interface System-config samba using the command:
sudo apt-get install system-config-samba
Now we will try for example to share the directory /home/pirat9/Music folder to do that,
First open GUI samba server configuration tool by going to System–> Administration–>Samba
- Edit existing shares
- Add new share
Find more details about the configuration of samba using this tool in our previous post.
II -Installation and configuration using SWAT. Web samba adminitration tool
SWAT is a tool that allows Web-based configuration of Samba. It has a wizard that may help to get Samba configured quickly, it has context-sensitive help on each
smb.conf parameter, it provides for monitoring of current state of connection information, and it allows networkwide MS Windows network password management.
SWAT uses integral Samba components to locate parameters supported by the particular version of Samba. Unlike tools and utilities that are external to Samba, SWAT is always up to date as known Samba parameters change. SWAT provides context-sensitive help for each configuration parameter, directly from
man page entries.
Note : Before using SWAT, please be warned SWAT will completely replace your
smb.conf with a fully optimized file that has been stripped of all comments you might have placed there and only nondefault settings will be written to the file.
To install SWAT open terminal and type the command:
sudo apt-get install swat
This will install SWAT also samba and dependencies.
Now to access SWAT, open your browser and type :
http://your- ip:901 or http://localhost:901
Then use your root login and password
Login admin page:
- Wizard to edit the samba config
- Server Statut:
- View of the actual samba config:
- Changes admin password page
For more posts about the installations and cofiguration of Samba in ubuntu, please read our previous posts.
Note: If you need help please post your problem in the comments and we will help you to resolve the issue.
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Grive: An Unofficial, Open Source Linux Client For Google Drive : A couple of months before, we have featured a Linux client for Google Drive named Syncdrive, which w...2 comments |
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX : Wow! Early last week it was all over the internet, if you haven't heard it yet then this is the t...2 comments |
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- News from Kaspersky Lab: Tor is protecting criminals : In a previous article I wrote a bit about Tor. Free browser, relays bouncing your IP all over the ...1 comment |
- Install Sublime Text 3 In Fedora Easily With Fedy : Sublime Text is a sophisticated text editor for code, markup and prose. In this tutorial we are goi...0 comments |
- How To "Fix E: Could not open file /var/lib/dpkg/status" : QUESTION: I get the following error when I use sudo apt-get update: E: Could not open file /var/...0 comments |
- Adding and Deleting Cluster Resources (corosync pacemaker)
- News from Kaspersky Lab: Tor is protecting criminals
- Install Satis On Ubuntu Sever 13.10/13.04
- How To Access A LVM Drive / Partition in Ubuntu
- How To Disable Remember Open Files in Sublime Text 3
- Install Sublime Text 3 In Fedora Easily With Fedy
- Grive: An Unofficial, Open Source Linux Client For Google Drive
- Install nSnake Game In Terminal
- How To “Fix E: Could not open file /var/lib/dpkg/status”
- Wow! Linux Foundation To Offer Free Linux Course This Summer Worth $2,400 on EdX
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .