Tired of paying hundreds of dollars for commercial file serversoftware? Looking for an application that lets you share *NIX andWindows files seamlessly across a network? Say hello to Samba, softwarethat's so cool, it'll make you want to kick up your heels and dance,dance, dance!
The first order of business to install Samba on the Linux box you plan to use as a server. Drop by the official Samba Web site at http://www.samba.org/ and get yourself the latest stable release of the software (this tutorial uses Samba 2.2.5).
Once you've downloaded the source code archive to your Linux server (mine is named "olympus.melonfire.com"), log in as "root"
$ su -
Password: ****
and extract the source to a temporary directory.
$ cd /tmp
$ tar -xzvf /home/me/samba-2.2.5.tar-gz
Next, configure the package using the provided "configure"
script,
$ cd /tmp/samba-2.2.5
$ ./configure
and compile and install it.
$ make
$ make install
Unless you specified a different path to the "configure"
script, Samba will have been installed to the directory "/usr/local/samba".
You can verify this by doing a quick directory scan of that directory - here's what you should see.