Changes

Jump to: navigation, search

OPS235 Lab 8

188 bytes removed, 09:08, 18 November 2016
no edit summary
# Switch to your '''centos3''' VM.<br><br>The version of DHCP server that comes with CentOS is maintained and distributed by the '''Internet Software Consortium''' (http://www.isc.org). The source package that you can download from ISC includes not only the DHCP server, but also a DHCP client and a DHCP relay agent. CentOS separates it into two RPM packages: the DHCP client package and the DHCP server package. The DHCP client package is installed by default by the workstation installation.<br><br>
# To check that you have <b>dhclient</b> installed, enter the command:
#:: <b><code><span style="color:#3366CC;font-size:1.2em;">rpm -q dhclientqla dhcp</span></code></b># If the package is not installedthere are no files displayed, you will get the message ''"package dhclient is not installed"'', otherwise, you will get the version information of the rpm package. Install the <b>dhclient</b> package if it was not installed.# Issue then issue the following command to install the dhcp server package: <b><code><span style="color:#3366CC;font-size:1.2em;">yum install dhcp</span></code></b># Enter Again, enter the command to list all the files installed from the DHCP server package by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">rpm -qla dhcp</span></code></b>
# which file appears to be a sample (example) '''configuration file for dhcpd.conf'''?
# Copy the '''dhcpd.conf.example''' file to the '''/etc/dhcp''' directory making sure it is named: '''/etc/dhcp/dhcpd.conf'''
13,420
edits

Navigation menu