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
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: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
Kickstart is used in RedHat Linux automatically perform unattended operating system installation and configuration. Install kickstart
Yum install system-config-kickstart
Start the Kickstart at "applications-> System Tools-> kickstart"
You can generate your
This evening to share with you how to use Kickstart automatic installation of Linux, of course, there are other tools can be fully automated installation of Linux, each tool has its own advantages and disadvantages, choose a suitable for you just fine.Required Packages: nfs* dhcp* tftp*First, install the softwareInstall the top three packages first.Yum Install nfs*-yyum install dhcp*-yyum install tftp*-ySecond, copy the contents of the CDCreate a dire
# System bootloader Configurationbootloader-- location=mbr# Clear the Master Boot recordzerombr# Partition clearing information#clearpart--all--initlabel# Disk Partit Ioning Informationpart/boot/efi--fstype= "EFi "--ondisk=sda--size=256part/boot--fstype=" XFS "--ONDISK=SDA--size=500part/--fstype=" XFS "--ondisk=sda--size= 5000part/home--fstype= "XFS"--ondisk=sda--size=5000%packages@base@core@fonts@input-methods@multimedia%end%pre# GT;2.0TB hard disk need to try-to-use GPT instead of mbr.parted-
Kickstart unattended installation of Linux1. Installation of VSFTPD, Tftp-server, Dhcp-server and KickstartYum-y install VSFTPD tftp* DHCP Kickstart2. Set VSFTPDMount Windows shared FoldersMount-t Cifs-o Username=share,password=share//192.168.20.254/iso/mnt/isoMount the ISO file to VSFTPD's Pub directoryMount-o loop/mnt/iso/centos-6.5-x86_64-minimal.iso/var/ftp/pub/3. Set Tftp-serverModify/ETC/XINETD.D/TFTP:650) this.width=650; "src=" http://s3.51cto.
Method: Ftp+tftp+dhcp+kickstart+pxe+nfs
Prepare two virtual machines, one as a server (Rhel6,ip for 192.168.10.1) and the other as RHEL6 installed, setting up a network boot installation.
I. Installation of the required services and modify the corresponding configuration file:
1. Configure Yum Local Installation Source:
Su-root
Mkdir/mnt/cdrom
Mount-t Iso9660/dev/sr0/mnt/cdrom
Cd/etc/yum.repos.d
To see if the directory has a. Repo suffix file,
Use Kickstart to install Linux in batches (1)-Linux Enterprise Application-Linux server application information. The following is a detailed description. In our daily work, we often need to install the same Linux on multiple computers with identical hardware, especially for cluster applications or backup database servers. I am a part-time Linux teacher. Due to the needs of lectures, I often need to install up to 10 or more Linux systems for students o
Automatic Management is a required course for every linux administrator, especially when the number of linux servers managed is too large. There is a lot of automation: Teachmachinestobuildthemselves makes Teachmachinestowatchthemselves, and Teachmachinestofixthemselves has recently studied linux Automation
Automatic Management is a required course for every linux administrator, especially when the number of linux servers managed is too large. There are a lot of automation:Enable Automatic Machi
1. The reason for installing the RHEL5.x system over the network is to solve a large number of bare metal installation systems, and perform simple system tuning for the system. In this case, you can use vsftpd + dhcp + tftp + kickstart to install RHEL5.x over the network, kickstart is used to customize the system. It is to install the system's boot file 2 system requirement 1. In the system environment, vsf
password
Click Reboot and you're done.
you may find that the installation of the graphical interface is too cumbersome, the following to introduce a key script installation method 2.kickstart Script Installation Method
KickstartWith kickstart, a system administrator can create a file that contains answers to all frequently asked questions during installation to automatically install Red Hat Enterprise L
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: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.c
Kickstart Unattended Installation
PXE Introduction
PXE (Pre-Boot execution Environment, pre-Boot execution Environment ) is the latest technology developed by Intel Corporation, working in the Client/server network mode , supports workstations to download images from remote servers over the network, and thus supports booting the operating system over a network, during startup, the terminal requires the server to assign IP addresses, and
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.