User Tools

Site Tools


сервис_тftp

This is an old revision of the document!


Сервис ТFTP

FreeBSD

[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

Ubuntu/Debian

root@server:~# apt-get install atftpd

root@server:~# cat /etc/default/atftpd 

root@server:~# ls /srv/tftp

CentOS/SL

[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
сервис_тftp.1322635967.txt.gz · Last modified: 2013/05/22 13:50 (external edit)