filmov
tv
PXE Server setup on RHEL 7 | Linux | RHEL 7
Показать описание
In this Video You will See PXE Server setup on RHEL 7 - Red Hat 7
Correction in Video: - "authoritative" Spelling in DHCP.conf
----------------------------------------------------------------------------------------------
Notes - Setting up PXE in RHEL 7
#yum install dhcp tftp-server httpd syslinux wget telnet
[base]
name=CentOS-$releasever - Base
gpgcheck=0
enabled=1
1. Setting Up dhcp Server -
default-lease-time 600;
max-lease-time 7200;
authoritative;
allow bootp;
allow booting;
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.100 10.0.0.200;
next-server 10.0.0.2;
filename "pxelinux.0";
}
2. Enabling the TFTP -
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server_args = -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
cp -v /usr/share/syslinux/pxelinux.0 /tftpboot
cp -v /usr/share/syslinux/menu.c32 /tftpboot
cp -v /usr/share/syslinux/memdisk /tftpboot
cp -v /usr/share/syslinux/mboot.c32 /tftpboot
cp -v /usr/share/syslinux/chain.c32 /tftpboot
/usr/share/syslinux
rw-r--r- 1 root root 20704 Feb 27 2014 chain.c32
rw-r--r- 1 root root 34396 Feb 27 2014 mboot.c32
rw-r--r- 1 root root 26140 Feb 27 2014 memdisk
rw-r--r- 1 root root 56292 Feb 27 2014 menu.c32
rw-r--r- 1 root root 26460 Feb 27 2014 pxelinux.0
default menu.c32
prompt 0
timeout 20
LABEL RHEL7_x64
MENU LABEL RHEL 7 X64
KERNEL /netboot/vmlinuz
systemctl restart xinetd httpd dhcpd
systemctl enable xinetd httpd dhcpd
Correction in Video: - "authoritative" Spelling in DHCP.conf
----------------------------------------------------------------------------------------------
Notes - Setting up PXE in RHEL 7
#yum install dhcp tftp-server httpd syslinux wget telnet
[base]
name=CentOS-$releasever - Base
gpgcheck=0
enabled=1
1. Setting Up dhcp Server -
default-lease-time 600;
max-lease-time 7200;
authoritative;
allow bootp;
allow booting;
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.0.0.100 10.0.0.200;
next-server 10.0.0.2;
filename "pxelinux.0";
}
2. Enabling the TFTP -
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server_args = -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
cp -v /usr/share/syslinux/pxelinux.0 /tftpboot
cp -v /usr/share/syslinux/menu.c32 /tftpboot
cp -v /usr/share/syslinux/memdisk /tftpboot
cp -v /usr/share/syslinux/mboot.c32 /tftpboot
cp -v /usr/share/syslinux/chain.c32 /tftpboot
/usr/share/syslinux
rw-r--r- 1 root root 20704 Feb 27 2014 chain.c32
rw-r--r- 1 root root 34396 Feb 27 2014 mboot.c32
rw-r--r- 1 root root 26140 Feb 27 2014 memdisk
rw-r--r- 1 root root 56292 Feb 27 2014 menu.c32
rw-r--r- 1 root root 26460 Feb 27 2014 pxelinux.0
default menu.c32
prompt 0
timeout 20
LABEL RHEL7_x64
MENU LABEL RHEL 7 X64
KERNEL /netboot/vmlinuz
systemctl restart xinetd httpd dhcpd
systemctl enable xinetd httpd dhcpd
Комментарии