I. the kickstart unattended installation service is based on pxe (prebootexecuteenvironment) technology. It is an intel technology working in the Network Mode of server/client and supports downloading software from the client server, then download a startup package to the client memory using the tftp (trivalfiletranferprotocol) protocol. Ii. technologies and services involved (1) nfs server, http server, and ftp Server
I. kickstart Unattended Installation Service
Based on pxe (preboot execute environment) technology, it is an intel company technology that works in the Network Mode of server/client. It supports downloading software from the server client, and then using tftp (trival file tranfer protocol) download a startup package to the client memory for execution.
2. technologies and services involved
(1) either of nfs server, http server, or ftp Server
(2) tftp Server
(3) dhcp server
(4) DNS Server
(5) kickstart service, which generates the ks. cfg configuration file
If the preceding steps (1) to (4) are met, the system server can be manually installed. If (5) is added, the system can be automatically installed on unattended mode.
Usually after installing a linux machine, there will be a anaconda-ks.cfg file in the/root/directory, this file records the specific services, software, and other information during the installation of this linux machine.
[Root @ mysql ~] # Ls
Abc. xpm anaconda-ks.cfg install. log
Install. log. syslog
Iii. Server Configuration
---------- The following services, such as nfs, tftp, dhcp, and dns, are all implemented on the same computer. If you want to implement them on different computers, you can modify the configurations -------------
1. install various services such as nfs, tftp, dhcp, and dns.
[Root @ root ~] # Yum install nfs * tftp * dhcp * bind *-y
2. Set up the installation source to share the ISO image.
[Root @ root ~] # Mount/share/iso/rhel-server-6.3-x86_64-dvd.iso/mnt/-o loop
[Root @ root ~] # Cp/mnt/*/yum/-rf <-- Here I copy the CD file to the/yum directory.
[Root @ root ~] # Vim/etc/exports
/Yum * (ro) <-- add this sentence to share the CD file in read-only mode. The asterisk (*) indicates that access by any IP address is allowed.
3. Start the service to make it take effect
[Root @ root ~] #/Etc/init. d/nfs restart
Or
[Root @ root ~] # Exportfs-arv
4. Configure the tftp Server
[Root @ root ~] # Vim/etc/xinetd. d/tftp
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-t-s-v/tftpboot
Disable = no -- yes to no, indicating that the service can be used
Per_source = 11
CPIs = 100 2
Flags = IPv4
}
5. Start the super daemon and check whether the file has taken effect.
[Root @ root ~] #/Etc/init. d/xinetd restart
[Root @ root ~] # Netstat-ntlup | grep 69
Udp 0 0 0.0.0.0: 69 0.0.0.0: * 3792/xinetd
For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2013-11/92256p2.htm
Related reading:
Use PXE + DHCP + Apache + Kickstart unattended installation of CentOS5.8 x86_64 http://www.linuxidc.com/Linux/2012-12/76913.htm
Kickstart fully automated installation CentOS 6.3 http://www.linuxidc.com/Linux/2012-12/75570.htm
Kickstart automated installation Linux notes http://www.linuxidc.com/Linux/2012-11/73853.htm
PXE/Kickstart remote automatic installation of RedHat Linux http://www.linuxidc.com/Linux/2012-11/73361.htm
DHCP + TFTP + HTTP + Kickstart network automated Deployment Server http://www.linuxidc.com/Linux/2012-11/73852.htm