Tuesday, 2 February 2016

Automated Installations of Multiple RHEL/CentOS 7 Distributions using PXE Server and Kickstart Files


Learn Linux Operations With This Premium 5-Course Learner Bundle ($49)Get This Deal

Automated Installations of Multiple RHEL/CentOS 7 Distributions using PXE Server and Kickstart Files

If you have any questions or problems regarding this article and want help within 24 Hours?  Ask Now 
 Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now
Matei Cezar
I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.
Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.
Receive Your Free Complimentary eBook NOW! - Securing & Optimizing Linux: The Hacking Solution (v.3.0)

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

YOU MAY ALSO LIKE...

10 RESPONSES

  1. Rupesh rvk
    i have configured RHEL kickstart and from same server i want to installed cent os from same ftp server, is this possible
  2. Rupesh rvk
    can i installed cent os from RHEL 6 kick start server. i want to keep both images in /pub (RHEL and Cent os ) is this possible, or i need to configure
    individual kick-start server for different os
  3. Jesse Dale
    Ah, for those who are using iptables.. don’t forget to allow the broadcast request ! I enabled iptable logging in my rsyslog then I saw something like this every time I tried a PXE boot :
    Aug 14 19:12:05 tabasco kernel: iptables denied: IN=em1 OUT= MAC=ff:ff:ff:ff:ff:ff:a4:ba:db:e9:4d:55:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID =1 PROTO=UDP SPT=68 DPT=67 LEN=556
    Aug 14 19:34:12 tabasco kernel: iptables denied: IN=em3 OUT= MAC=ff:ff:ff:ff:ff:ff:a4:ba:db:e9:4d:55:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=576 TOS=0x00 PREC=0x00 TTL=20 ID=3 PROTO=UDP SPT=68 DPT=67 LEN=556
    So I had to add this to my /etc/sysconfig/iptables, and restarted iptables:
    -A INPUT -s 0.0.0.0 -p udp –sport 68 -d 255.255.255.255 –dport 67 -j ACCEPT
    -A OUTPUT -s 0.0.0.0 -p udp –sport 67 -d 255.255.255.255 –dport 68 -j ACCEPT
  4. Jesse Dale
    Does this need any setsebool commands to relax selinux with ftp or anonymous logins ??
  5. ketan
    Hi,
    How to Automated Installations RHEL with graphical desktop mode through PXE Kickstart.
  6. boethius
    You don’t actually need FAI to automate the install of Debian-based or Debian-derived distros. Ubuntu, Debian, Kali Linux, etc. all support pre-seed files. FAI is a great tool no question but not strictly necessary. You can get by with just preseeds, TFTP, and DHCP and a network bootstrap like iPXE or pxelinux. FAI is kind of a wrapper/abstraction layer between the complexities of deriving your own preseed semantics and intelligence. Hand-coding preseed files for diverse deployments and ongoing management/maintenance of those files is onerous but for occasional one-off type stuff it’s fine.
    When you want to try scale deployments enterprise tools like FAI, Cobbler (on the RHEL/CentOS side), Satellite, and several similar solutions all permit large-scale management of server deployments, be they virtual or physical.
  7. Ankur
    HI..
    i have one query for unattanded installation different Linux Distrubution .
    this is only explained for Redhat based system like centos and fedora etc . can we install debian based system using kick start .??

LEAVE A REPLY

No comments:

Post a Comment