In a recent study of the RHCE course, the previous article briefly tells you how to use Ftp+http+kickstart as a KVM VM network installation process, read: http://gshao.blog.51cto.com/3512873/1882392Today we talked about PXE installation RHEL7Environment:Virtual Host: RHEL 7.0Hardware: 4vcpu+8g+40gdiskIP Address: 172.16.38.101. Making a local source[[email protected] ~]# Mkdir/mnt/dvd #创建/mnt/dvd directory for mounting cdrom[[email protected] ~]# Mount
kernelvmlinuzappendinitrd=initrd.imgxdriver=vesanomodeset labelrescuemenulabel^Rescueinstalled systemkernelvmlinuzappendinitrd= initrd.imgrescuelabellocalmenulabel bootfrom^localdrivelocalboot0xffff labelmemtest86menulabel^memorytest kernelmemtestappend-[[emailprotected]~]# /etc/init.d/xinetdrestartConfiguration Description: default Specifies the way to boot, that is, the following various boot methods starting with a label, kernel specifies the system kernel file, and the following KS paramete
Centos6.5kickstart Unattended InstallationMethod: Vsftpd+tftp+dhcp+kickstart+pxeOne: The environment a machine that has already installed the operating system (192.168.1.5) and a non-installed operating system of the machine1. Do not install the operating system first raid, to Dell R710, for example, 6 hard disks, generally two pieces do raid1,There are four pieces left to do RAID5.2. Already installed the operating system of the machine first check w
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
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
installation and startup processes of the operating system are identical in the first few steps.
The system installation process is as follows:
Start the operating system kernel -- load initrd. img -- run the initialization program -- determines whether to start livecd or ananconda to run the installation program based on the init Program content in initrd initialization. if it is livecd, if there is an installer program in it, you can manually enable the installer program to install the operat
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
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.