linux # configure default startup# Prompt 1Timeout 600 # default timeoutDisplay boot. msgMenu background splash.jpgMenu title Welcome to Red Hat Enterprise Linux 6.4!Menu color border 0 # ffffffff #00000000Menu color sel 7 # ffffffff # ff000000Menu color title 0 # ffffffff #00000000Menu color tabmsg 0 # ffffffff #00000000Menu color unsel 0 # ffffffff #00000000Menu color hotsel 0 # ff000000 # ffffffffMenu color hotkey 7 # ffffffff # ff000000Menu color scrollbar 0 # ffffffff #00000000Label linuxM
file;⑤ load the kernel and file system via the TFTP server based on the results of pxelinux.0 execution;⑥ into the installation screen, at this time can be selected by HTTP, FTP, one of the NFS mode to install;:Third, KickstartKickstart is an unattended installation, which works by documenting typical parameters that require manual intervention during installation, and generates a file called Ks.cfg. If you have to fill in the parameters during the installation process (not limited to the machi
.
1.2 What is Kickstart
Kickstart is a way to install unattended. Kickstart works by recording the various parameters that are required for manual intervention during the typical installation process. and generate a file named Ks.cfg; During the subsequent installation process (not limited to the machine that generates the
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
Boot process for boot media:Isolinux-AnacondaStructure within the disc media:Efi/efi relatedLIVEOS/LIVECD the associated image file.packages/Packageimages/store various boot media image files (image file).isolinux/The usage directory of the boot loader. Includes the boot loader configuration file, kernel, INITRD and other files.Repodata/repo dataCentos_buildtag a file that records the build date.GPL GPL license filerpm-gpg-key-centos-7 Gpgkey Filerpm-gpg-key-centos-testing-7 Gpgkey FileAnaconda1
First, the scene introductionWhen we want to deploy a large number of servers, the traditional CD-ROM or USB stick installation system is no longer suitable, in order to deal with this scenario, PXE with kickstart unattended installation is a good way.1. What is PXEPXE is a boot program, divided into client side and server side, first, the server to be automated installation must have a PXE-capable network card, that is, the network card ROM must have
This article mainly introduces the installation of the CentOS system and the manufacturing method of installing the bootable disc image.
I believe that the friends who have installed Windows system know that CD-ROM is a more common method of system installation, and this is also true for the CentOS system.
The CentOS system installation is mainlyBy installing the program anaconda, then what isWhere's anaconda? Installing the CentOS system in any way will generate a file in the administrator
"/pxelinux.0";Next-server 192.168.0.211;Default-lease-time 600;Max-lease-time 7200;}Now the IP of my production device is 192.168.0.211;7, install the VSFTPD server (you can also use the HTTP,NFS service to provide the required installation files)Yum Install Vsftpd-yCreate an ISO directory under the/VAR/FTP directoryThen copy the contents of the system installation disk to the ISO directory.Cp-a/mnt/*/var/ftp/iso8, installation KickstartYum Install-y System-config-kickstartThen run in a desktop
] Tftpboot]#[[emailProtected] ~]# mkdir-p/systemiso/rhel6[[email protected] ~]# cp-r/mnt/*/systemiso/rhel6[[email protected] ~]# chmod +r/systemiso/rhel6/*[[email protected] ~]# service NFS Start[[email protected] tftpboot]# CAT/ETC/EXPORTS/SYSTEMISO/RH EL6 * (rw)/tmp/* (rw)Five. Create a Kickstart fileYou can use the graphical configuration of the ks.cfg file [[email protected] tftpboot]# Yum install System-config-kickstartOr just use the ks.cfg[[ema
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
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.