Friday, March 7, 2014

Samba Server Installation in Redhat




Samba


Check package: rpm –qa |grep samba

If not available: yum install samba*

If available: service samba start

Check: service smb stats

Check: service portmap status

Check: service xinetd status

chkconfig portmap on

chkconfig xinetd on

Create a share folder: mkdir /home/samba

Give full permission: chmod 777 /home/samba

Check configuration file: vim /etc/samba/smb.conf

Go to final page
[data]
comment = share
path = /home/samba
public = yes
browsable = yes
:wq

Create smb password : smbpasswd –a rajesh

It’s done. Go to windows machine call share through run and give username and password.

No comments: