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 introduction is based on redhat6.0. The yum source has been configured by default. it is unclear... 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.
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.