\nsudo nano \/etc\/vsftpd.conf\n<\/pre>\n<\/p>\n\u8fd9\u5c06\u4f1a\u7f16\u8f91vsftpd\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e9b\u91cd\u8981\u53c2\u6570\uff0c\u6bd4\u5982\u533f\u540d\u767b\u5f55\u3001\u7528\u6237\u76ee\u5f55\u7b49\u3002\u6839\u636e\u5b9e\u9645\u9700\u6c42\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\uff0c\u7136\u540e\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n
\u4e09\u3001\u914d\u7f6evsftpd<\/b><\/p>\n
\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e9b\u5e38\u7528\u7684\u53c2\u6570linux\u683c\u5f0f\u5316\u786c\u76d8\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u53c2\u6570\u53ca\u5176\u4f5c\u7528\uff1a<\/p>\n
1. anonymous_enable=YES\uff1a\u5141\u8bb8\u533f\u540d\u7528\u6237\u767b\u5f55\uff1b<\/b><\/p>\n
2. local_enable=YES\uff1a\u5141\u8bb8\u672c\u5730\u7528\u6237\u767b\u5f55\uff1b<\/b><\/p>\n
3. write_enable=YES\uff1a\u5141\u8bb8\u7528\u6237\u4e0a\u4f20\u6587\u4ef6\uff1b<\/b><\/p>\n
4. chroot_local_user=YES\uff1a\u9650\u5236\u7528\u6237\u53ea\u80fd\u5728\u81ea\u5df1\u7684\u5bb6\u76ee\u5f55\u4e2d\u64cd\u4f5c\u3002<\/b><\/p>\n
\u6839\u636e\u5b9e\u9645\u9700\u6c42\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u3002\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n
\u56db\u3001\u91cd\u542fvsftpd\u670d\u52a1<\/b><\/p>\n
\u5728\u5b8c\u6210\u914d\u7f6e\u540e\uff0c\u6211\u4eec\u9700\u8981\u91cd\u542fvsftpd\u670d\u52a1\uff0c\u4f7f\u5176\u751f\u6548\u3002\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nsudo service vsftpd restart\n<\/pre>\n<\/p>\n<\/p>\n
\u4ee5\u4e0a\u547d\u4ee4\u5c06\u4f1a\u91cd\u65b0\u542f\u52a8vsftpd\u670d\u52a1\u3002\u5982\u679c\u6ca1\u6709\u51fa\u73b0\u9519\u8bef\u63d0\u793a\uff0c\u5219\u8bf4\u660e\u670d\u52a1\u5df2\u7ecf\u6210\u529f\u542f\u52a8\u3002<\/p>\n
\u4e94\u3001\u5b89\u88c5ftp\u5ba2\u6237\u7aef<\/b><\/p>\n
\u5728\u4f7f\u7528vsftpd\u548cftp\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\u4e4b\u524d\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u5728\u672c\u5730\u5b89\u88c5\u4e00\u4e2aftp\u5ba2\u6237\u7aef\u3002\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n
\n
\nsudo apt-get install ftp\n<\/pre>\n<\/p>\n\u4ee5\u4e0a\u547d\u4ee4\u5c06\u4f1a\u5b89\u88c5ftp\u5ba2\u6237\u7aef\u8f6f\u4ef6\u5305\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165`ftp IP\u5730\u5740`\u6765\u8fde\u63a5\u5230\u6240\u9700\u7684\u4e3b\u673a\u3002<\/p>\n
\u516d\u3001\u4f7f\u7528vsftpd\u548cftp\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93<\/b><\/p>\n
\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u5df2\u7ecf\u6210\u529f\u5730\u5b89\u88c5\u4e86vsftpd\u548cftp\uff0c\u5e76\u8fdb\u884c\u4e86\u57fa\u672c\u7684\u914d\u7f6e\u3002\u73b0\u5728\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u4f7f\u7528vsftpd\u548cftp\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93\uff1a<\/p>\n
1.\u4f7f\u7528`ftp IP\u5730\u5740`\u547d\u4ee4\u8fde\u63a5\u5230\u6240\u9700\u7684\u4e3b\u673a\uff1b<\/p>\n
2.\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u8fdb\u884c\u767b\u5f55\uff1b<\/p>\n
3.\u4f7f\u7528`put \u6587\u4ef6\u540d`\u547d\u4ee4\u4e0a\u4f20\u6587\u4ef6\uff1b<\/p>\n
4.\u4f7f\u7528`get \u6587\u4ef6\u540d`\u547d\u4ee4\u4e0b\u8f7d\u6587\u4ef6\u3002<\/p>\n
\u901a\u8fc7\u4ee5\u4e0a\u7b80\u5355\u7684\u547d\u4ee4\uff0c\u6211\u4eec\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6587\u4ef6\u4e0a\u4f20\u3001\u4e0b\u8f7d\u548c\u5171\u4eab\u3002<\/p>\n
<\/p>\n
\u4e03\u3001\u603b\u7ed3<\/b><\/p>\n
\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u4e86\u89e3\u5230\u4e86\u5982\u4f55\u5728Linux\u7cfb\u7edf\u4e2d\u5b89\u88c5vsftpd\u548cftp\uff0c\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u914d\u7f6e\u3002vsftpd\u548cftp\u4f5c\u4e3a\u5e38\u7528\u7684\u6587\u4ef6\u4f20\u8f93\u5de5\u5177\uff0c\u80fd\u591f\u5e2e\u52a9\u7528\u6237\u5b9e\u73b0\u5feb\u901f\u9ad8\u6548\u7684\u6587\u4ef6\u4f20\u8f93\u3002\u65e0\u8bba\u662f\u5728\u670d\u52a1\u5668\u8fd8\u662f\u4e2a\u4eba\u7535\u8111\u4e0alinux\u5165\u95e8\uff0c\u5b83\u4eec\u90fd\u80fd\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n
\u516b\u3001\u53c2\u8003\u8d44\u6599<\/b><\/p>\n
1. Linux Man Pages: vsftpd(8)- Linux man page<\/p>\n
2. Ubuntu Documentation: vsftpd - Community Help Wiki<\/p>\n
3. HowToForge: The Perfect Server - Ubuntu 18.04 (Bionic Beaver) with Apache, PHP, MySQL, PureFTPD, BIND, Postfix, Dovecot and ISPConfig 3<\/p>\n
4. DigitalOcean: How To Set Up vsftpd for a User's Directory on Ubuntu 18.<\/p>\n","protected":false},"excerpt":{"rendered":"
\u800c\u5728Linux\u7cfb\u7edf\u4e2d\uff0cvsftpd\u548cftp\u662f\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u6587\u4ef6\u4f20\u8f93\u5de5\u5177\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u9010\u6b65\u4ecb\u7ecd\u5982\u4f55\u5728Linux\u7cfb\u7edf\u4e2d\u5b89\u88c5vsftpd\u548cftp\uff0c\u5e76\u914d\u7f6e\u5176\u76f8\u5173\u53c2\u6570\u3002\u4e8c\u3001\u5b89\u88c5vsftpd\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5728Linux\u7cfb\u7edf\u4e2d\u5b89\u88c5vsftpd\u3002\u4ee5\u4e0a\u547d\u4ee4\u5c06\u4f1a\u66f4\u65b0\u8f6f\u4ef6\u6e90\u5e76\u5b89\u88c5vsftpd\u8f6f\u4ef6\u5305\u3002\u4e09\u3001\u914d\u7f6evsftpd\u56db\u3001\u91cd\u542fvsftpd\u670d\u52a1\u516d\u3001\u4f7f\u7528vsftpd\u548cftp\u8fdb\u884c\u6587\u4ef6\u4f20\u8f93<\/p>\n","protected":false},"author":1,"featured_media":278990,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-278989","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\/278989","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=278989"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/278989\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/278990"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=278989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=278989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=278989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}