\u547d\u4ee4<\/a>\u6765\u5b9e\u73b0\u8fd9\u4e2a\u529f\u80fd\u3002<\/p>\n#ifconfigeth0:0172.20.66.2up<\/p>\n
#ifconfigeth0:1172.20.66.3up<\/p>\n
\u6211\u4eec\u8bbe\u7f6e\u4e24\u4e2aFTP\u865a\u62df\u4e3b\u673a\uff0c\u56e0\u800c\u5c31\u5728\u7f51\u5361\u4e0a\u7ed1\u5b9a\u4e24\u4e2aIP\u5730\u5740\u3002\u5728Linux\u4e2d\uff0c\u4e00\u4e2a\u7f51\u5361\u7406\u8bba\u4e0a\u53ef\u4ee5\u7ed1\u5b9a16\u4e2aIP\u5730\u5740\u3002\u5047\u5982\u8bfb\u8005\u4e0d\u60f3\u901a\u8fc7\u547d\u4ee4\u6765\u6267\u884c\uff0c\u4e5f\u53ef\u4ee5\u81ea\u884c\u6539\u53d8\/etc\/sysconfig\/networking\u4e2d\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u6765\u8fbe\u5230\u540c\u6837\u76ee\u7684\u3002<\/p>\n
2.\u914d\u7f6eftpservers\u6587\u4ef6<\/p>\n
\u5173\u4e8eftpservers\u6587\u4ef6\u91cc\u9762\u65e9\u5df2\u63d0\u53ca\uff0c\u5728\u6b64\u4f8b\u4e2d\u53ef\u4ee5\u7528\u5230\u4ee5\u4e0b\u7684\u914d\u7f6e\uff1a<\/p>\n
172.20.66.2\/etc\/ftpaccess1<\/p>\n
172.20.66.3\/etc\/ftpaccess2<\/p>\n
\u8be5\u6587\u4ef6\u7ed9\u51fa\u4e86\u50a8\u5b58\u865a\u62df\u4e3b\u673a\u914d\u7f6e\u6587\u4ef6\u7684\u8def\u5f84\uff0c\u5728\u987e\u5ba2\u7aef\u5bf9FTP\u670d\u52a1\u5668\u53d1\u51fa\u6073\u6c42\u7684\u65f6\u4faf\uff0c\u670d\u52a1\u5668\u5c06\u987e\u5ba2\u7aef\u6073\u6c42\u7684IP\u5728\u8be5\u6587\u4ef6\u4e2d\u8fdb\u884c\u67e5\u627e\uff0c\u77a7\u77a7\u662f\u5426\u6709\u5339\u914d\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5047\u5982\u6709\u5339\u914d\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5c31\u8c03\u7528\u8be5IP\u5730\u5740\u5bf9\u5e94\u7684\u76ee\u5f55\u4e2d\u7684\u914d\u7f6e\u6587\u4ef6\u4f5c\u4e3a\u8be5\u987e\u5ba2\u7aef\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5047\u5982\u6ca1\u6709\u53d1\u89c9\u5339\u914d\u9879\uff0c\u5c31\u4f7f\u7528\u9ed8\u8ba4\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u5728\u8be5\u6587\u4ef6\u4e2d\u7528IP\u5730\u5740\u6216\u4e3b\u673a\u540d\u90fd\u53ef\u4ee5\u3002\u5047\u5982\u7528\u4e3b\u673a\u540d\uff0c\u5c31\u987b\u8981\/etc\/hosts\u548cDNS\u7684\u652f\u6301\uff0c\u6765\u8fdb\u884c\u89e3\u6790\u4e3a\u6700\u7ec8\u7684IP\u3002<\/p>\n
\u56e0\u4e3a\u5728\u914d\u7f6e\u865a\u62df\u4e3b\u673a\u4e2d\uff0c\u8fd9\u4e2a\u6587\u4ef6\u662f\u53ef\u9009\u7684\uff0c\u7528\u6237\u53ef\u4ee5\u4e0d\u7528\u4e3a\u6bcf\u4f4d\u865a\u62df\u4e3b\u673a\u90fd\u8bbe\u7f6e\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u8fc7\u5728\u4e3bftpaccess\u6587\u4ef6\u4e2d\u505a\u4e00\u4e9b\u8bbe\u7f6e\u4e5f\u53ef\u4ee5\u8fbe\u5230\u76f8\u5e94\u76ee\u7684\u3002\u6211\u4eec\u5c31\u901a\u8fc7\u914d\u7f6eftpaccess\u6765\u5b9e\u73b0\u865a\u62df\u4e3b\u673a\u7684\u529f\u80fd\u3002<\/p>\n
3.\u914d\u7f6eftpaccess\u6587\u4ef6\u4e2d\u7684\u865a\u62df\u4e3b\u673a\u90e8\u4efd<\/p>\n
\u865a\u62df\u670d\u52a1\u5668\u7684ftpaccess\u914d\u7f6e\u6587\u4ef6\u4e0e\u4e0d\u63d0\u4f9b\u865a\u62df\u670d\u52a1\u5668\u7248\u672c\u76f8\u6bd4\uff0c\u964d\u4f4e\u4e86virtia\u3001root\u3001logfile\u7b49\u591a\u4e2a\u6307\u4ee4\uff0c\u8fd9\u79cd\u90fd\u662f\u5728\u7f16\u8bd1\u6e90\u4ee3\u7801\u7684\u65f6\u4faf\u5f62\u6210\u7684\u3002\u4e0b\u8fb9\u5c31\u90a3\u4e9b\u53c2\u6570\u8fdb\u884c\u8bf4\u660e\u3002<\/p>\n
\uff081\uff09virtual<\/p>\n
virtual<\/p>\n
\u91cc\u9762\u5404\u4e2a\u53c2\u6570\u8bbe\u5b9a\u4e86\u865a\u62df\u4e3b\u673a\u7684\u5404\u7c7b\u57fa\u672c\u914d\u7f6e\uff0c\u5176\u4e2dvirtual\u53c2\u6570\u524d\u7f00\u8bf4\u660e\u4e0b\u8fb9\u7684\u53c2\u6570\u662f\u4e3a\u4e86\u8bbe\u5b9a\u865a\u62df\u4e3b\u673a\u800c\u8bbe\u5b9a\u7684\uff1baddress\u6307\u5b9a\u4e86\u865a\u62df\u4e3b\u673a\u7684IP\u5730\u5740\uff0c\u8fd9\u513f\u5e94\u5f53\u662f172.20.66.2\u548c172.20.66.3\u4e24\u4e2aIP\u3002<\/p>\n
\u4e0b\u8fb9\u7684\u53c2\u6570\u90fd\u662f\u6784\u5efa\u5728virtual\u4e0b\u8fb9\u7684\u5b50\u53c2\u6570\uff1a<\/p>\n
\u25c6root\u6307\u5b9a\u4e86\u8be5\u865a\u62df\u4e3b\u673a\u7684ftp\u6839\u76ee\u5f55\uff1b<\/p>\n
\u25c6banner\u6307\u5b9a\u4e86\u8be5\u865a\u62df\u4e3b\u673a\u7684\u7cfb\u7edf\u63d0\u793a\u4fe1\u606f\uff1b<\/p>\n
\u25c6logfile\u6307\u5b9a\u4e86\u8be5\u865a\u62df\u4e3b\u673a\u7684\u65e5\u5fd7\u6587\u4ef6\u6240\u5728\u7684\u4f4d\u7f6e\uff1b<\/p>\n
\u25c6hostname\u6307\u5b9a\u4e86\u8be5\u865a\u62df\u4e3b\u673a\u7684\u4e3b\u673a\u540d\u79f0\uff1b<\/p>\n
\u25c6email\u6307\u5b9a\u4e86\u8be5\u865a\u62df\u4e3b\u673a\u7ba1\u7406\u8005\u7684E-mail\u5730\u5740\u3002<\/p>\n
\u4f8b\u5982\uff0c\u5728\u4e0b\u4f8b\u624b\u6307\u5b9a\u4e86\u4e00\u4e2a\u865a\u62dfFTP\u670d\u52a1\u5668\u7684\u914d\u7f6e\u60c5\u51b5\uff1a<\/p>\n
#\u865a\u62df\u4e3b\u673a\u7684\u914d\u7f6e\u8bbe\u5b9a<\/p>\n
virtual172.20.66.2root\/var\/ftp\/virtual1<\/p>\n
virtual172.20.66.2banner\/var\/ftp\/virtual\/1.msg<\/p>\n
virtual172.20.66.2logfile\/var\/log\/ftp\/virtual\/1xferlog<\/p>\n
virtual172.20.66.2hostname1<\/p>\n
virtual172.20.66.2emailadmin@1<\/p>\n
virtual172.20.66.3root\/var\/ftp\/virtual2<\/p>\n
virtual172.20.66.3banner\/var\/ftp\/virtual\/2.msg<\/p>\n
virtual172.20.66.3logfile\/var\/log\/ftp\/virtual\/2xferlog<\/p>\n
virtual172.20.66.3hostname2<\/p>\n
virtual172.20.66.3emailadmin@2<\/p>\n
\uff082\uff09virtual<\/p>\n
allow[...]<\/p>\n
virtual<\/p>\n
deny[...]<\/p>\n
\u91cc\u9762\u90a3\u4e9b\u53c2\u6570\u8bbe\u5b9a\u865a\u62df\u4e3b\u673a\u7684\u6743\u9650\u3002\u5176\u4e2dallow\u548cdeny\u90fd\u662fvirtual\u7684\u5b50\u53c2\u6570\uff0c\u5b83\u4eec\u8bbe\u5b9a\u662f\u5426\u53ef\u4ee5\u8bbf\u95ee\u865a\u62df\u4e3b\u673a\u7684\u8bbe\u7f6e\u3002\u901a\u5e38\u60c5\u51b5\u4e0breal\u548cguest\u4e24\u4e2aclass\u662f\u7528\u6237\u4e0d\u51c6\u8bb8\u8bbf\u95ee\u865a\u62df\u4e3b\u673a\uff0c\u8be5\u4e24\u4e2a\u6307\u793a\u62ff\u6765\u91cd\u65b0\u5bf9\u5bb9\u8bb8\u548c\u62d2\u7edd\u8bbf\u95ee\u7684\u865a\u62df\u4e3b\u673a\u7684\u7528\u6237\u8fdb\u884c\u5b9a\u4e49\uff0c\u901a\u8fc7\u8fd9\u79cd\u8bbe\u7f6e\u548cftpuser\u7684\u642d\u914d\uff0c\u53ef\u4ee5\u6108\u53d1\u7ec6\u5316\u670d\u52a1\u5668\u3002<\/p>\n
\uff083\uff09defaultserverdeny[...]<\/p>\n
defaultserverallow[...]<\/p>\n
defaultserverprivate<\/p>\n
\u524d\u9762\u8fd9\u51e0\u4e2a\u53c2\u6570\u8bbe\u5b9a\u4e86\u865a\u62df\u4e3b\u673a\u4e2d\u8bbf\u95ee\u6743\u9650\u9ed8\u8ba4\u503c\u3002\u8bf7\u6ce8\u610f\u5b83\u4eec\u4e0d\u662fvirtual\u7684\u5b50\u53c2\u6570\u3002\u5176\u4e2d\uff1a<\/p>\n
defaultserverprivate\u6307\u5b9a\u4e86\u9ed8\u8ba4\u7684\u865a\u62df\u670d\u52a1\u5668\u662f\u5426\u62d2\u7eddanonymous\u7528\u6237\u8bbf\u95ee\u3002<\/p>\n
defaultserverdeny\u6307\u5b9a\u4e86\u9ed8\u8ba4\u7684\u865a\u62df\u670d\u52a1\u5668\u62d2\u7edd\u4ec0\u4e48\u7528\u6237\u7684\u8bbf\u95ee\u3002<\/p>\n
defaultserverallow\u6307\u5b9a\u4e86\u9ed8\u8ba4\u7684\u865a\u62df\u670d\u52a1\u5668\u63a5\u53d7\u4ec0\u4e48\u7528\u6237\u7684\u8bbf\u95ee\u3002<\/p>\n
\u901a\u8fc7\u4ee5\u4e0a\u914d\u7f6e\u53c2\u6570\uff0c\u518d\u7ed3\u5408FTP\u5176\u5b83\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u8fd9\u6837\u4e00\u53f0PC\u673a\u5c31\u53ef\u4ee5\u4f5c\u4e3a\u591a\u53f0FTP\u670d\u52a1\u5668\u4f7f\u7528\u3002\u8bfb\u8005\u53ef\u4ee5\u9488\u5bf9\u81ea\u5df1\u7684\u9700\u6c42\uff0c\u7ed3\u5408\u5176\u5b83\u7684wu-ftp\u7684\u914d\u7f6e\u8bf4\u660e\uff0c\u6765\u8ba2\u5236\u4e2a\u6027\u5316\u7684FTP\u670d\u52a1\u5668\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
wu-ftpd\u63d0\u4f9b\u4e86\u865a\u62df\u4e3b\u673a\u7684\u529f\u80fd\u3002\u5b83\u901a\u8fc7\u4e00\u4e2aFTP\u8f6f\u4ef6\u5728\u540c\u4e00\u53f0\u4e3b\u673a\u4e0a\u63d0\u4f9b\u4e0d\u540cFTP\u670d\u52a1\u5668\uff0c\u4ee5\u4e3b\u673a\u540d\u79f0\u6216IP\u6765\u533a\u5206\u5404\u4e2a\u4e0d\u540c\u7684\u865a\u62df\u4e3b\u673a\u3002\u6587\u4ef6\u63a7\u5236\u4e86\u5f53\u5ba2\u6237\u767b\u9646\u4e0d\u540c\u865a\u62df\u4e3b\u673a\u65f6\u5019\uff0c\u670d\u52a1\u5668\u91c7\u7528\u4e0d\u540c\u7684\u914d\u7f6e\u6587\u4ef6\u6765\u8fdb\u884c\u529f\u80fd\u8bbe\u7f6e\u3002\u6211\u4eec\u5c31\u901a\u8fc7\u914d\u7f6eftpaccess\u6765\u5b9e\u73b0\u865a\u62df\u4e3b\u673a\u7684\u529f\u80fd\u3002<\/p>\n","protected":false},"author":1,"featured_media":264863,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-264862","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\/264862","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=264862"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/264862\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/264863"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=264862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=264862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=264862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}