yum install tftp-server
[root@localhost tftpboot]# tree -L 3
.├── grub.cfg
├── grubx64.efi
├── images
│ ├── RHEL-7.3
│ │ ├── initrd.img
│ │ ├── TRANS.TBL
│ │ ├── upgrade.img
│ │ └── vmlinuz
│ └── RHEL-7.4
├── pxelinux
│ ├── back
│ │ ├── boot
│ │ ├── etc
│ │ ├── grub2-efi-2.02-0.44.el7.x86_64.rpm
│ │ ├── shim-0.9-2.el7.x86_64.rpm
│ │ ├── syslinux-4.05-13.el7.x86_64.rpm
│ │ └── usr
│ ├── efiboot.img
│ ├── gpxelinux.0
│ ├── menu.c32
│ ├── pxeboot
│ │ ├── initrd.img
│ │ ├── TRANS.TBL
│ │ ├── upgrade.img
│ │ └── vmlinuz
│ ├── pxelinux.0
│ ├── pxelinux.cfg
│ │ └── default
│ ├── TRANS.TBL
│ └── vesamenu.c32
└── shim.efi
https://linux.cn/article-4902-1.html