Update README.md

This commit is contained in:
Pi-Farm
2023-11-17 21:40:56 +01:00
committed by GitHub
parent 3a4721d29c
commit 8a4e5e9908

View File

@@ -1,31 +1,33 @@
HowToBuild and setup
Clone this repo: git clone https://gitea.pi-farm.duckdns.org/meik/pxe-server.git
and cd into it: cd pxe-server
and cd into it: "cd pxe-server"
run: bash start.sh
run: "bash start.sh"
1. choose (b) to build the image
2. restart your pc
3. edit the p2-include-handle file in RPi-PXE-Server folder (look here: https://github.com/beta-tester/RPi-PXE-Server#p2-include-handle--c2-custom-handle)
4. run bash start.sh again an choose (s) for setup
3. edit the p2-include-handle file in RPi-PXE-Server folder
(look here: https://github.com/beta-tester/RPi-PXE-Server#p2-include-handle--c2-custom-handle)
4. run "bash start.sh" again an choose (s) for setup
5. restart your pc
6. run bash start.sh again an choose (u) for update
6. run "bash start.sh" again an choose (u) for update
afer that, your pc is ready
to check, if the volumes are mounted, go into the running container:
docker exec -it pxe-container bash
- run: df -h
- run: showmount -e
- run: "docker exec -it pxe-container bash"
- run: "df -h"
- run: "showmount -e"
Check if all services are up and running:
systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server
"systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server"
if not, try to start the services:
systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server
"systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server"
NOTE: win-pxe / SAMBA feature not tested... coming soon!