Инструменты пользователя

Инструменты сайта


сервис_тftp

Это старая версия документа.


Сервис Т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

tftpd (12.04)

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

atftpd (10.04)

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.1340257070.txt.gz · Последние изменения: 2013/05/22 13:50 (внешнее изменение)