Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laspavel/pxe-boot
Installation Oracle Linux 8 and 9 using PXE (Boot, UEFI) and Kickstart.
https://github.com/laspavel/pxe-boot
kickstart oracle-linux8 oracle-linux9 pxe pxe-boot pxe-server pxeboot
Last synced: about 2 months ago
JSON representation
Installation Oracle Linux 8 and 9 using PXE (Boot, UEFI) and Kickstart.
- Host: GitHub
- URL: https://github.com/laspavel/pxe-boot
- Owner: laspavel
- License: mit
- Created: 2024-06-24T05:58:02.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-24T06:04:15.000Z (6 months ago)
- Last Synced: 2024-06-24T07:25:16.539Z (6 months ago)
- Topics: kickstart, oracle-linux8, oracle-linux9, pxe, pxe-boot, pxe-server, pxeboot
- Homepage:
- Size: 3.63 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### PXE Boot ###
Installation experiments Oracle Linux 8 and 9 using PXE (Boot, UEFI) and Kickstart.
PXE-Server was deployed on Oracle Linux 8.10
In all configs:
* 10.1.1.1 is the PXE Server address
* /var/lib/tfpboot - folder with boot files
* /var/lib/tfpboot/images - folder with system installation files.Setting:
1) Install packages. Configuring firewall.
```
dnf install -y dhcp-server filewalld rsync tftp-server xinetd syslinux nginx
firewall-cmd --permanent --add-service=dhcp
firewall-cmd --permanent --add-service=tftp
firewall-cmd --permanent --add-service=http
```2) Configuring dhcp
* Copy the file from the repository /src/etc/dhcp/dhcpd.conf to /etc/dhcp/dhcp.conf
3) Configuring tftp.
* Copy the file from the repository /src/etc/xinetd.d/tftp to /etc/xinetd.d/tftp
4) Setting up boot files::
* Copy the file from the repository /src/var/lib/tfpboot to /var/lib/tfpboot
5) Copy installation files from ISO.
```
# For Oracle Linux 8
mount -o loop /dev/cdrom /mnt
rsync -av /mnt/. /var/lib/tfpboot/images/ol8/
umount /mnt# For Oracle Linux 9
mount -o loop /dev/cdrom /mnt
rsync -av /mnt/. /var/lib/tfpboot/images/ol9/
umount /mnt
```6) Configuring kickstart for PXE:
* Copy the file from the repository /src/var/lib/tfpboot/ol8/ks.cfg to /var/lib/tfpboot/ol8/ks.cfg
* Copy the file from the repository /src/var/lib/tfpboot/ol9/ks.cfg to /var/lib/tfpboot/ol9/ks.cfg7) Making a symbolic link for nginx:
```
ln -s /var/lib/tftpboot/images /usr/share/nginx/html/
```8) Enable services and reboot:
```
systemctl enable nginx
systemctl enable dhcpd
systemctl enable xinetd
reboot
```