User Tools

Site Tools


informatique:linux:tftpd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

informatique:linux:tftpd [2016/10/05 10:04] – créée pteuinformatique:linux:tftpd [2019/12/11 13:57] (current) – Installation sous Systemd pteu
Line 1: Line 1:
-Pour installer le service TFTPd :+ 
 +======Installation====== 
 + 
 +=====Avec xinetd===== 
 + 
 +Pour installer le service TFTPd avec Xinetd :
 <code bash> <code bash>
 yum install tftp-server yum install tftp-server
Line 39: Line 44:
 Oct  5 11:48:10 srv-tftp in.tftpd[2585]: WRQ from 10.1.2.232 filename test2.txt Oct  5 11:48:10 srv-tftp in.tftpd[2585]: WRQ from 10.1.2.232 filename test2.txt
 Oct  5 10:48:44 srv-tftp xinetd[2505]: EXIT: tftp status=0 pid=1360 duration=903(sec) Oct  5 10:48:44 srv-tftp xinetd[2505]: EXIT: tftp status=0 pid=1360 duration=903(sec)
 +</code>
 +
 +=====Avec systemd=====
 +
 +Pour les systèmes plus récents, xinetd est désuet et on installe le tftpd sous systemd :
 +<code bash>
 +# éditer la config (modif de la ligne de commande notamment)
 +vim /usr/lib/systemd/system/tftp.service
 +
 +# activer le service au démarrage
 +systemctl enable tftp.service
 + Created symlink from /etc/systemd/system/sockets.target.wants/tftp.socket to /usr/lib/systemd/system/tftp.socket.
 +
 +systemctl start tftp.service
 </code> </code>
informatique/linux/tftpd.txt · Last modified: 2019/12/11 13:57 by pteu