forked from ghumman/lfce
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpxe_server.txt
More file actions
28 lines (23 loc) · 743 Bytes
/
pxe_server.txt
File metadata and controls
28 lines (23 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(preboot execution environment)
#Install dhcp server
sudo apt-get install isc-dhcp-server
sudo vim /etc/default/isc-dhcp-server
INTERFACES="enp0s8"
sudo vim /etc/dhcp/dhcpd.conf
"
option domain-name "client1.org";
option domain-name-servers ns1.client1.org;
authoritative;
subnet 192.168.33.0 netmask 255.255.255.0 {
range 192.168.33.48 192.168.33.50;
}
host ubuntu-client2 {
hardware ethernet 08:00:27:8e:42:67;
fixed-address 192.168.33.49;
}
sudo systemctl restart isc-dhcp-server
"
#Install PXE along with tftp
sudo apt-get install apache2 tftpd-hpa inetutils-inetd
Rest of guide can be following from following link, it's real stuff, can't try it out on VMs.
https://www.ostechnix.com/how-to-install-pxe-server-on-ubuntu-16-04/