Automated kickstart install linux system

1. Before the experiment to understand

The computer is also installed operating system in the disk inside the disk track and sector is composed of
partition: a partition inside the system, managed by the system, but the system is also disk inside
end head default position: the beginning of track 0 Default Read the position of
the boot disk bootloader program causes the head reads 0 c disc, the system starts
in the zero track, there is a procedure called pxelinux
when starting the computer, the program guides pxelinux heads start to read the information, also known as the service start pxe
2. experimental ideas
use a virtual machine to the host server to install the system, you need the following operations on a virtual machine:
build dhcp server: a new system to assign dynamic ip
open service http: provides share to the new system, read the ks.cfg file to install the system by sharing yum install official source software and third-party software
to open service tftp: tftp is a simple text transfer protocol, a simple text transfer, the port number for the service is 69
off the firewall: to be shared, in order to guide another host
create a profile pxe default
3. experimental procedure
1.yum install httpd system-conf ig-kickstart dhcp -y
edit module dhcp
Automated kickstart install linux system
edit module http
edit kickstart module (select parameter, stored at the shared apache / var / www / html / directory)
Automated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux systemAutomated kickstart install linux system
2. Edit file vim /var/www/html/ks.cfg when contents of zone
3. use ksvalidator /var/www/html/ks.cfg for file syntax checking, do not check your configuration is wrong
4. The test on the browser to see if the ks.cfg file is successfully configured
5. Using virt-manager to call the graphical interface, install a new virtual machine
Automated kickstart install linux system
6. When the following screen select install, button tab, write your own kickstart file, That file into the installation interface

Note: all the above is accomplished in the virtual, but if the machine from the virtual machine does not install virtualization component can be utilized from the real machine to be installed to

Guess you like

Origin blog.51cto.com/14569275/2448601