Windows environment, self-built tftp+dhcp+http server, install Centos6.3-64bit system through PXE+VNC

Source: Internet
Author: User
Tags get ip

PXE Network Installation Linux is like this: The client PXE NIC is installed to start-broadcast DHCP requests through the BOOTP protocol-->DHCP server-get IP,TFTP server address--download from TFTP  pxelinux.0 and system kernel files Vmlinuz, initrd.img--> boot System--to the specified URL to download the installation files--to the NFS/HTTP/FTP server automatically download the package, install the system--complete the installation.

The primary use of the service used by HTTP Server to publish a Linux system installation tree (also can use NFS, FTP or HTTPS), DHCP The server assigns IP to the client and provides the TFTP server address and PXE boot file location, Tftpserver provides the boot file for the client. Three services can be installed on the same laptop, or can be installed on three different devices.

Ii. Preparatory work:

1. Hardware: A notebook with Windows system, a board card, a network cable, a RJ45 to the console line, a USB-to-serial device.

2. Software: Centos6.3-64bit.iso system installation files, UltraISO (for extracting ISO files), EasyWebSvr.exe (built TFTP+DHCP server), Tftpd32.exe (built for HTTP server), SECURECRT or putty (serial output display), VNC.exe (Enable notebook for display terminal).

Third, practical steps:

1 . Build a folder in D, named Tftpserver, and create two more folders under this folder, named centos6.3 and Pxelinux.cfg, respectively; Use the UltraISO tool to extract the Centos6.3-64bit.iso into the centos6.3 directory ; centos6.3/images/ Initrd.img and Vmlinuz under Pxeboot are copied to the Tftpserver directory, and Easywebsvr.exe,tftpd32.exe and VNC.exe are copied to the Tftpserver directory; Copy the pxelinux.0 to the Tftpserver directory. (pxelinux.0 get, under an already installed Centos6.3-64bit system, run yum-y install Syslinux, and then/usr/share/syslinux/to find pxelinux.0, if the Yum source to be able to use)


2. Copy the centos6.3/isolinux/isolinux.cfg to the tftpserver/ Pxelinux.cfg, rename to default, open with WordPad, modify its contents as: Default Vmlinuz console=ttys0,115200n8 initrd=initrd.imgramdisk_ size=5242880 root=/dev/ram0 vnc ip=192.168.0.15netmask=255.255.255.0 =us edd=off pci=noacpi

Save exit, such as:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/6F/wKiom1Xjyj_DAB4-AAHgm0Mhy_Y913.jpg "title=" 1.jpg " alt= "Wkiom1xjyj_dab4-aahgm0mhy_y913.jpg"/>

3. Open tftpd32, configure Tftpserver, such as:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/6C/wKioL1XjzIiQ2JoXAAHdHLT_ltI726.jpg "title=" 2.jpg " alt= "Wkiol1xjziiq2joxaahdhlt_lti726.jpg"/>

4. Open tftpd32, configure dhcpserver, such as:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/6F/wKiom1XjynmjBPzIAAF_26FsZP8754.jpg "title=" 3.jpg " alt= "Wkiom1xjynmjbpziaaf_26fszp8754.jpg"/>

5. Open easywebsrv, configure Httpserver, and start, as

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/6C/wKioL1XjzKTDuXoTAAEiLwh3ycE550.jpg "title=" 4.jpg " alt= "Wkiol1xjzktduxotaaeilwh3yce550.jpg"/>

6 . start the MIC-5332, open the serial port output terminal in the notebook, 2 minutes or so will appear as shown:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/6C/wKioL1XjzK-h76R5AAER8dTALdM391.jpg "title=" 5.jpg " alt= "Wkiol1xjzk-h76r5aaer8dtaldm391.jpg"/>

7. Select the PXE port eth0, and enter the following:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/6F/wKiom1XjyqCwZQR4AAEpnWoTjXw721.jpg "title=" 6.jpg " alt= "Wkiom1xjyqcwzqr4aaepnwotjxw721.jpg"/>

8. Select URL Entry as shown:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/6F/wKiom1Xjyq3QLwAtAAEzOoMCxVA210.jpg "title=" 7.jpg " alt= "Wkiom1xjyq3qlwataaezoomcxva210.jpg"/>

9. Enter http://192.168.0.123, Select OK to enter the following:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/6F/wKiom1XjytnTeVpfAAEmHLAjubg194.jpg "title=" 8.jpg " alt= "Wkiom1xjytntevpfaaemhlajubg194.jpg"/>

Ten . Open VNC.exe, enter 192.168.0.15:1, point to connect

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/6F/wKiom1XjyumQ2bHLAAFsBdu5prs668.jpg "title=" 9.jpg " alt= "Wkiom1xjyumq2bhlaafsbdu5prs668.jpg"/>

One by one . the CentOS Graphical Installation interface appears when you finish the connection, for example, continue installation until completed

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/6F/wKiom1XjyviBZETNAAEw22J8jHs941.jpg "title=" 10.jpg "alt=" Wkiom1xjyvibzetnaaew22j8jhs941.jpg "/>


: http://down.51cto.com/data/2088846

This article is from the "Initialization status" blog, declined reprint!

Windows environment, self-built tftp+dhcp+http server, install Centos6.3-64bit system through PXE+VNC

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.