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.
The so-called unattended installation does not require the Administrator to easily Insert the system disc or start the USB flash drive, but to install it from the network. PXE is a network boot technology developed by Intel. It works in Client/Server mode and allows clients to download boot images from remote servers over the network, load the installation file or the entire operating system. In addition, a tool is required for automatic installation, that is,
Nginx dhcp tftp Kickstart build Automatic Installation System
Previously, we used Cobbler to build an automatic installation system. Recently, the Cobbler website was http://www.cobblerd.org/lawless. We executed the command "Cobbler get-loaders" to download the file required for PXE startup 404. Even if the download was successful, the server installation system gets stuck after the IP address is automatically obtained. You have to find a solution and
via the TFTP server, based on the results of pxelinux.0 execution, 6. The installation screen can be installed by selecting one of the HTTP, FTP, NFS modes, and the detailed workflow is shown in the following picture:1.2 What is KickstartKickstart is an unattended installation method. It works by documenting typical parameters that require manual intervention during the installation process and generating a file named Ks.cfg. If you have to fill in the parameters during the installation process
obtaining the pxelinux.0 file;
5. Based on the execution result of pxelinux.0, load the kernel and file system through the TFTP server;
6. Go to the installation screen and select one of the HTTP, FTP, and NFS installation methods;
For detailed workflow, see the figure below:
Ii. System Environment
Lab environment:VMware Workstation 10
System Platform:CentOS release 6.4 (minimal installation)
Network Mode:NAT mode (IP address of the shared host)
DHCP/tftp ip: 192.168.111.130
HTTP/FTP/nfs ip: 19
Kickstart Batch Installation of Linux SystemsKickstart 's working principle must be known, with the PXE protocol to assemble multiple servers at the same time. The general use of time is not much, but to know, use the time can be handy, my environment is as follows:you need to install the deployment Linux Servers:Redhat - 6.4IP Address:192.168.30.34network card:P3P1Subnet Mask:255.255.255.0Gateway:192.168.30.1dns:202.106.0.20 or 8.8.8.8Specific operat
First, PXE introductionPXE full name Pre-Boot execution environment, pre-boot execution environment, boot the computer over a network interface, independent of local storage device or locally installed operating system;client/server mode of OperationSecond, Pxe+kickstart unattended processThree, Pxe+kickstart realize automatic installation system1. Environment [[emailprotected] ~]# cat/etc/redhat-releasecen
Tags: eth0 default tftp res boot apache2/etc/otl swaTransferred from: http://www.mamicode.com/info-detail-1646465.htmlThe kickstart is used for the automatic installation system of the inner network.Installing a system using PXE requires the installation of services such as Dhcp,tftp,http (and, of course, other file sharing methods such as NFS,FTP).Lab Environment:1. VMware 122. Network segment 10.0.0/8, PXE server ip:10.0.0.100First, install DHCP ser
# copy files from the rhel.iso image to system if [ ! -b /tmp/cdrom ];then echo "make cdrom node using mknod" >> /root/ins.log # get the major number major=$(lsblk |grep rom | awk '{print $2}' |awk -F : '{print $1}') # get the minor number minor=$(lsblk |grep rom | awk '{print $2}' |awk -F : '{print $2}') echo "major=${major} minor=${minor}" >> /root/ins.log # make sure we have what we ne
graphics of CentOS 7.215, Ssh-x [email protected]16, System-config-kickstart #使用system-config-kickstart configuration ks.cfg以下选项必选:基本配置密码重新引导系统文本安装安装方法ftp分区清除主引导记录网络配置添加禁用防火墙The following command executes on the centos6.617, cp/root/ks.cfg/var/ftp/pub/18. Vim Pxelinux.cfg/defaultlabel Linux ^Install or upgrade an existing system menu default kernel vmlinuz ks=ftp:// 192.168.2.1/pub/ks.cfg ksdevice=eth
Brief introduction:The learning content recorded in this session is to automate the installation of CentOS by reading the Kickstart configuration file through the Anaconda program. As a learning operator, I think it is very necessary to learn this skill.Kickstart configuration file Composition: (self-viewing/boot/anaconda-ks.cfg)Command segment: Set some basic functions (time zone, keyboard type, etc.)Package segment: Indicates which package or packag
Environment Description: vmware11+centos6.6 Desktop environmentCreate a bootable disc: only help to start the installation process and not provide an installation tree.Using System-config-kickstart to create a bootable disc consists of the following steps:First, install the System-config-kickstart program#yum Install System-config-kickstart-ySecond, prepare the w
Kickstart, unattended, and automatic system installation. This topic describes how to use Kickstart.
# System installation information-refer to [root @ larrywen PDF] # Vim ~ Anaconda-ks.cfg
Step 1 install kickstart
[Root @ larrywen/] # Yum installsystem-config-kickstart-y # exit, and then log on to [root @ serv01 op
PXE + KickStart: Use the virt-install tutorial to automatically install the linux system,
Environment: Red Hat Enterprise Linux Server release 7.2 (Maipo)
Required Software: dhcp, tftp-server, system-config-kickstart, syslinux
Firewalled, selinux: Disabled
1. install and configure the DHCP service
[Root @ foundation76 ~] # Cat/etc/dhcp/dhcpd. conf
# Option definitions common to all supported networks... opt
Linux kernel compilation, management, and kickstart and boot image creationKernel Composition: Core file:/boot/vmlinuz-versionModule Management: Lsmod command: List the modules already loaded/Another way: # Cat/proc/modules-N Module Name: Show only module file pathIn the information shown:Depends: Displays the other modules that are dependent on this module;modprobe command: Implementation of module loading and unloadingLoad: modprobe mod_nameModule f
Localboot 1
Label memtest86
Kernel memtest
Append-
########## Default file default parameters ##################
5) install the Dhcp service and modify the configuration:
Yum install-y dhcp
Copy it to the directory specified by the configuration template and rename it:
Cp/usr/share/doc/dhcp-x.0.1/dhcpd. conf. sample/etc/dhcpd. conf
Modify the configuration file and add a line: filename "/pxelinux.0"
[Root @ localhost isolinux] # vim/etc/dhcpd. conf
Ddns-update-style interim;
Ignore clinet-updat
. This protocol is divided between the client side and the Server side, while the PXE client is in the ROM of the NIC. When the computer boots, the BIOS directs the PXE client into memory and then the files that are placed at the remote end by the PXE client are downloaded locally to run on the network. Running the PXE protocol requires setting up a DHCP server and a TFTP server. The DHCP server assigns an IP address to the PXE client (the host that will install the system), and because it assig
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.