Page 268 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 268

Network Operating Systems-I




                    notes          These installation instructions assume
                                   1.   The Commands are Unix-compatible.

                                   2.   The source path is /var/tmp, other paths are feasible.
                                   3.   Installations were tested on Red Hat Linux 6.1 and 6.2.
                                   4.   All steps in the installation will happen in super-user account root.
                                   5.   Samba version number is 2.0.7
                                   Samba is a suite of utilities that let your Linux box to share files and other resources, such as
                                   printers, with Windows boxes. This chapter describes how you can make your Linux box into
                                   a Windows Primary Domain Controller (PDC) or a server for a Windows Workgroup. Either
                                   configuration will allow everyone at home to have:
                                   1.   They have logins on all the home windows boxes whereas having their files on the Linux
                                       box appear to be located on a new Windows drive

                                   2.   Shared access to printers on the Linux box
                                   3.   Shared files accessible simply to members of their Linux user group.
                                   Linux functionality doesn’t vanish when you do this. Samba Domains and Linux share the same
                                   usernames so you can log into the Samba based Windows domain using your Linux password and
                                   immediately gain access to files in your Linux user’s home directory. For added security you can
                                   make your Samba and Linux passwords different.
                                   When it starts up, and with every client demand, the Samba daemon reads the configuration file
                                   /etc/samba/smb.conf to conclude its various modes of operation. You can make your own smb.
                                   conf using a text editor or the Web-based SWAT utility which is easier. Keep in mind, however,
                                   that if you create /etc/samba/smb.conf with a text editor then subsequently use SWAT to edit
                                   the file, you will lose all the comments you inserted with the text editor.




                                      Task     Write the configuration file to conclude its various modes of operation.


                                   14.2.1 Download and install packages

                                   Samba  can  do  for  you  and  your  users,  it’s  time  to  get  your  own  network  set  up.  Let’s  start
                                   with the installation of Samba itself on a Unix system. When dancing the samba, one learns by
                                   taking small steps. It’s just the same when installing Samba; we need to teach it step by step.
                                   For illustrative purposes, we will be installing the 2.0.4 version of the Samba server on a Linux
                                   system running version 2.0.31 of the kernel. However, the installation steps are the same for all
                                   of the platforms that Samba supports. A typical installation will take about an hour to complete,
                                   including downloading the source files and compiling them, setting up the configuration files,
                                   and testing the server.
                                   If you haven’t heard of Linux yet, then you’re in for a treat. Linux is a freely distributed Unix-like
                                   operating system that runs on the Intel x86, Motorola PowerPC, and Sun Sparc platforms. The
                                   operating system is relatively easy to configure, extremely robust, and is gaining in popularity.
                                   On the other hand, if you want to download the latest version, the primary web site for the
                                   Samba  software  is  http://www.samba.org.  Once  connected  to  this  page,  you’ll  see  links  to
                                   several Samba mirror sites across the world, both for the standard Samba web pages and sites
                                   devoted exclusively to downloading Samba. For the best performance, choose a site that is closest
                                   to your own geographic location.




          262                              LoveLy professionaL university
   263   264   265   266   267   268   269   270   271   272   273