How To Setup Samba For File Sharing Between Window and Linux

It's real simple to setup Samba to access Linux's folders from Window and vice versa.


1.  Install Samba


[root@si01 yum.repos.d]# yum install samba

2.  Configure Samba by adding the below lines in /etc/samba/smb.conf file
[Sharefolder]
path = /apps/oracle/software/share
available = yes
valid users = oracle
read only = no
browsable = yes
public = yes
writable = yes

3.  Restart Samba service
 /etc/init.d/smb restart
Starting SMB services:                                     [  OK  ]
Starting NMB services:                                     [  OK  ]

4.  Set password to login
[root@si01 software]# smbpasswd -a oracle
New SMB password:
Retype new SMB password:

5.  From the window you can map the drive to the linux server.  That's all you have to do.

No comments:

Post a Comment