SAMBA

Install all samba packages

               # yum install samba*

 

Start the service of Samba

               # service smb start

 

Ping the PC and check for the connectivity

               # ping client-ip-address (From server machine)

               # ping server-ip-address (From client machine)

 

Create Users in Linux System

               # useradd username

 

Execute following command

               # smbpasswd -a username

 

Create share folder in any drive except “root” or “/”

               # mkdir /mnt/sharefolder

 

Edit file - /etc/samba/smb.conf

    [sharefolder]

         path = /mnt/sharefolder

         valid users = username

         writeable = yes

 

Stop the iptables and firewall

               # service iptables stop

               # service firewall stop

 

In Windows system

               i) Go to, My Computer.

               ii) In Address bar, type ip-address of server

               iii) Put username and password, start accessing the document.


Comments