You can install Samba either automatically or manually using Red Hat Linux. During installation, select DOS/Windows Connectivity to automatically install the Samba RPMs[1].
If you do not select this option, you can install them manually with the following RPMs:
samba-(version).(arch).rpm
samba-client-(version).(arch).rpm
samba-common-(version).(arch).rpm
You will need to replace (version) and (arch) with the latest version and architecture, respectively, from your Red Hat Linux CD-ROM. For example, the 2.0.7 Intel RPMs are samba-2.0.7.i386.rpm, samba-client-2.0.7.i386.rpm, and samba-common-2.0.7.i386.rpm
.
Configuring Samba
Once Samba is installed, you must configure it to your needs. To tailor Samba to your specifications, you will need to modify two major sections of /etc/smb.conf, the Samba configuration file.
The first, called "global shares," affects Samba's overall behavior. The second, called simply "shares," affects only specific shared resources.
To familiarize yourself with Samba's configuration file, roll your mouse over the highlighted lines to see explanations for each main section of the file.
Samba Configuration File
Some configuration options can appear in both the global and the specific share sections. When options appear in the global section, the option affects the entire program. When options appear in a specific share section, the option affects only that shared resource. Because Samba provides many configuration choices, you should read the entire smb.conf man page before modifying the default configuration. In the next lesson, you will learn about shares, homes, and printing.
[1]RPM: An acronym for Red Hat Package Manager, RPMS is a standard source and binary distribution format.