ubuntu tftp service open

This is about how to open the TFTP service documents


First I need install tftpd-hpa tftp-hpa

 1.sudo apt-get  install tftpd-hpa tftp-hpa

 

And then, I need to be configured /etc/default/tftpd-hpa

 2.sudo gedit /etc/default/tftpd-hpa 
 
  #/etc/default/tftpd-hpa
  TFTP_USERNAME="tftp"
  TFTP_DIRECTORY="/tftpboot"   //This is your tftp service directory
  TFTP_ADDRESS ="0.0.0.0:69"
  TFTP_OPTIONS="-l -c -s"

Finally,start tftpd-hpa service


 3.sudo service tftpd-hpa restart
 4.tftp localhost ,get XXXX,put XXXX

你可能感兴趣的:(service,ubuntu)