Jul
11
2010

How to install Samba server on red hat or fedora linux server

Triying to share files to windows server by network, one way is using a samba server.

sudo yum install samba samba-client

Edit config file, edir the [glocal] config setting the WORKGROUP, and the networks interfaces allow to the samba service and on the end of the config file  check the access for the share files mappping. Remenber that the shared files has to be permission for the group.

sudo gedit /etc/samba/smb.conf

Create a samba user with an already user from the OS linux

sudo smbpasswd -a OLD_USER

Start samba service

sudo /etc/init.d/smb start

Check startup Samba service

/sbin/chkconfig --list smb

Enable samba service in startup server (just in case)

Enable samba service on FIrewall

system-config-firewall

Enable samba service on SELinux, go to Boolean Menu and enable samba

 system-config-selinux

Test Samba access from localhost with OLDUSER

smbclient -L localhost -U OLDUSER

Written by doutdex in: Centos,Fedora,Linux,Red Hat | Tags: , , , ,

No Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

%d bloggers like this: