This is an old revision of the document!
[server:~] # mkdir /tftpboot/ [server:~] # chown -R nobody /tftpboot/ [server:~] # cat /etc/inetd.conf
... tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -w -s /tftpboot ...
[server:~] # cat /etc/rc.conf
... inetd_enable=yes
[server:~] # /etc/rc.d/inetd start
root@server:~# apt install atftpd root@server:~# init 6 root@server:~# ls /srv/tftp/
root@server:~# apt-get install atftpd root@server:~# cat /etc/default/atftpd
USE_INETD=false OPTIONS="--port 69 /tftpboot"
root@server:~# mkdir /tftpboot root@server:~# chown -R nobody /tftpboot/ root@server:~# /etc/init.d/atftpd start
root@server:~# apt-get install tftpd root@server:~# cat /etc/xinetd.d/tftp
service tftp
{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
}
root@server:~# mkdir /tftpboot root@server:~# /etc/init.d/xinetd restart
[root@server ~]# yum install tftp tftp-server
[root@server ~]# cat /etc/xinetd.d/tftp
...
server_args = -c -s /tftpboot
disable = no
...
[root@server ~]# chown -R nobody /tftpboot/
[root@server ~]# /etc/init.d/xinetd start