Skip to content

PXE TFTP server

reubenajohnston edited this page Apr 21, 2022 · 1 revision
  1. Perform clean install of Ubuntu server
  2. Install net-tools
  3. Disable auto and unattended upgrades by sudo editing /etc/apt/apt.conf.d/20auto-upgrades
  4. Install NFS using: $ sudo apt-get install nfs-kernel-server
  5. Install TFTP using: $ sudo apt-get install tftpd-hpa
  6. Configure UFW:
    1. Edit /etc/fstab:
      LABEL=writable	/	 ext4	defaults	0 0
      LABEL=system-boot       /boot/firmware  vfat    defaults        0       1
      /dev/sda1	/mnt/usb	ext4	defaults	0	0
      /mnt/usb	/mnt/nfs	none	bind	0	0
      /mnt/usb	/tftpboot	none	bind	0	0
      
    2. Edit /etc/exports:
      /mnt/nfs	172.16.0.0/24(rw,sync,no_subtree_check,no_root_squash)
      

Clone this wiki locally