{"id":711,"date":"2012-06-16T02:42:08","date_gmt":"2012-06-15T18:42:08","guid":{"rendered":"http:\/\/www.gejo.in\/?p=711"},"modified":"2012-06-16T02:42:08","modified_gmt":"2012-06-15T18:42:08","slug":"fedora%e9%85%8d%e7%bd%aetelnet%e5%92%8cftp%e7%9a%84tips","status":"publish","type":"post","link":"https:\/\/www.mujins.com\/?p=711","title":{"rendered":"Fedora\u914d\u7f6etelnet\u548cftp\u7684Tips"},"content":{"rendered":"<p>\u5982\u679c\u4f60\u8981\u4ece\u4e00\u53f0PC\u6216\u8005\u4ece\u865a\u62df\u673a\u5bbf\u4e3b\u4e0a\u6765\u7ba1\u7406\u4f60\u7684Fedora\u90a3\u4e48Telnet\u548cFTP\u670d\u52a1\u662f\u5fc5\u4e0d\u80fd\u5c11\u7684&#8230;\u5f88\u9057\u61be\uff0c\u4e0d\u50cfUbuntu\uff0cFedora\u751a\u81f3\u8fdetelnet,ftp\u7684\u5ba2\u6237\u7aef\u670d\u52a1\u90fd\u4e0d\u518d\u9ed8\u8ba4\u5b89\u88c5\u4e86\uff0c\u53ef\u8fd9\u672a\u5fc5\u662f\u574f\u4e8b\uff0c\u81ea\u5df1\u52a8\u624b\uff0c\u4e30\u8863\u8db3\u98df\u2026\u2026\u5e9f\u8bdd\u5c11\u6765&#8230;.<\/p>\n<p>\u4e00\u5207\u4ece\u7b80\uff0c\u76f4\u63a5\u901a\u8fc7yum\u6765\u83b7\u53d6\u5b89\u88c5&#8230;&#8230;.<\/p>\n<p><a href=\"https:\/\/www.gigiwangs.com\/wp-content\/uploads\/2012\/06\/Fedora_logo.png\" data-lightbox=\"gal[711]\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-712\" title=\"Fedora_logo\" src=\"https:\/\/www.gigiwangs.com\/wp-content\/uploads\/2012\/06\/Fedora_logo.png\" alt=\"\" width=\"267\" height=\"267\" \/><\/a><\/p>\n<p><strong>\u5b89\u88c5\u548c\u914d\u7f6eTelnet\uff1a<\/strong><\/p>\n<p>1. Telnet\u5ba2\u6237\u7aef\/\u670d\u52a1\u7aef\u4e0b\u8f7d\u5b89\u88c5\uff1a<\/p>\n<pre class=\"brush:bash\"># yum install telnet<\/pre>\n<pre class=\"brush:bash\"># yum install telnet-server<\/pre>\n<pre>2.\u63a5\u4e0b\u6765\u9700\u8981\u505a\u7b80\u5355\u7684\u914d\u7f6e\uff1a<\/pre>\n<pre class=\"brush:bash\">cd \/etc\/xinetd.d\n# vi telnet\n\/\/\u4fee\u6539disable=yes \u4e3a disable= no\nservice telnet\n{\n        flags           = REUSE\n        socket_type     = stream\n        wait            = no\n        user            = root\n        server          = \/usr\/sbin\/in.telnetd\n        log_on_failure  += USERID\n       <span style=\"color: #ff0000;\"> disable = no<\/span>\n}<\/pre>\n<p>3.\u7981\u7528\u672c\u5730\u7b56\u7565\u5e94\u7528\u8bbe\u7f6e \uff0c\u8fd9\u4e00\u6b65\u4e0d\u505a\u7684\u8bdd\u4f1a\u9047\u5230\u201c\u6743\u9650\u62d2\u7edd\u201d\u7684\u9519\u8bef\u63d0\u793a<\/p>\n<pre class=\"brush:bash\"># vi \/etc\/sysconfig\/selinux\n  \/\/\u4fee\u6539SELINUX=disabled\n  SELINUX=disabled\n  SELINUXTYPE=targeted<\/pre>\n<p>4.\u81f3\u6b64\u914d\u7f6e\u5b8c\u6210\uff0c\u542f\u52a8\u670d\u52a1\uff1a<\/p>\n<pre class=\"brush:bash\"># \/etc\/rc.d\/init.d\/xinetd restart<\/pre>\n<p>5.\u5f00\u653e\u7aef\u53e3<\/p>\n<pre class=\"brush:bash\"># iptables -I INPUT -p tcp --dport 23 -j ACCEPT<\/pre>\n<p>\u5176\u5b9e\u6211\u5012\u5efa\u8bae\u76f4\u63a5\u5173\u95ed\u9632\u706b\u5899..\u8fd9\u5c31\u7701\u4e86\u3002OK,telnet \u00a0localhost ,\u6210\u529f\uff01<\/p>\n<p><strong>\u5b89\u88c5\u914d\u7f6e<\/strong><strong>FTP<\/strong>\u5ba2\u6237\u7aef\u548c\u670d\u52a1<\/p>\n<p>1.\u5ba2\u6237\u7aef\/\u670d\u52a1\u7aef\u4e0b\u8f7d\u5b89\u88c5<\/p>\n<pre class=\"brush:bash\"># yum install ftp<\/pre>\n<pre class=\"brush:bash\"># yum install vsftpd<\/pre>\n<p>2.vsFTP\u914d\u7f6e\u5927\u90fd\u4e00\u6837\uff0c\u800c\u4e14\u9879\u76ee\u6bd4\u8f83\u591a\uff0c\u914d\u7f6e\u6587\u4ef6\u4e2d\u6709\u8be6\u7ec6\u8bf4\u660e\uff0c\u4e0d\u518d\u8d58\u8ff0..<br \/>\n3.\u91cd\u542f\u670d\u52a1<\/p>\n<pre class=\"brush:bash\"># service vsftpd restart<\/pre>\n<pre class=\"brush:bash\"><\/pre>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014END<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u4f60\u8981\u4ece\u4e00\u53f0PC\u6216\u8005\u4ece\u865a\u62df\u673a\u5bbf\u4e3b\u4e0a\u6765\u7ba1\u7406\u4f60\u7684Fedora\u90a3\u4e48Telnet\u548cFTP\u670d\u52a1\u662f\u5fc5\u4e0d\u80fd\u5c11\u7684&#8230;\u5f88\u9057\u61be\uff0c\u4e0d\u50cfUbuntu\uff0cFedora\u751a\u81f3\u8fdetelnet,ftp\u7684\u5ba2\u6237\u7aef\u670d\u52a1\u90fd\u4e0d\u518d\u9ed8\u8ba4\u5b89\u88c5\u4e86\uff0c\u53ef\u8fd9\u672a\u5fc5\u662f\u574f\u4e8b\uff0c\u81ea\u5df1\u52a8\u624b\uff0c\u4e30\u8863\u8db3\u98df\u2026\u2026\u5e9f\u8bdd\u5c11\u6765&#8230;. \u4e00\u5207\u4ece\u7b80\uff0c\u76f4\u63a5\u901a\u8fc7yum\u6765\u83b7\u53d6\u5b89\u88c5&#8230;&#8230;. \u5b89\u88c5\u548c\u914d\u7f6eTelnet\uff1a 1. Telnet\u5ba2\u6237\u7aef\/\u670d\u52a1\u7aef\u4e0b\u8f7d\u5b89\u88c5\uff1a # yum install telnet # yum install telnet-server 2.\u63a5\u4e0b\u6765\u9700\u8981\u505a\u7b80\u5355\u7684\u914d\u7f6e\uff1a cd \/etc\/xinetd.d # vi telnet \/\/\u4fee\u6539disable=yes \u4e3a disable= no service telnet { flags = REUSE socket_type = stream wait = no user = root server = \/usr\/sbin\/in.telnetd log_on_failure += USERID disable = no } 3.\u7981\u7528\u672c\u5730\u7b56\u7565\u5e94\u7528\u8bbe\u7f6e \uff0c\u8fd9\u4e00\u6b65\u4e0d\u505a\u7684\u8bdd\u4f1a\u9047\u5230\u201c\u6743\u9650\u62d2\u7edd\u201d\u7684\u9519\u8bef\u63d0\u793a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":712,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,5,17],"tags":[22],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/posts\/711"}],"collection":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=711"}],"version-history":[{"count":0,"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/wp\/v2\/posts\/711\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mujins.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}