Install linux on PXE network

Source: Internet
Author: User
In Windows, the user-created TFTP + DHCP + HTTPserver is installed with the CENTOS6.3-64bit system through PXE + VNC.

PXELinux installation on the network is like this: Started by the installed client PXE Nic --> broadcast dhcp requests through the Bootp protocol --> DHCP server --> get IP address, TFTP server address --> Download pxelinux.0 and vmlinuz and initrd from TFTP. img --> start the system --> go to the specified url to download the installation file --> go to the NFS/HTTP/FTP server to automatically download the software package and install the system --> complete the installation.

HTTP server is mainly used to publish the installation tree for linux systems (NFS, FTP, or HTTPS can also be used ), the DHCP server assigns an ip address to the client and provides the TFTP server address and the PXE startup file location. the TFTPserver provides the boot file for the client. The three services can be installed on the same laptop or on three different devices.

II. preparations:

1.Hardware: a laptop with Windows operating system, a board, a network cable, an RJ45 to console line, and a USB to serial port device.

2.Software: creating (TFTP + DHCP server))), tftpd32.exe (HTTP server), securecrtor putty() ))).exe, vnc.exe (enables the notebook as the display terminal ).

III. practical steps:

1. Create a folder named tftpserver on disk D, and create two other folders named centos6.3 and pxelinux respectively. cfg; use the UltraISO tool to extract CENTOS6.3-64bit. iso to the centos6.3 Directory, copy centos6.3/images/scripts and vnc.exe to the tftpserver directory, and copy pxelinux.0 to the tftpserver directory. (Obtained by pxelinux.0, run yum-y install syslinux in a CENTOS6.3-64bit system, and then find pxelinux.0 under/usr/share/syslinux, the premise is that the yum source can be used)

 

2.Centos6.3/isolinux. copy cfg to tftpserver/pxelinux. under cfg, rename it as default, open it with the WordPad, and change the content to: 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 and exit, for example:

3.Enable tftpd32 and configure tftpserver, for example:

4.Enable tftpd32 and configure the dhcpserver, for example:

5.Enable easywebsrv, configure httpserver, and start, as shown in figure

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

7.Select the PXE network port eth0 to go to the page, as shown in:

8.Select the URL to go:

9.InputHttp: // 192.168.0.123,Select OK:

10. Open vnc.exe, enter 192.168.0.15: 1, and Click Connect.

11.After you click the link, the CENTOS graphic installation interface will appear. for example, continue to install until the installation is complete.

 

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

Related Article

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.