Difference between revisions of "Tftp"

From Klaus' wiki
Jump to: navigation, search
Line 1: Line 1:
To enable tftp on your Centos server perform the following:
+
To enable tftp on your Centos server perform the following as '''root''':
  
 
<source lang="bash">
 
<source lang="bash">

Revision as of 12:13, 9 February 2012

To enable tftp on your Centos server perform the following as root:

$ yum install tftp*
$ chmod 777 /tftpboot
$ vi /etc/xinetd.d/tftp ## Change disable = yes to disable = no
$ /sbin/restorecon -r /tftpboot
$ system-config-securitylevel-tui ## add tftp:udp in the customize menu for other ports
$ service network restart
$ service xinetd restart
$ echo "test">/tftpboot/test
$ tftp localhost ## command: get test

check that the file test is received locally.

On bren try to get the test file as well. If you receive it everything is working correct.