document -2207.png "alt =" wKioL1PYs9OSS-YkAAGmocOn5p8884.jpg "/>
5. Provide the KS. cfg file
# Install system-config-kickstart
[[emailprotected]/]#yuminstallsystem-config-kickstart[[emailprotected]/]#rpm-qsystem-config-kickstartsystem-config-kickstart-2.8.6.5-1.el6.noarch
# Run mongom-config-kickatart through xstart to generate the KS. cfg file
650) This. width
1 mount the system files you need to install to/mnt first: # mount-t cifs-o username=administrator,passwd=abcde//192.168.1.99/iso/mnt/ 2 1-1 into the mounted/mnt directory, RPM installation Dhcp,tftp,kickstart:#rpm-IVH *kickstart*#rpm-IVH xinetd-2.3.14-10.el5.i386.rpm (TFTP service)#rpm-IVH dhcp-3.0.5-23.el5.i386.rpmRPM dhcp-devel-3.0.5-23.el5.i386.rpm1-2 configuration dhcpd:# cp/usr/share/doc/dhcp-3.0.
In the process of using cobbler, generating a kickstart script is a key task. To better understand the parameters in the script, I have summarized them based on my actual operation experience.
1. configure a dedicated KS configuration file, such as:/var/lib/cobbler/kickstarts/rhel6u2-x64.cfg
Language:
Lang zh_CN.UTF-8
Set the time zone:
Timezone Asia/Shanghai
Set the installation image: (default: URL -- url = $ tree menu)
URL -- url = http: // 192.1
Kickstart serverip:192.168.136.253 Mask: 255.255.255.0 gateway: 192.168.136.2 dns:192.168.136.2
Install and deploy the Yum source server
Reference http://www.cnblogs.com/edward2013/p/5020113.html
Installing the Deployment DHCP server
Yum Install DHCPModifying a configuration file# vi/etc/dhcp/dhcpd.conf# # DHCP Server Configurationfile. # See/usr/share/doc/dhcp*/dhcpd.conf.example# See dhcpd.conf (5)MansPage#log-facility Lo
Pxe+kickstart Implementing unattended Batch installation LinuxLab Preparation: Host Myrhel2 as the server side, create a new virtual host with no operating system installed and the same network segment as the server sideConditions for installation:Server-side:???? Support TFTP : Provides files necessary for boot files and system installation???? Support DHCP servers: assigning IP Address, location TFTP server location. Client:???? Network card support
One: Kickstart, what is PXE?
Kickstart installation is the way the redhat creates a fully automated installation of the system in a way that you design well. The installation method can be divided into CD-ROM, hard disk, and network.
PXE (Pre-Boot Execution Environment) is a protocol designed by Intel to enable the computer to boot over the network. The protocol is divided into client and server ends, PXE
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,
Kickstart + dhcp installation system-general Linux technology-Linux technology and application information. The following is a detailed description. For a beginner in LINUX, installing a LINUX operating system is very simple. You just need to put the CD in, and the next step is the next step, but can this operation show you more professional?
Do you want to install the system through kickstart + dhcp!
Find
1. Configure the SERVER address as 192.168.0.10, mount the image to/mnt, and install tftp and dhcp, nfs service # rpm-ivh dhcp-* # rpm-ivh tftp-* # rpm-ivh nfs-utils portmap 3, configure to start the dhcp server add the last two lines of filename "pxelinux.0"; Next-server 192 .. 168.0.10; The dhcpd service cannot be started out of braces to copy the Linux kernel file to the/tftpboot directory, modify the tftp parameters, and start the service. # vi/etc/xinetd. d/tftp: Change the selected yes to
Environment Preparation:A single serverPxe+kickstart Automatic Installation principle:PXE (Preboot Execute environment, pre-boot execution Environment) is the latest technology developed by Intel Corporation, working in the network mode of client/server, enabling workstations to download images from remote servers over the network, This supports booting the operating system over the network, and during the boot process, the terminal requires the serve
When the CentOS installation is complete, the Anaconda-ks.cfg file is automatically generated in the administrator's home directory, and the configuration information generated during installation is saved in the Anaconda-ks.cfg file, which can be installed by editing the configuration file when multiple machines are installed on the same system. The contents of the Kickstart configuration file are as follows: #version =develinstallurl--url=http://172
Pxe+kickstart simple construction, I write here relatively rough, but it is easier to read[[email protected] ~]# yum-y install TFTP tftp-server httpd syslinux DHCPCopy the DHCP sample configuration file to the DHCP configuration file directory[Email protected] dhcp]# cp/usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample/etc/dhcp/dhcpd.confCp:overwrite '/etc/dhcp/dhcpd.conf '? Y[Email protected] dhcp]# vim dhcpd.confThe configuration file contents are as follo
These two days to learn Kickstart deployment, using PXE + DHCP + TFTP + NFS, the entire process is outlined below.The system I use here is rhel6.5, slightly different for the RHEL5/CENTOS5 series system.Let's briefly describe the process of booting the installation over the network:
The client is set to boot over the network and may need to be set in the BIOS to enable the function
Broadcast on LAN after launch
The DHCP server should
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.