Linux Network Installation Introduction 2 installation and configuration of tftp, nfs, and dhcp

Source: Internet
Author: User

Linux Network Installation Introduction 2 installation and configuration of tftp, nfs, and dhcp, here we will introduce the installation and configuration of services used during network installation. This article is based on redhat6.0. The yum source has been configured by default. For details, refer to my blog on yum configuration. The following are based on root users. 1. install and configure the tftp service and install the xinetd service to manage the tftp service. The installation command is as follows: [plain] yum configure tftp: [plain] vim/etc/xinetd. d/tftp add disable = no modify server-args =-u nobody-s/tftpboot, where tftpboot is a folder in the root directory of the system and can be named freely, however, it must be consistent with the configuration here, and use the system boot area for network installation. 2. installation and configuration of dhcp service installation instructions: [plain] yum configure dhcp [plain] vim/etc/dhcp/dhcpd. the conf content is as follows: [plain] ddns-update-style interim; ignore client-updates; allow booting; allow bootp; subnet 192.168.1.0 netmask implements 255.255.0 {range dynamic-bootp 192.168.1.10 192.168.1.80; # The ip address here is the ip address range to be broadcast. Check the number of computers to be installed on the network. option rooters 192.168.1.201; # enter the gateway address option subnet-mask 255.255.255.0; # Subnet Mask option broadcask-address 192.168.1.255; d Efault-lease-time 21600; max-lease-time 43200; next-server 192.168.1.92; # the tftp IP address filename "pxelinux.0";} pay attention to the details, we recommend that you do not modify the name of the pxelinux.0 file. This document will be discussed later. 3. Mount the iso file to the/mnt/OS folder. If this folder does not exist, create a new one. Command: [plain] mkdir/mnt/OS mount-o loop redhat. iso/mnt/OS 4. install and configure nfs service commands: [plain] yum configuration: [plain] vim/etc/exports Add the following content: [plain]/mnt/OS * (ro)/tftpboot * (ro) 5. Install the syslinux service and find the pxelinux.0 file, copy to the/tftpboot directory 6. copy the files in isolinux and boot in iso to the/tftpboot directory and set kickstart. copy cfg to/tftpboot. 7. Create pxelinux in/tftpboot. cfg folder. copy the cfg file to pxelinux. in cfg, the name is default8. After editing the default file, add [plain] ks = nfs: 192.168.1 to label linux. 92:/tftpboot/kickstart. cfg ksdevice = System etho. The basic service configuration is complete.

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.