DHCP + tftp + PXE + kickstart enables unattended Automatic System Installation

Source: Internet
Author: User

Yum has been configured in advance

1. Check whether iptableis disabled

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/D6/wKiom1PY1JSiEN0wAAGmHS6y_ig133.jpg "Title =" 18.png" alt = "wkiom1py1jsien0waagmhs6y_ig133.jpg"/>


Ii. Install the DHCP service and modify the configuration

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/C5/wKiom1PYxdGzIxjnAAF8W4VodcU555.jpg "style =" float: none; "Title =" 1.png" alt = "wkiom1pyxdgzixjnaaf8w4vodcu555.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/C5/wKioL1PYxuuh8tfRAAGXEg4VO5g054.jpg "style =" float: none; "Title =" 2.png" alt = "wkiol1pyxuuh8tfraagxeg4vo5g054.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/C5/wKiom1PYxdKxt1xiAAFyvpL9MkU442.jpg "style =" float: none; "Title =" 3.png" alt = "wkiom1pyxdkxt1xiaafyvpl9mku442.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/C5/wKioL1PYxuvRHDpUAAIqTkVEt_w443.jpg "style =" float: none; "Title =" 4.png" alt = "wkiol1pyxuvrhdpuaaiqtkvet_w443.jpg"/>


3. Install TFTP and modify its configuration

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/C7/wKioL1PYyCLBqhxDAAH0GjElASc172.jpg "Title =" 5.png" alt = "wkiol1pyyclbqhxdaah0gjelasc172.jpg"/>


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/C8/wKiom1PYx_Hx4KQ5AAE0hjcvi2w505.jpg "style =" float: none; "Title =" 6.png" alt = "wkiom1pyx_hx4kq5aae0hjcvi2w505.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/C8/wKioL1PYyQvTUaEYAAE7ENQXScQ450.jpg "style =" float: none; "Title =" 7.png" alt = "wkiol1pyyqvtuaeyaae7enqxscq2017.jpg"/>


4. Configure PXE Related Files

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/CB/wKiom1PYymvzJpMRAAI2Hr1c-2U899.jpg "style =" float: none; "Title =" 8.png" alt = "wKiom1PYymvzJpMRAAI2Hr1c-2U899.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/CC/wKioL1PYy4Xw80XrAAD3XFSvLzY651.jpg "style =" float: none; "Title =" 9.png" alt = "wkiol1pyy4xw80xraad3xfsvlzy651.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/D8/wKiom1PY1qXjdOGRAAGIoFpFvEE949.jpg "Title =" 19.png" alt = "wkiom1py1qxjdograagiofpfvee949.jpg"/>


5. Use System-config-Kickstart to generate the automatic installation configuration file. Here I implement it based on HTTP.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/42/D1/wKiom1PYzynBDSGQAAGaTl1TSLs272.jpg "style =" float: none; "Title =" 10.png" alt = "wkiom1pyzynbdsgqaagatl1tsls272.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/D1/wKioL1PY0EPDeFH3AAESRr4PcrU934.jpg "style =" float: none; "Title =" 11.png" alt = "wkiol1py0epdefh3aaesrr4pcru934.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/D3/wKioL1PY0jTRaO-3AAMbM24o_dM925.jpg "style =" float: none; "Title =" 12.png" alt = "wKioL1PY0jTRaO-3AAMbM24o_dM925.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/D3/wKioL1PY0jWTHTtmAAHD-Krh4Ns343.jpg "style =" float: none; "Title =" 13.png" alt = "wKioL1PY0jWTHTtmAAHD-Krh4Ns343.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/D3/wKiom1PY0RvjJpTYAALsZn2gYDQ151.jpg "style =" float: none; "Title =" 14.png" alt = "wkiom1py0rvjjptyaalszn2gydq151.jpg"/>

6. Modify the/var/lib/tftpboot/pxelinux. cfg/default file

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/DA/wKiom1PY2GuSHIXUAAGfqB5EJTk327.jpg "Title =" 21.png" alt = "wkiom1py2gushixuaagfqb5ejtk327.jpg"/>

7. Put the image under the HTTP directory

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/D5/wKioL1PY1PHACLCBAAHwNf_88QU763.jpg "Title =" 16.png" alt = "wkiol1py1phaclcbaahwnf_88qu763.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/42/D6/wKioL1PY1cLhPSwwAANLHelzWrg504.jpg "Title =" 17.png" alt = "wkiol1py1clhpswwaanlhelzwrg504.jpg"/>

8. Installation test

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/E3/wKiom1PY5UWSUd6oAAPr5VENuAI326.jpg "Title =" 25.png" alt = "wkiom1py5uwsud6oaapr5venuai326.jpg"/>



650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/42/E3/wKiom1PY5abTg5ROAAEPbQU8kz4203.jpg "Title =" 1.jpg" alt = "wkiom1py5abtg5roaaepbqu8kz4203.jpg"/>




OK





This article from the "broken knife" blog, please be sure to keep this source http://90sec.blog.51cto.com/7404127/1532962

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.