Kickstart unattended installation mdash; make a CD file and use kickstart to install it unattended. Step 1 preparation [plain] # create the rhel6 Directory [root @ larrywenopt] # mkdirrhel6 # mount the image [ro... kickstart unattended installation-make a CD file and use kickstart to install it unattended. Step 1 prep
. cfg file on the first installation CD to the pxelinux. cfg directory, and change the file to default:
Cd pxelinux. cfg
Cp/var/www/html/isolinux. cfg/tftpboot/pxelinux. cfg/default
#### Default file parameters ########
Default linux
Prompt 1
Timeout 600
Display boot. msg
F1 boot. msg
F2 options. msg
F3 general. msg
F4 param. msg
F5 rescue. msg
Label linux
Kernel vmlinuz
Append initrd = initrd. img ks = http: // 192.168.1.200/ks. cfg
Label text
Kernel vmlinuz
Append initrd = initrd. img text
La
Description
Kickstart Server System: CentOS 5.10 64-bit
IP Address: 192.168.21.128
Need to install a deployed Linux system: CentOS 5.10 64-bit
Eth0 (first network card, for extranet) IP address segment: 192.168.21.160-192.168.21.200
ETH1 (second network card, for intranet) IP address segment: 10.0.0.160-10.0.0.200
Subnet Mask: 255.255.255.0
Gateway: 192.168.21.2
dns:8.8.8.8 8.8.4
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
through Kickstart installation CentOS 6.61. Configuring the ks.cfg fileVirtual Machines 1 it's already open. httpd Services, its IP address is 192.168.2.13 , in the virtual machine 1 inside, run System-config-kickstart command, pop up the following interface, as configured. 650) this.width=650; "style=" Float:none; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M00/72/E1/ Wkiol1xvpoxd0tt2aal7dnfzhtu023.jp
machine that generated the Kickstart installation files), the installer will first look for the files generated by the kickstart, and if the appropriate parameters are found, use the found parameters; Need to be manually intervened by the installer. So, if the kickstart file covers all the parameters that may be required during installation, then the installer c
The last article just completed the automatic installation of Nagios, this article continues, think of the previous days manually configured kickstart server process is more cumbersome, the idea is not clear, or the installation configuration process to write into the script is very convenient, feeling is once and for all, reduce the follow-up work of the Labor, And the whole idea process is clearer.
Experimental environment: centos6.3 x86_64
Firewa
guide the terminal operating system that is pre-installed on the server. PXE can boot a variety of operating systems, such as Windows 95/98/2000/xp/2003/vista/2008, and linux.KickStartKickStart is an unattended installation method. The working principle of KickStart is to record various parameters required for manual intervention during a typical installation process and generate a file named ks. cfg file. In the subsequent installation process (not
Objective: To implement unattended installationEnvironment: centos6.5Components: Default Pxe,kickstart, Apache, TFTP, DHCPPXE:PXE (Pre-Boot execution Environment, pre-boot execution Environment)
is a boot mode, the network card must have the PXE CLIENT,PXE protocol to enable the computer to boot over the network. This protocol is divided into the client side and Server side, while the PXE client is in the ROM of the network card, when the com
Kickstart unattended rhel5 installation (graphic version)
A text version sent before 21:56:48 is now a detailed graphic version, so that everyone can implement rhel5 unattended installation.Test environment: RedHat 5.3 disable iptables and SELinuxRequired services: DHCP vsftp TFTP xinted1. Set up the yum Source:For detailed method, see: http://iminmin.blog.51cto.com/689308/162666 (using the second method, the CD image to build YUM)Ii. Install the vsft
Ubuntu16 kickstart pxe installation system, ubuntu16kickstart
This article does not describe a lot of principles, but mainly explains practices.
Lab environment:
Virtual Machine: vm
Ubuntu: 16.04 (desktop installation required), as the server
Server IP Address: 192.168.193.128
Practice:
1. Install the dhcp service
Apt-get install isc-dhcp-server-y # If the prompt E: unable to locate the software package isc-dhcp-Server, execute this command apt-get u
KickstartAutomated Installation PlatformAs the company's business continues to grow, it often needs to purchase new servers, and requires Linux to be installed in a consistent way, to facilitate future maintenance and management, and to waste more time on each manual installation of the Linux system, but wouldn't it be better if we had a way to save time?Large and medium-sized Internet companies on a procurement server hundred, if the use of manual one installation, a person must make a bad n CD
Before using cobbler to build automatic installation system, recently cobbler website http://www.cobblerd.org/inaccessible, execute command cobbler get-loaders download get PXE boot required file times 404 , even if the download succeeds, all files are 0 bytes, causing the server installation system to automatically obtain the IP address after it gets stuck. Have to find a way to solve their own, re-use Nginx DHCP TFTP Kickstart built a set of automat
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.