Showing posts with label kickstart. Show all posts
Showing posts with label kickstart. Show all posts

How to PXE on RHEL 6.4 or Centos 6.4 or Scientific Linux 6.4

Here is Final PXE & Kickstart Configuration.It is 100% work.
Coverage this tutorila
(1) DHCP SERVER (2) TFTP SERVER (3) NFS SERVER (4) PXE & KICKSTART CONFIGURATION

[SELINUX MUST BE permissive or disabled]
#vim /etc/sysconfig/selinux
selinux=disabled
save & exit
# reboot
#getenforce
[note if show selinux is disabled fine or if show selinux status enforcing or Permissive follow those Instruction]
if show Enforcing
to set selinux=Permissive
#setenforce 0
you can show selinux status
#getenforce

'1' for Enforcing '0' for Permissive

Set your Local LAN Static IP
I used Here: 192.168.0.254
#serrvice NetworkManager stop;
#chkconfig NetworkManager off;
#ifdown eth0;
#ifup eth0;
#yum install dhcp* -y
#vim /etc/dhcp/dhcpd.conf

all content are remove & Insert all line
----------------------------------------------------------------
ddns-update-style interim;
ignore client-updates;
authoritative;
allow booting;
allow bootp;
allow unknown-clients;
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.1 192.168.0.253;
  option domain-name-servers 192.168.0.254;
  option domain-name "server1.example.com";
  option routers 192.168.0.254;
  option broadcast-address 10.5.5.31;
  default-lease-time 600;
  max-lease-time 7200;

# PXE SERVER IP

next-server 192.168.0.254;
filename "pxelinux.0";
}

Save & Exit

Read More

How to PXE on RHEL 6.4 or Centos 6.4 or Scientific Linux 6.4

Here is Final PXE & Kickstart Configuration.It is 100% work.
Coverage this tutorila
(1) DHCP SERVER (2) TFTP SERVER (3) NFS SERVER (4) PXE & KICKSTART CONFIGURATION

[SELINUX MUST BE permissive or disabled]
#vim /etc/sysconfig/selinux
selinux=disabled
save & exit
# reboot
#getenforce
[note if show selinux is disabled fine or if show selinux status enforcing or Permissive follow those Instruction]
if show Enforcing
to set selinux=Permissive
#setenforce 0
you can show selinux status
#getenforce

'1' for Enforcing '0' for Permissive

Set your Local LAN Static IP
I used Here: 192.168.0.254
#serrvice NetworkManager stop;
#chkconfig NetworkManager off;
#ifdown eth0;
#ifup eth0;
#yum install dhcp* -y
#vim /etc/dhcp/dhcpd.conf

all content are remove & Insert all line
----------------------------------------------------------------
ddns-update-style interim;
ignore client-updates;
authoritative;
allow booting;
allow bootp;
allow unknown-clients;
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.1 192.168.0.253;
  option domain-name-servers 192.168.0.254;
  option domain-name "server1.example.com";
  option routers 192.168.0.254;
  option broadcast-address 10.5.5.31;
  default-lease-time 600;
  max-lease-time 7200;

# PXE SERVER IP

next-server 192.168.0.254;
filename "pxelinux.0";
}

Save & Exit

Read More