Pxe+tftp+vsftp+dhcp+kickstart Unattended automatic installation Rhel 5

Source: Internet
Author: User
Tags log log

1. Install and configure: DHCP service:

1) Yum list |grep DHCP

2) yum Install dhcp*-y

3) Edit/etc/dhcpd.conf

√RPM-QL DHCP

√ Find dhcpd.conf.example This file, copy to/etc, replace dhcpd.conf

Cp/usr/share/doc/dhcpd.conf.example/etc/dhcpd.conf

√vim/etc/dhcpd.conf

Modified as follows: (note the red part)

***********************************************************************

Ddns-update-style Interim;

Ignore client-updates;

Subnet 192.168.1.0 netmask 255.255.255.0 {

#---Default gateway

Option routers 192.168.1.1;

Option Subnet-mask 255.255.255.0;

# option Nis-domain "domain.org";

# option Domain-name "domain.org";

# option Domain-name-servers 192.168.1.1;

Option time-offset-18000; # Eastern Standard Time

FileName "pxelinux.0";

Next-server 192.168.1.88;

# option Ntp-servers 192.168.1.1;

# option Netbios-name-servers 192.168.1.1;

#---Selects point-to-point node (default is hybrid). Don ' t change this unless

#--You understand Netbios very

# option Netbios-node-type 2;

Range DYNAMIC-BOOTP 192.168.1.100 192.168.1.120;

Default-lease-time 21600;

Max-lease-time 43200;

# We want the nameserver to appear in a fixed address

Host NS {

Next-server marvin.redhat.com;

Hardware Ethernet 00:16:d3:07:68:27;

Fixed-address 192.168.1.88;

}

}

***************************************************************************

√chkconfig DHCPD on

√service dhcpd Restart

√ If the error is not correct, check log log, cat/var/log/message

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.