Service
|
:
|
dhcp
|
Find File
|
:
|
#
cd /Media/<Folder located name> (if using Fedora CD)
#
ls | grep <file name> ( using for grabbing file only)
|
Install
|
:
|
#
yum install dhcp (if there is NO dhcp in fedora packages)
#
rpm –ivh <dhcp file> (if there is dhcp in fedora packages)
|
Check Status
|
:
|
# rpm –q dhcpd
|
Up service
|
:
|
#
service dhcpd status – check status
# service dhcpd start – start service
# service dhcpd restart – restart service
#
service dhcpd stop - stop service
|
Parameter
|
:
|
vim /etc/dhcpd.conf –
modify dhcp scope
|
Additional info:
SELinux turn off
|
:
|
#
vim /etc/selinux/config
set selinux = disabled (reboot pc after
set)
|
IPtables (firewall) turn off
|
:
|
#
service iptables stop
(Also can set by using command #setup service
tool)
|
Uninstall dhcpd
|
:
|
#
yum uninstall dhcpd
#
rpm –e dhcpd
|