KICKSTART+NFS+DHCP+PXE+TFTP fully automated Linux installation
First dare not say is original, is through the network search summed up the more reliable and stable setting method and content.
There are a few things to be aware of during the installation process, which are rarely involved in other tutorials and cause some difficulty for beginners.
The Ks.cfg file in this tutorial strictly modifies the anaconda.cfg file that exists on the system
I. Installing DHCP TFTP VSFTPD system-config-kickstart packages using Yum
1. Install the related software package
#yum-y install tftp DHCP vsftpd System-config-kickstart
Two. Configure the DHCPD service
Cp/usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample/etc/dhcpd.conf
#vim/etc/dhcpd.conf content is as follows, of course, can be flexibly modified according to their own needs
Ddns-update-style Interim;
Works in 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 addressesExperimental Objective: Deploy the PXE Remote Installation service and implement kickstart unattended installationServer_args =-s/var/lib/tftpboot-c (Specify Storage path-C: Allow uploads)Disable = no (ope
vmlinuz boot file boot system, and finally specify to obtain the installation file from HTTP or FTP for installation. PXE à DHCP à TFTP à kickstart à HTTP/FTPServer configuration:DHCP, TFTP, and HTTP/FTP services must be configured on the server.DHCP distributes IP addresses to PXE clients, TFTP provides boot files for clients, and HTTP/FTP provides installation source files for clients.Package to be installed:Dhcp. i386 tftp-server.i386 syslinux. i3
This is what I wrote when I read the document. it is basically part of the Oreilly document translated. Original article: workshop...
This is what I wrote when I read the document. it is basically part of the Oreilly document translated.
Original article: http://www.linuxdevcenter.com/pub/a/linux/2004/11/04/advanced_kickstart.html
Pre-and Postinstall scripts
Kickstart provides some basic system adjustments and settings, such as setting the root pa
one copy is enough.
Ubuntu server installation may prompt http: // 192.168.44.249/effectuserver12/dists/precise/restricted/binary-amd64/Packages was too upt. This is a bugThe solution is to directly touch an empty file.Sudo touch/var/www/ubuntu/dists/precise/restricted/binary-amd64/PackagesPrecise is the version code of ubuntu12.04.4. If it is another version, replace it with the corresponding code.
Create centos6 ks. cfgSudo vim/var/www/centos6/ks. cfg# Centos6/ks. cfgFirewall -- disabledInsta
No problem with the test. The following are the contents of the file:# System Bootloader ConfigurationBootloader--LOCATION=MBR# Partition Clearing InformationClearpart--all--initlabel# Run The Setup Agent on first bootFirstboot--disable# Activate XXconfig--startxonboot# Use Network InstallationURL--url= $tree# additional repostories get added here$yum _repo_stanza# Reboot after installationReboot# System KeyboardKeyboard US# System LanguageLang en_US# System TimeZoneTimeZone America/new_york# Ro
1. Add parameters to change the NIC name to ETHBootloader--location=mbr--append= "net.ifnames=0 biosdevname=0 rhgb quiet"2, psize Use instructions: Modify the VG pe=16m default 4m 256G disk support, appropriate adjustment pesize, you can use more disk spaceVolgroup vol1--pesize=16384 Pv.63, Reboot command added to the end, to ensure that the installation of the restart, and not to be stuck in the post# Reboot after InstallationrebootTips:If you have finished loading the CENOS7, change the NIC na
# on CentOS 6, using Grub-crypt--sha-512 to generate ROOTPW hash valueROOTPW--iscrypted $6$ljdvgn7f4jf5cwhd$yubz557mrrucaqpsspunrtg1tekkplwrc6n6c8v/vlo/ycw.6g0vq6c/ x1mfnla73bmlaxwg9bctl3u5fjwrd/# System ServicesServices--disabled= "Chronyd"# System TimeZoneTimeZone Asia/shanghai--ISUTC--NONTP# System Bootloader Configuration#bootloader--location=mbr--BOOT-DRIVE=SDABootloader--LOCATION=MBRAutopart--TYPE=LVM# Clear the Master Boot RecordZerombr# Partition Clearing InformationClearpart--all--initl
Server up to 3 services dhcpd TFTP httpd ip=192.168.1.1First, modify the DHCPD configuration file to indicate the IP and boot code files of the TFTP serverVim/etc/dhcpd.confNext-server 192.168.1.1;FileName "pxelinux.0";/ETC/INIT.D/DHCPD restartStart TFTPVim/etc/xinetd.d/tftpServer_args =-s/tftpboot/linux-install/Disable = no/etc/init.d/xinetd restartCopy the boot file, micro-kernel, micro-image to TFTP shareMount/dev/cdrom/mntCp/mnt/isolinux/isolinux.cfg/tftpboot/linux-install/pxelinux.cfg/defau
In Linux KickStart, The rootpw password can use plain text or encrypted values (the password is ippbxadminroot)
Note: The encrypted value must be used here, otherwise the security will be too low.
Rootpw -- iscrypted $1 $ ippbxadm $ qlbcgdsck/a.1zzfek/mt.
The encrypted value is read, but how is this value generated?
This is the same as the password shadow in Linux. The generation method is as follows:
Perl-e 'print crypt ("ippbxadminroot", Q ($1
Author: Jiangnan Baiyi
Springside -- pragmatic enterprise application KickStart and common library stack, with such a long name, you don't have to explain what everyone knows-Take Spring framework as core, it provides a pragmatic Enterprise Application Development Foundation and Best Practices presentation.
Positioning:It provides a complex, formal, and best-practice reference system for developers using the Spring framework instead of the demo versio
When the search engine grasps the lifeblood of the Internet economy, the typical application of the Internet, which is created by the search behavior, will affect all the people and things related to it. For the moment, we call the economic model of the related behavior a search economy. In this section we discuss one of the most basic elements of a search economy – search keywords.
What are the key words? It can be any word in any language, mainly in the form of words. The essence of writing i
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.