Friday, August 22, 2008

Installing and Configuration Ubuntu Samba Server

To install the packages required to run and monitor a Samba server on your Ubuntu system, start the Synaptic Package Manager from the System -> Administration menu, and click Search to display the search dialog. Make sure that Names and Descriptions are the selected items to look in, enter samba as the string to search for, and click Search. After the search completes, scroll down until you see the samba-common and samba-server packages, right-click each of these packages and select Mark for Installation from the pop-up menu. You may also want to select the samba-doc and samba-doc-pdf packages, which respectively provide HTML and PDF versions of all of the official Samba project documentation, plus an online copy of a book entitled.

Depending on what software you have previously installed on your Ubuntu system and what you select in Synaptic, a dialog may display that lists other packages that must also be installed, and ask for confirmation. When you see this dialog, click Mark to accept these related (and required) packages. Next, click Apply in the Synaptic toolbar to install the Samba server and friends on your system. Once the installation completes, you’re ready to share data with any system that supports NFS.

Samba Server Configuration Essentials
At the moment, the absence of a graphical tool for setting up and configuring Samba on Ubuntu systems is a rather glaring omission to the standard user-friendliness that Ubuntu users have come to expect. I’m not the only person to have noticed this, and there are active discussions on various Ubuntu lists and forums about developing such a tool. However, for the time being, you must do your initial Samba configuration in the aging but tried-and-true Linux way—by editing configuration files using a text editor. Samba’s configuration file is /etc/samba/smb.conf. The Samba configuration file contains many helpful comments, which are lines beginning with a hash mark. It also contains many sample, inactive configuration commands, which are lines beginning with a semicolon. These indicate configuration commands that you may want to activate by removing the leading semicolon.

Editing the file /etc/samba/smb.conf to configure Samba is actually quite simple, but is also somewhat inelegant when compared to the rest of the system administrative environment provided by Ubuntu Linux.

Regardless of whether a graphical tool for Samba setup and configuration is available by the time that you read this (check the System -> Administration menu), the information in this section still applies, and it’s actually quite useful to have some insights into where Samba configuration information is stored, and how the primary Samba configuration file is organized.

Web-based system administration tools such as swat (Samba Web Administration Tool) and webmin (a more generalized Web-based administrative environment) are available from the Ubuntu repositories, but require special configuration before they’ll work correctly in the Ubuntu environment. Rather than taking the conceptual detour of explaining how to use these tools, I’ll continue to wait for a desktop GNOME/Ubuntu solution for Samba setup and configuration. After all, KDE already has such a tool in its Control Center—and GNOME can’t (or shouldn’t be) far behind.

>>> Read more about Samba Server <<<

Source of Information : Ubuntu Linux - Bible

No comments: