Pxe + kickstart deploy multiple versions of Linux operating system (I) --- principles, pxekickstartPXE Overview:
PXE (Pre-bootExecution Environment), Pre-start execution Environment
Start a computer through a network interface
The workstation can download images from remote servers over the network and start the operating system over the network. During the startup process, the terminal requires the server to assign IP addresses, use the TFTP pro
System version: CentOS 6.5 vsftpd software version: vsftpd-2.2.2-11 TFTP software version: tftp-server-0.49.7 DHCP software version: dhcp-4.1.1-38 System-config-kicksta RT Tool Version: System-config-kickstart-2.8.6.5-1PXE is a network boot technology, operating mode: C/s mode, allowing clients to download the boot image from a remote host server over the network and load the installation files or the entire systemThere are three prerequisites to buil
The first unit Kickstart script production1.kickstart ScriptKickstart script is a script file that automatically answers all problems during the installation of the systemThis file enables automatic installation of the systemAfter the system is installed, it will be generated in the root home directory of the system.Anaconda-ks.cfg This file is the kickstart scri
Unit 1# # # # #1. Kickstart scriptKickstart script is a script file that automatically answers all problems during the installation of the systemThis file enables automatic installation of the systemafter the system is installed, it will be generated in the root home directory of the system.Anaconda-ks.cfg This file is the kickstart script generated with this system template# # # #2.
Previous work done once unattended automatic batch installation CentOS, no resistance at that time too busy, forget to take notes. Now just the company new into a batch of servers to shelves, to do the system, just use this opportunity to do the following notes:What is PXE? What is Kickstart? This is not described here in one by one, because there are so many interpretations of these concepts on the web, and I'll elaborate on the installation conditio
the NFS Server.
The PXE client requires three binary files: bootstrap, Linux kernel, and Linux root file system. The Bootstrap file is an executable program that provides you with a simple control interface and downloads the appropriate Linux kernel and Linux root file system based on your selections.
1.2. What is KickStart?
KickStart is an unattended installation method.
The working principle of
Because both work and study require this purpose, after the experiment is successful, I will write out the unattended installation process of kickstart for sharing. At the same time, I hope that the majority of users can make good suggestions, make progress together! Reprinted please indicate me and the source! If there are bugs in the experiment steps, we should not modify them or improve them. Thank you for your comments (fuqin liquor cooking). prin
Steps to get a Linux distribution installation system:
First, the power-on self-test post is naturally
Self-test completed according to the BIOS set boot sequence in turn to find a bootable (bootable) device, this is set to CDROM
Load the MBR of the disc and then load the menu according to ISOLINNUX.CFG load Isolinux.bin to provide an option to install the operating system, select the appropriate option after loading the Linux kernel Vmlinuz, and initrd file
The Linux kernel
KICKSTARTkickstart is a dedicated tool for RedHatLinux. kickstart can be used to create ks. cfg configuration files. RedHatLinux can be automatically installed on the device by reading the content of the configuration file. The administrator can install ks. cfg, the required system files, and other tool and software. Place it on FTP, HTTP, USB, or CD/DVD to allow the device to be installed with ks. cfg settings. Therefore, kicks
Automated O M tool Kickstart
Introduction:
Kickstart and RedHat, the tool for installing Operating Systems in batches, were launched earlier (not to mention, now Cobbler ).
Test environment: CentOS 6.6 x86_64 minimal
1. install the software package
shell > yum -y install dhcp tftp-server syslinux nfs-utils kickstart
Ii. Configure DHCP
Shell> cp/usr/share/doc/dhc
Using Kickstart automation to deploy a variety of systems, I think of two scenarios, a suitable for daily operations, when the computer room on the shelves of individual new servers, according to different purposes, through a multi-system boot menu, enter the appropriate operating system name, you can automatically deploy the corresponding operating system. For example, I see a scenario like this on the Internet:650) this.width=650; "src=" Http://s1.5
In the use of PXE combined with the kickstart file can be implemented network fully automatic installation of Linux system, according to kickstart syntax required in the Ks.cfg file to specify the location of the operating system installation (designated hard disk) such as HDA, SDA or the UUID of the hard disk and other unique identification, Partition information and the location where the MBR is establish
receives a response from the server, it responds with a frame to request that the file be started and the MAC address is written to the server-side netnames.db file.
(4) More messages will be answered between the client and the server to determine the startup parameters. Bootrom Download the boot image document from the server by the TFTP communication protocol. After the client receives the boot file using the TFTP protocol, it forwards the control to the boot block to boot the operating syst
);3. The PXE Client requests the pxelinux.0 file from the TFTP server in the network;4. The PXE Client obtains the pxelinux.0 file after the implementation of the file;5. Load the kernel and file system via the TFTP server based on the results of pxelinux.0 execution;6. Enter the installation screen, which can be installed by selecting one of the HTTP, FTP, and NFS modes;Detailed workflow, please refer to the following picture:650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/82/73/wKio
Simply put, this is a process of automatically installing the system through the Pex Nic. The entire startup process can be understood as follows: the computer starts from the Pex Nic device and obtains the IP address provided by the DHCP server after four mutual broadcasts between the NIC and DHCP service, in addition, the DHCP server will tell the network adapter the location of the TFTP service, so that the PXE network adapter can obtain the "pxelinux.0" Startup file, and then the file can be
* Many O M personnel are familiar with KickStart. Most of us use it to automatically install the system. Generally, RedHatLinux is automatically installed. Recently, Ubuntu needs to be installed due to business requirements, there are some differences with RedhatLinux. Record the installation steps for mutual communication and learning! I. Environment and software system: CentOS6.0, Ubuntu12.04 software: KickStar
RHEL7 Kickstart deploying multiple operating systems simultaneously#在日常企业运维环境中, it is inevitable to encounter the use of multiple Linux operating systems, the previous kickstart can only install a Linux version of the system, if you need to install a different version of the Linux system every day, how to do? So here's how to deploy different versions of the Linux operating system at the same time using
file after the implementation of the file;5. Load the kernel and file system via the TFTP server based on the results of pxelinux.0 execution;6. Enter the installation screen, which can be installed by selecting one of the HTTP, FTP, and NFS modes;Detailed workflow, please refer to the following picture650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/86/F0/wKiom1fPSwHweQ-7AAE6VKzeTpc312.jpg "style=" float: none; "title=" 152331542808644.jpg "alt=" Wkiom1fpswhweq-7aae6vkzetpc312.jpg "/
Principle: generate ks through kickstart. cfg file to filter out the manual intervention during the installation process. The system can be automatically installed after the NIC is started until the system is complete, thus achieving large-scale deployment and installation of the operating system. system Environment: [root @ rhel6u3-1 ~] # Uname-r2.6.32-279.el6.i686 [root @ rhel6u3-1 ~] # Lsb_release-aLSBVersion:
Principle:Use
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.