{"id":258,"date":"2009-05-18T02:45:33","date_gmt":"2009-05-18T07:45:33","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=258"},"modified":"2009-06-12T13:55:25","modified_gmt":"2009-06-12T18:55:25","slug":"how-can-i-quickly-set-up-tftp-on-centos","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=258","title":{"rendered":"How can I quickly set up tftp on CentOS?"},"content":{"rendered":"<p>I got a note from <em>Dave<\/em>, asking how he could set up tftp quickly on CentOS (His happens to be 5.3, but this process should be pretty much the same on a handful of versions and distros), and get a quick configuration running.\u00a0 So here you go, <em>Dave<\/em>; a tftp &#8220;cheat sheet&#8221;!<\/p>\n<p>First, install the tftp server:<br \/>\n<code>yum install tftp-server<\/code><\/p>\n<p>Launch the gui services configuration tool:<br \/>\n<code>system-config-services<\/code><\/p>\n<p>&#8230;and click on the &#8220;On Demand Services&#8221; tab.\u00a0 Look in the right side of the window, and make sure that it states that &#8220;<code>xinetd.. is running<\/code>&#8220;.\u00a0 Scroll down and click the box for <code>tftp<\/code>.\u00a0 Click &#8220;Save&#8221; at top.<\/p>\n<p>Now, close out the gui tool, and run the following at the prompt:<br \/>\n<code>\/etc\/init.d\/xinetd restart<\/code><\/p>\n<p>You might want to install the tftp client on your client machine for testing as well:<br \/>\n<code>yum install tftp<\/code><\/p>\n<p>Then, create a file on the server to test with.\u00a0 For example:<br \/>\n<code>echo \"This is text.\" &gt; \/tftpboot\/storedfile.txt<\/code><br \/>\n&#8230;.which will quickly create the file in the default directory, with that line of text in it.<\/p>\n<p>Then launch the client to test:<br \/>\n<code>tftp localhost<\/code><\/p>\n<p>&#8230;and get the file you created&#8230;<br \/>\n<code>get storedfile.txt<\/code><\/p>\n<p>&#8230;and you got it!<\/p>\n<p>\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got a note from Dave, asking how he could set up tftp quickly on CentOS (His happens to be 5.3, but this process should be pretty much the same on a handful of versions and distros), and get a&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=258\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[54,11,68],"tags":[],"class_list":["post-258","post","type-post","status-publish","format-standard","hentry","category-centos","category-intermediate","category-tftp"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-4a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=258"}],"version-history":[{"count":3,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions"}],"predecessor-version":[{"id":260,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/258\/revisions\/260"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}