A PC (IP=192.168.127.88) with ubuntu/debian installed is used as:
TFTP server
HTTP Server
CIFS Server
ISCSI Server (Target)
TFTP server
# Setup tftp server
apt-get install tftpd-hpa
/etc/init.d/tftpd-hpa start
# Testing tftp server
apt-get install tftp
uname -a >/srv/tftp/test
tftp 127.0.0.1
>get test
>quit
diff test /srv/tftp/test
# Install syslinux 4.x (SYSLINUX 4.0.1 debian-20100714)
apt-get install syslinux
cp /usr/lib/syslinux/pxelinux.0 /srv/tftp/ # copy other interested support files
cp /usr/lib/syslinux/menu.c32 /srv/tftp cp /usr/lib/syslinux/memdisk /srv/tftp cp /usr/lib/syslinux/mboot.c32 /srv/tftp cp /usr/lib/syslinux/chain.c32 /srv/tftp
mkdir -pv /srv/tftp/pxelinux.cfg
To simplify the script across ubuntu and debian, create the /tftp linkto the actual tftp root directory (/srv/tftp in case)