A basic network construction--Build a DHCP server
Refer to: http://luzhi1024.blog.51cto.com/8845546/1655443
1 Modifying the ip:/etc/sysconfig/network-scripts/ifcfg-eth0 of a server
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/5A/wKioL1V6Q8yiEIKBAAFHr3LD1SE071.jpg "title=" ip.png "alt=" Wkiol1v6q8yieikbaafhr3ld1se071.jpg "/>
2 Restarting the network
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/5E/wKiom1V6Qx2gYr4zAAEoPl-3um8084.jpg "title=" cq.png "alt=" Wkiom1v6qx2gyr4zaaeopl-3um8084.jpg "/>
3 viewing eth0 NIC information
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/5E/wKiom1V6QzODX-c4AAGvX2HhQlc183.jpg "title=" Etho.png "alt=" Wkiom1v6qzodx-c4aagvx2hhqlc183.jpg "/>
4 Installing the DHCP Service pack
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/5E/wKiom1V6Q97DijuXAAEkXZJdirc416.jpg "title=" Idhcp.png "alt=" wkiom1v6q97dijuxaaekxzjdirc416.jpg "/>5 Creating a DHCP service configuration file
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/5F/wKiom1V6Sq6yFGy6AAEyy4Zbmzw533.jpg "title=" Dhc.png "alt=" Wkiom1v6sq6yfgy6aaeyy4zbmzw533.jpg "/>
6 Setting DHCPD Boot
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/5F/wKiom1V6S2DjIz9SAADImkArDms680.jpg "title=" Dhk.png "alt=" Wkiom1v6s2djiz9saadimkardms680.jpg "/>
7 to see if UDP 67 ports are turned on
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/60/wKiom1V6WECw1nyIAACIf52FC_o020.jpg "title=" Ndhcp.png "alt=" Wkiom1v6wecw1nyiaacif52fc_o020.jpg "/>
Description: DHCP service occupies Port 67th, the predecessor of DHCP is BOOTPS this protocol
Two sets of TFTP service platform
1 Installing TFTP
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/5B/wKioL1V6TiigEQ50AAC8YZhfwSQ334.jpg "title=" TFTP installation. png "alt=" wkiol1v6tiigeq50aac8yzhfwsq334.jpg "/>
2 Editing the TFTP configuration file
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/5F/wKiom1V6T13j0YxBAAIqCSXAd-Y528.jpg "title=" Tftpc.png "alt=" Wkiom1v6t13j0yxbaaiqcsxad-y528.jpg "/>
3 Starting the TFTP service
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/5F/wKiom1V6UlGjW9oKAAEQz3WkZRk240.jpg "title=" Ftpx.png "alt=" Wkiom1v6ulgjw9okaaeqz3wkzrk240.jpg "/>
4 Check if the TFTP service is listening, UDP 69 port
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/60/wKiom1V6WMeTwwoIAACVOtS1uu4728.jpg "title=" Tftp.png "alt=" Wkiom1v6wmetwwoiaacvots1uu4728.jpg "/>
Description
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/5C/wKioL1V6WpSxab-3AAB6VgkC_rM136.jpg "title=" 69.png "alt=" Wkiol1v6wpsxab-3aab6vgkc_rm136.jpg "/>
5 Testing
Publish a test.file file in the root directory of tftp-server and download
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/60/wKiom1V6WofCBji5AAH5AIty_nw466.jpg "title=" Tftpx.png "alt=" Wkiom1v6wofcbji5aah5aity_nw466.jpg "/>
---END----
Three-building HTTP service Platform
1 Installing the HTTPD service
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6E/60/wKiom1V6WzzC0mnWAACj1Smh1E0369.jpg "title=" Httpd.png "alt=" Wkiom1v6wzzc0mnwaacj1smh1e0369.jpg "/>
2 Set boot up
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/5C/wKioL1V6XX_RxjMsAAFZyzDtA_s954.jpg "title=" Httpqid.png "alt=" Wkiol1v6xx_rxjmsaafzyzdta_s954.jpg "/>
3 to see if the port is open
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/5C/wKioL1V6XjjQX0tkAADAz89XorI893.jpg "title=" Nhttp.png "alt=" Wkiol1v6xjjqx0tkaadaz89xori893.jpg "/>
4 Verification
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/60/wKiom1V6XM6SRkiVAANWsJt1RcQ443.jpg "title=" Yanzhttp.png "alt=" Wkiom1v6xm6srkivaanwsjt1rcq443.jpg "/>
You can successfully access the Web service, success.
Quad Build PXE service environment
1 Installing the Syslinux package
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/5C/wKioL1V6X-Kw8_MEAACL7TOI79o484.jpg "title=" Syslinux11.png "alt=" Wkiol1v6x-kw8_meaacl7toi79o484.jpg "/>
2 Locate the path to the Pxelinux.0,menu.c32 file and copy it to the root of the tftp-server, and create the Pxelinx.cfg directory
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/60/wKiom1V6Yh2zZv24AAB_bbU741U070.jpg "title=" 1111. PNG "alt=" wkiom1v6yh2zzv24aab_bbu741u070.jpg "/>
Copy to/tfrpboot:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/60/wKiom1V6YsuTqmcWAAEEOcyFiGA788.jpg "title=" 22222. PNG "alt=" wkiom1v6ysutqmcwaaeeocyfiga788.jpg "/>
To create the Pxelinux.cfg directory:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/5C/wKioL1V6ZUTxAkIdAAE1kGMnLHo285.jpg "title=" 33333333.png "alt=" Wkiol1v6zutxakidaae1kgmnlho285.jpg "/>
3 Copy the initrd.img and Vmlinuz from the system CD images/pxeboot/directory to the root of the Tftp-server
Mount the System CD:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/5C/wKioL1V6Zq_Ss2MwAACZ-pev6iw642.jpg "title=" 444444.png "alt=" Wkiol1v6zq_ss2mwaacz-pev6iw642.jpg "/>
Copy initrd.img Vmlinuz:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6E/60/wKiom1V6ZmXjYW4pAACXzz6Td5c400.jpg "title=" 555. PNG "alt=" wkiom1v6zmxjyw4paacxzz6td5c400.jpg "/>
Five Create Kickstart files
1 Installing System-config-kickstart
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6E/60/wKiom1V6Z06wks1oAACln_kpbS0147.jpg "title=" 666666666666666.png "alt=" Wkiom1v6z06wks1oaacln_kpbs0147.jpg "/>
2 Creating a configuration file from System-config-kickstart
Start: [[email protected]/]# System-config-kickstart
This article is from the "Tiandaochouqin" blog, make sure to keep this source http://luzhi1024.blog.51cto.com/8845546/1661163
Automated installation and deployment of PXE-based Linux systems (illustrated)