Red de conocimiento informático - Material del sitio web - Cómo instalar el servidor tftp para Linux

Cómo instalar el servidor tftp para Linux

La siguiente información proviene de Internet:

Instalación y configuración del servidor tftp en fedora

El proceso se resume a continuación:

1. Descargue tres paquetes de software: servidor tftp, Terminal cliente tftp y demonio xinetd

yum install xinetd tftp tftp-server

//xinetd.i386 2: 2.3.14-21.fc10

// tftp-0.49-1.fc10.i386.rpm

//tftp-server-0.49-1.fc10.i386.rpm

2. xinetd.d /tftp

Modifique server_args = -s /tftpboot -c, debe agregar -c aquí, de lo contrario, ¡solo podrá descargar pero no cargar! ! !

service = -s /tftpboot -c; de lo contrario, solo se puede descargar pero no cargar.

servicio tftp

{

disable = no

socket_type = dgram

protocolo = udp

espera = yes

usuario = root

servidor = /usr/sbin/in.tftpd

server_args = -s /tftpboot -c

per_source = 11

cps = 100 2

flags = IPv4

}

3. firewall

4. Cree un directorio de trabajo tftp y cambie las propiedades (se producirá un error si no cambia las propiedades)

cd /

mkdir tftpboot

chmod 777 -R /tftpboot /

5. Abra el servicio y cargue y descargue archivos

################. ########## #############

Mi secuencia de configuración y mis preguntas son las siguientes:

Descargar cliente de servicio tftp tftp y demonio xinetd

yum install xinetd

yum install tftp tftp-server

//xinetd.i386 2:2.3.14-21.fc10

//tftp-0.49 -1.fc10.i386.rpm

///tftp-server-0.49-1.fc10.i386.rpm

Apagar el firewall

reinicia el servicio xinetd

Detiene xinetd: [OK]

Inicia xinetd: [OK]

cd /

mkdir tftpboot

cd tftpboot

cp /etc/inittab /tftpboot/

tftp 172.18.1.90

tftpgt; get inittab

Tiempo de espera de transmisión.

[root@localhost tftpboot]# netstat -a|grep tftp

[root@localhost tftpboot]# ls

inittab

[root@localhost tftpboot]# touch aaa

[root@localhost tftpboot]# ls

aaa inittab

[root@localhost tftpboot]# tftp 172.18. 1,90

tftpgt; obtener aaa