Saturday, January 3, 2009

DHCP & NFS Configuration in RHEL5

RHEL 5

 

DHCP Server Configuration

 

Step1  :           # rpm –q dhcp*

                        # rpm –ivh dhcp*

Step 2 :           # cd /usr/share/doc/dhcp-3.0.1

# ls

                        # dhcpd.conf.sample

                        # cp dhcpd.conf.sample /etc/dhcpd.conf

Step 3 :           # vi /etc/dhcpd.conf

                       

                        option domain-name           dns      server ip

                        range  172.24.0.10     172.24.0.20

Step 4 :                       # vi /etc/sysconfig/network-scripts/ifcfg-eth0

                        onbootpro=static

Step 5 :           # service dhcpd restart

                        # chkconfig dhcpd on

 

Client Configuration

 

# vi /etc/sysconfig/network-script/ifcfg-eth0

onbootpro=dhcp                                                                 

 

 


NFS Server Configuration

 

Step1  :           # rpm –ivh nf*

Step 2 :           # vi /etc/exports

/test *(rw,sync)

:wq

                        Step3  :           # exportfs –av

                        Step4  :           # service portmap restart

                                                # chkconfig portmap on

                        Step 5 :           # service nfs restart

                                                # chkconfig nfs on


Client Configuration

 

Step1  :           # mount 172.24.0.254:/test /mnt

                        # cd /mnt               


2 Comments:

Jimmy said...

nice blog

Site Update Daily Visit Now And Register

Link Forward 2 All Friends

shayari,jokes,recipes and much more so visit

http://www.discobhangra.com/shayari/

http://www.discobhangra.com/create-an-account.php

Unknown said...

excellent blog
many many thanks for your site.
please post apche and mail server configuratio.