Configure SAMBA Server (Part-1)HARDWARE NETWORKING LINUX SOFTWAREIt Tech Technology

It Tech Technology

COMPUTER HARDWARE NETWORKING

Breaking

Home Top Ad

Post Top Ad

Monday, January 4, 2016

Configure SAMBA Server (Part-1)



Configure SAMBA Server on your Red Hat Enterprise Linux5 (Part-1)
 Configuration Samba as a Stand-alone Server on RHEL5
Samba Server is used to share resources from windows to Linux & also Linux to windows. Samba use CIFS file system which use SMB protocol.
SAMBA Provide following Services:


  • File & Printer Sharing
  • Name Resolution
  • Browsing
  • Authentication & Authorization
Basic Configuration
Step-1: Check samba rpm package is installed or not by following this command:
                       
[[email protected] ~]# rpm -qa | grep –i samba*    or

[[email protected] ~]#  rpm –qa samba*
samba-common-3.0.33-3.14.el5
samba-swat-3.0.33-3.14.el5 
samba-3.0.33-3.14.el5
samba-client-3.0.33-3.14.el5
system-config-samba-1.2.41-5.el5

If not installed then install the packages using yum command

[[email protected] ~]# yum Install samba* -y

Step-2: Check and Configure the Network Card:

[[email protected] ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

(Modified File):

#Broadcom Corporation Net link BCM57875 Gigabyte Ethernet PCI Express
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0C:29: EB: B2: CA
ONBOOT=yes
TYPE=Ethernet

PEERDNS=no

USERCTL=no

IPV6INIT=no

IPADDR=210.207.201.8

NETMASK=255.255.255.0

NETWORK=210.207.201.0

BROADCAST=210.207.201.255

Step-3:  After complete the NIC configure you have to change the host name by following this                             command:

[[email protected] ~]# vi /etc/sysconfig/network

(Modified File):

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=srv1

After changing you have to reload/restart the NIC(eth0) card by following command:

[[email protected] ~]# ifdown eth0

[[email protected] ~]# ifup eth0

[[email protected] ~]# service network restart


Post Bottom Ad