{"id":289406,"date":"2024-01-10T05:48:42","date_gmt":"2024-01-09T21:48:42","guid":{"rendered":"https:\/\/lrxjmw.cn\/lfwmcszffdjm.html"},"modified":"2024-01-10T05:48:42","modified_gmt":"2024-01-09T21:48:42","slug":"lfwmcszffdjm","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lfwmcszffdjm.html","title":{"rendered":"Linux FTP\u670d\u52a1\u540d\u79f0\uff1a\u8bbe\u7f6e\u65b9\u6cd5\u5927\u63ed\u79d8"},"content":{"rendered":"

\u5728Linux<\/a>\u64cd\u4f5c\u7cfb\u7edf<\/a>\u4e2dlinux ftp \u670d\u52a1\u540d\u79f0<\/strong>\uff0cFTP\uff08\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09\u662f\u4e00\u6b3e\u5e38\u89c1\u4e14\u91cd\u8981\u7684\u6587\u4ef6\u4f20\u8f93\u5de5\u5177\u3002\u5728\u5b9e\u9645\u8fd0\u7528\u8fc7\u7a0b\u4e2d\uff0c\u5982\u4f55\u8bbe\u7f6eFTP\u670d\u52a1\u7684\u540d\u79f0\u662f\u4e00\u4e2a\u5173\u952e\u95ee\u9898\u3002\u4e0b\u9762\uff0c\u8bf7\u5141\u8bb8\u6211\u4e3a\u60a8\u8be6\u7ec6\u89e3\u7b54\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n

1.\u4ec0\u4e48\u662fFTP\u670d\u52a1\u540d\u79f0\uff1f<\/b><\/p>\n

\u5728Linux\u73af\u5883\u91cc\uff0cFTP\u670d\u52a1\u540d\u79f0\u5c31\u662f\u7528\u6765\u533a\u522b\u4e0d\u540cFTP\u670d\u52a1\u4ee5\u53ca\u6807\u793a\u5176\u8fd0\u884c\u72b6\u6001\u7684\u5173\u952e\u6807\u8bc6\u53f7\u54e6~\u8fd9\u4e2a\u540d\u5b57\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06\u591a\u4e2aFTP\u670d\u52a1\u533a\u5206\u5f00\u6765\u3002<\/p>\n

2.\u9ed8\u8ba4\u7684FTP\u670d\u52a1\u540d\u79f0<\/b><\/p>\n

\u901a\u5e38linux\u8ba4\u8bc1\uff0c\u6bd4\u65b9\u8bf4 vsftpd \u548c proftpd\uff0c\u5b83\u4eec\u662f Linux \u73af\u5883\u4e2d\u6700\u5e38\u7528\u7684 FTP \u670d\u52a1\u5668\u8f6f\u4ef6\u3002\u5f53\u60a8\u5b89\u88c5\u6210\u529f\u4e4b\u540e\uff0c\u8fd9\u4e9b\u8f6f\u4ef6\u90fd\u4f1a\u81ea\u52a8\u8bbe\u7f6e\u4e00\u4e2a\u9ed8\u8ba4\u7684 FTP \u670d\u52a1\u540d\u79f0\u3002<\/p>\n

3.\u4fee\u6539FTP\u670d\u52a1\u540d\u79f0<\/b><\/p>\n

\u82e5\u60a8\u5bf9\u9ed8\u8ba4\u7684FTP\u670d\u52a1\u540d\u6709\u6240\u4e0d\u6ee1\u6216\u662f\u60f3\u521b\u5efa\u4e2a\u6027\u72ec\u7279\u7684\u547d\u540d\u65b9\u5f0f\uff0c\u53ef\u8003\u8651\u76f4\u63a5\u66f4\u6539\u914d\u7f6e\u6587\u4ef6\u54e6\uff01<\/p>\n

\u5173\u4e8eVSFTPD\u8f6f\u4ef6\u7684\u8bbe\u7f6e\uff0c\u8bf7\u60a8\u5728\/etc\/vsftpd.conf\u6587\u4ef6\u4e2d\u627e\u5230\"ftp\"\u5b57\u6bb5\uff0c\u6253\u5f00\u76f8\u5bf9\u5e94\u7684\u6587\u672c\u7f16\u8f91\u5668\u6765\u8c03\u6574\u8bbe\u7f6e\u5373\u53ef\u3002<\/p>\n

Proftpd\u8f6f\u4ef6\u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e\/etc\/proftpd.conf\uff0c\u60a8\u53ef\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u8f7b\u677e\u66f4\u6539\u5176\u4e2d\u7684\"ServerName\"\u8bbe\u7f6e\u3002<\/p>\n

4.\u81ea\u5b9a\u4e49FTP\u670d\u52a1\u540d\u79f0<\/b><\/p>\n

\u5982\u60a8\u9700\u81ea\u5b9a\u4e49FTP\u670d\u52a1\u540d\u79f0\uff0c\u53ef\u6839\u636e\u73b0\u5b9e\u9700\u8981\u81ea\u884c\u4fee\u6539\u3002\u4f8b\u5982linux \u5206\u533a\uff0c\u5c06\u9ed8\u8ba4\u7684FTP\u670d\u52a1\u540d\u79f0\u66f4\u6539\u4e3a\"SuperFTP\"\u5373\u53ef\u3002<\/p>\n

\u8bf7\u60a8\u5728\u4fee\u6539\u5b8c\u6210\u540e\uff0c\u52a1\u5fc5\u91cd\u65b0\u542f\u52a8FTP\u670d\u52a1\u5668\u4ee5\u8ba9\u66f4\u6539\u7acb\u5373\u751f\u6548\u3002\u53ea\u9700\u6309\u7167\u4e0b\u9762\u7684\u6307\u793a\u64cd\u4f5c\u5373\u53ef\u91cd\u542fvsftpd\u670d\u52a1\uff1a<\/p>\n

```<\/p>\n

\u540d\u79f0\u670d\u52a1\u5668\u8bb0\u5f55_linux ftp \u670d\u52a1\u540d\u79f0_\u540d\u79f0\u670d\u52a1\u5668\u9a8c\u8bc1<\/p>\n

sudo service vsftpd restart<\/p>\n

\u6216\u8005\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4<\/a>\u6765\u91cd\u542fproftpd\u670d\u52a1\uff1a<\/p>\n

sudo service proftpd restart<\/p>\n

5.\u68c0\u67e5FTP\u670d\u52a1\u540d\u79f0<\/b><\/p>\n

\u5728\u66f4\u6539\u5b8c\u6bd5FTP\u670d\u52a1\u540d\u79f0\u4e4b\u540e\uff0c\u60a8\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u6b65\u9aa4\u786e\u8ba4\u5176\u6709\u6548\u6027\u54e6\u3002<\/p>\n

\u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u5f53\u524d\u8fd0\u884c\u7684FTP\u670d\u52a1\u8fdb\u7a0b\uff1a<\/p>\n

ps -ef | grep ftp<\/p>\n

\u63a5\u4e0b\u6765\uff0c\u8bf7\u60a8\u5728\u8f93\u51fa\u7ed3\u679c\u4e2d\u5bfb\u627e\u4e0e\u81ea\u5b9a\u4e49FTP\u670d\u52a1\u540d\u79f0\u76f8\u5bf9\u5e94\u7684\u8fdb\u7a0b\u6570\u636e\u54e6\uff01<\/p>\n

6.\u6ce8\u610f\u4e8b\u9879<\/b><\/p>\n

\u5728\u4fee\u6539FTP\u670d\u52a1\u540d\u79f0\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n

\u8bf7\u77e5\u6089\uff0c\u66f4\u6539FTP\u670d\u52a1\u540d\u53ef\u80fd\u7ed9\u73b0\u6709\u914d\u7f6e\u548c\u811a\u672c\u5e26\u6765\u5f71\u54cd\uff0c\u5efa\u8bae\u60a8\u5148\u505a\u597d\u76f8\u5e94\u7684\u6587\u4ef6\u5907\u4efd\u63aa\u65bd\u4ee5\u514d\u5f71\u54cd\u4f7f\u7528\u3002<\/p>\n

\u8bf7\u60a8\u5728\u66f4\u6539FTP\u670d\u52a1\u7684\u540d\u79f0\u4e4b\u540e\u786e\u8ba4\u5ba2\u6237\u7aef\u5728\u8fde\u63a5\u65f6\u4f7f\u7528\u7684\u6b63\u662f\u66f4\u65b0\u7684\u540d\u5b57\u54e6linux ftp \u670d\u52a1\u540d\u79f0<\/strong>\uff0c\u4e0d\u7136\u53ef\u80fd\u4f1a\u9020\u6210\u8fde\u63a5\u5f02\u5e38\u5462\uff01<\/p>\n

\u540d\u79f0\u670d\u52a1\u5668\u9a8c\u8bc1_linux ftp \u670d\u52a1\u540d\u79f0_\u540d\u79f0\u670d\u52a1\u5668\u8bb0\u5f55<\/p>\n

\u82e5\u9047\u56f0\u96be\u4e0d\u89e3\uff0c\u8bf7\u67e5\u9605\u76f8\u5173\u6587\u6863\u6216\u5bfb\u6c42\u4e13\u4e1a\u6307\u5bfc\uff0c\u5b9a\u80fd\u52a9\u60a8\u89e3\u51b3\u96be\u9898\u3002<\/p>\n

7.\u5176\u4ed6\u5e38\u89c1\u95ee\u9898<\/b><\/p>\n

\u9664\u4e86\u6539\u53d8FTP\u670d\u52a1\u7684\u79f0\u547c\u4e4b\u5916\uff0c\u8fd8\u6709\u51e0\u4e2aFTP\u670d\u52a1\u4e2d\u5e38\u5e38\u51fa\u73b0\u7684\u91cd\u8981\u95ee\u9898\u9700\u8981\u60a8\u5b66\u4e60\u4e86\u89e3\u3002<\/p>\n

\u60a8\u53ef\u67e5\u8be2\u76f8\u5173\u6587\u4ef6\u4ee5\u53ca\u8bf7\u6559\u4e13\u4e1a\u4eba\u5458\u6765\u5b66\u4e60\u5982\u4f55\u8bbe\u5b9aFTP\u7684\u7528\u6237\u6743\u9650\u3001\u5982\u4f55\u9650\u5b9a\u7528\u6237\u8bbf\u95ee\u8def\u5f84\u7b49\u95ee\u9898\u54e6\uff01<\/p>\n

8.\u603b\u7ed3<\/b><\/p>\n

\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0cFTP \u670d\u52a1\u540d\u79f0\u662f\u7528\u6765\u533a\u5206\u5404\u4e2aFTP\u670d\u52a1\u5668\u7684\u6807\u8bc6\u7b26\u3002\u5982\u679c\u9700\u8981\u7684\u8bdd\uff0c\u6211\u4eec\u53ef\u4ee5\u5bf9\u9ed8\u8ba4\u7684FTP\u670d\u52a1\u8fdb\u884c\u9002\u5f53\u7684\u4fee\u6539\uff0c\u4ee5\u66f4\u597d\u5730\u6ee1\u8db3\u60a8\u4e2a\u4eba\u7684\u4f7f\u7528\u9700\u6c42\u54e6\uff01<\/p>\n

\u5728\u4fee\u8ba2FTP\u670d\u52a1\u5668\u540d\u79f0\u65f6\uff0c\u8bf7\u60a8\u52a1\u5fc5\u8bb0\u5f97\u5907\u4efd\u76f8\u5173\u6587\u4ef6\uff0c\u7ed3\u675f\u5e76\u91cd\u65b0\u542f\u52a8FTP\u670d\u52a1\u3002\u6b64\u5916\uff0c\u5c0a\u656c\u7684\u7528\u6237\u8fd8\u8bf7\u6ce8\u610f\u786e\u8ba4\u5ba2\u6237\u7aef\u4f7f\u7528\u4fee\u6539\u540e\u7684\u6b63\u786e\u540d\u79f0\u8fdb\u884c\u8bbf\u95ee\u64cd\u4f5c\u3002\u4e3a\u4e86\u907f\u514d\u5176\u4ed6\u53ef\u80fd\u51fa\u73b0\u7684\u95ee\u9898\uff0c\u6211\u4eec\u5efa\u8bae\u60a8\u4e5f\u8981\u5173\u6ce8\u90a3\u4e9b\u4e0eFTP\u670d\u52a1\u6709\u5173\u7684\u5e38\u89c1\u95ee\u9898\u3002<\/p>\n

\u5e0c\u671b\u672c\u6587\u5bf9\u5927\u5bb6\u7406\u89e3Linux FTP\u670d\u52a1\u540d\u79f0\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n

9.\u53c2\u8003\u8d44\u6599<\/b><\/p>\n

\u656c\u8bf7\u67e5\u8be2 vsftp \u5b98\u65b9\u89e3\u91ca\uff1a\u3002<\/p>\n

-\u8bbf\u95ee\u4e13\u4e1a\u7684ProFTPD\u6587\u6863\uff0c\u7f51\u5740\u4e3a\uff1a<\/p>\n

\u7cbe\u5f69\u7684Linux\u547d\u4ee4\u5927\u5168\uff1a\u656c\u8bf7\u8bbf\u95ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5173\u4e8eVSFTPD\u8f6f\u4ef6\u7684\u8bbe\u7f6e\uff0c\u8bf7\u60a8\u5728\/etc\/vsftpd.Proftpd\u8f6f\u4ef6\u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e\/etc\/proftpd.conf\uff0c\u60a8\u53ef\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u8f7b\u677e\u66f4\u6539\u5176\u4e2d\u7684ServerName\u8bbe\u7f6e\u3002\u6216\u8005\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u91cd\u542fproftpd\u670d\u52a1\uff1a-\u8bbf\u95ee\u4e13\u4e1a\u7684ProFTPD\u6587\u6863\uff0c\u7f51\u5740\u4e3a\uff1a<\/p>\n","protected":false},"author":1,"featured_media":289407,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-289406","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/289406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=289406"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/289406\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/289407"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=289406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=289406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=289406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}