Downloads can take the form of “tarballs” or “rpms”. You probably have your preferred method of installing Linux packages.
You can download the latest stable version of SAMBA from http://samba.org.
As an example, if you download the latest tarball, you will need to “unzip” the file using the the “tar” command as follows:
tar –vzxf samba-3.0.23d.tar.gz
Once you have extracted this file, browse to the directory created and do what you would normally do when installing an app from a tarball. In this case, browse to the source directory type “./configure”, then “make” and finally “ make install”.
Once the installation is complete you will need to start the SAMBA services
/etc/init.d /smb start
/etc/init.d /nmb start
Some Linux distributions will start both services with one command “/etc/init.d/smb start”
Overview
The main configuration file you will be accessing will be the /etc/samba/smb.conf file. Below is an example of a simple “Stand alone” SAMBA server, have a look at the basic structure. The lines that start with “#” are not read by SAMBA and are there for the benefit of any human who is reading the file. The different sections are often called stanzas .