{"id":37301,"date":"2025-05-15T10:51:09","date_gmt":"2025-05-15T02:51:09","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37301.html"},"modified":"2025-05-15T10:51:09","modified_gmt":"2025-05-15T02:51:09","slug":"ubuntu1804%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%bc%80%e5%90%afftp%ef%bc%8c%e5%b1%80%e5%9f%9f%e7%bd%91%e5%85%b1%e4%ba%ab%e7%89%b9%e5%ae%9a%e6%96%87%e4%bb%b6%e7%bb%99%e5%8c%bf%e5%90%8d%e7%94%a8%e6%88%b7","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37301.html","title":{"rendered":"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237"},"content":{"rendered":"<p>\u8981\u5728 Ubuntu 18.04 \u4e0a\u8bbe\u7f6e\u4e00\u4e2a FTP \u670d\u52a1\u5668&#xff0c;\u6ee1\u8db3\u4ee5\u4e0b\u8981\u6c42&#xff1a;<\/p>\n<li>\u5141\u8bb8\u533f\u540d\u767b\u5f55&#xff08;\u65e0\u9700\u8d26\u53f7\u5bc6\u7801&#xff09;\u3002<\/li>\n<li>\u6307\u5b9a\u5206\u4eab\u7279\u5b9a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u3002<\/li>\n<li>\u53ea\u5141\u8bb8\u53ea\u8bfb\u4e0b\u8f7d\u3002<\/li>\n<p>\u53ef\u4ee5\u4f7f\u7528 vsftpd&#xff08;Very Secure FTP Daemon&#xff09;\u6765\u5b9e\u73b0\u3002\u4ee5\u4e0b\u662f\u8be6\u7ec6\u6b65\u9aa4&#xff1a;<\/p>\n<h4>1. \u5b89\u88c5 vsftpd<\/h4>\n<p>\u9996\u5148&#xff0c;\u5b89\u88c5 vsftpd&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> vsftpd -y<\/p>\n<h4>2. \u914d\u7f6e vsftpd<\/h4>\n<p>\u7f16\u8f91 vsftpd \u7684\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/vsftpd.conf<\/p>\n<p>\u6839\u636e\u9700\u6c42\u4fee\u6539\u6216\u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\u9879&#xff1a;<\/p>\n<h5>(1) \u57fa\u672c\u914d\u7f6e<\/h5>\n<p># \u5141\u8bb8\u533f\u540d\u767b\u5f55<br \/>\nanonymous_enable&#061;YES<\/p>\n<p># \u7981\u6b62\u672c\u5730\u7528\u6237\u767b\u5f55<br \/>\nlocal_enable&#061;NO<\/p>\n<p># \u7981\u6b62\u5199\u5165\u6743\u9650&#xff08;\u53ea\u8bfb&#xff09;<br \/>\nwrite_enable&#061;NO<\/p>\n<p># \u8bbe\u7f6e\u533f\u540d\u7528\u6237\u7684\u6839\u76ee\u5f55<br \/>\nanon_root&#061;\/home\/cicd\/workspace\/build-images\/<\/p>\n<p># \u5141\u8bb8\u533f\u540d\u7528\u6237\u4e0b\u8f7d\u6587\u4ef6<br \/>\nanon_download_enable&#061;YES<\/p>\n<p># \u7981\u6b62\u533f\u540d\u7528\u6237\u4e0a\u4f20\u6587\u4ef6<br \/>\nanon_upload_enable&#061;NO<\/p>\n<p># \u7981\u6b62\u533f\u540d\u7528\u6237\u521b\u5efa\u76ee\u5f55<br \/>\nanon_mkdir_write_enable&#061;NO<\/p>\n<p># \u542f\u7528\u88ab\u52a8\u6a21\u5f0f&#xff08;\u63a8\u8350\u7528\u4e8e\u5c40\u57df\u7f51&#xff09;<br \/>\npasv_enable&#061;YES<br \/>\npasv_min_port&#061;10000<br \/>\npasv_max_port&#061;10100<\/p>\n<p># \u65e5\u5fd7\u8bbe\u7f6e<br \/>\nxferlog_enable&#061;YES<br \/>\nxferlog_file&#061;\/var\/log\/vsftpd.log<br \/>\nxferlog_std_format&#061;YES<\/p>\n<p># \u5176\u4ed6\u5b89\u5168\u8bbe\u7f6e<br \/>\n# connect_from_port_20&#061;YES<br \/>\n# chroot_local_user&#061;YES<br \/>\n# allow_writeable_chroot&#061;YES<\/p>\n<h5>(2) \u5173\u95ed\u4e0d\u5fc5\u8981\u7684\u529f\u80fd<\/h5>\n<p>\u786e\u4fdd\u7981\u7528\u4e86\u4e0e\u9700\u6c42\u65e0\u5173\u7684\u529f\u80fd&#xff1a;<\/p>\n<ul>\n<li>\u7981\u6b62\u672c\u5730\u7528\u6237\u767b\u5f55&#xff1a;local_enable&#061;NO<\/li>\n<li>\u7981\u6b62\u5199\u5165\u6743\u9650&#xff1a;write_enable&#061;NO<\/li>\n<\/ul>\n<h5>(3) \u8bbe\u7f6e\u533f\u540d\u7528\u6237\u7684\u6839\u76ee\u5f55<\/h5>\n<p>\u6307\u5b9a\u533f\u540d\u7528\u6237\u7684\u6839\u76ee\u5f55\u4e3a \/home\/cicd\/workspace\/build-images\/&#xff08;\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u66f4\u6539\u6b64\u8def\u5f84&#xff09;\u3002<\/p>\n<h4>3. \u521b\u5efa\u5171\u4eab\u76ee\u5f55\u5e76\u8bbe\u7f6e\u6743\u9650<\/h4>\n<h5>(1) \u521b\u5efa\u5171\u4eab\u76ee\u5f55<\/h5>\n<p>\u5047\u8bbe\u4f60\u5e0c\u671b\u5171\u4eab \/home\/cicd\/workspace\/build-images\/ \u76ee\u5f55\u4e0b\u7684\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> -p \/srv\/ftp\/shared<\/p>\n<p>\u8bbe\u7f6e\u76ee\u5f55\u7684\u6240\u6709\u8005\u548c\u7ec4 \u5c06\u76ee\u5f55\u7684\u6240\u6709\u8005\u8bbe\u7f6e\u4e3a\u672c\u5730\u7528\u6237&#xff08;\u4f8b\u5982 cicd&#xff09;&#xff0c;\u5e76\u5c06\u76ee\u5f55\u7684\u7ec4\u8bbe\u7f6e\u4e3a\u4e00\u4e2a\u7279\u5b9a\u7684\u7ec4&#xff08;\u4f8b\u5982 ftpusers&#xff09;&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> cicd:ftpusers -R \/home\/cicd\/workspace\/build-images\/<br \/>\n<span class=\"token comment\"># \u5982\u679cftpusers\u4e0d\u5b58\u5728<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">groupadd<\/span> ftpusers<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> -aG ftpusers nobody<br \/>\n<span class=\"token comment\"># \u8bbe\u7f6e\u76ee\u5f55\u6743\u9650&#xff0c;7\u6240\u6709\u8005\u6709\u8bfb\u5199\u6267\u884c\u6743\u9650&#xff0c;5\u7ec4\u6709\u8bfb\u548c\u6267\u884c\u6743\u9650&#xff0c;\u6ca1\u6709\u5199\u6743\u9650&#xff0c;5\u5176\u4ed6\u7528\u6237\u6ca1\u6709\u6743\u9650<\/span><br \/>\n<span class=\"token comment\"># \u533f\u540d\u767b\u5f55\u5728ftp\u91cc\u4f7f\u7528nobody\u767b\u5f55&#xff0c;\u4f7f\u7528nobody\u7ec4&#xff0c;\u6240\u4ee5other\u6743\u9650\u6539\u6210\u53ef\u8bfb\u53ef\u6267\u884c<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> <span class=\"token number\">755<\/span> \/home\/cicd\/workspace\/build-images\/<br \/>\n<span class=\"token comment\"># \u786e\u4fdd\u5b50\u76ee\u5f55\u548c\u6587\u4ef6\u6743\u9650\u4e00\u81f4<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">find<\/span> \/home\/cicd\/workspace\/build-images\/ -type d -exec <span class=\"token function\">chmod<\/span> <span class=\"token number\">755<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span> <span class=\"token punctuation\">\\\\<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">find<\/span> \/home\/cicd\/workspace\/build-images\/ -type f -exec <span class=\"token function\">chmod<\/span> <span class=\"token number\">644<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span> <span class=\"token punctuation\">\\\\<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token comment\">#\u542f\u7528 setgid \u4f4d<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> g&#043;s \/home\/cicd\/workspace\/build-images\/<\/p>\n<h4>4. \u542f\u52a8\u5e76\u542f\u7528 vsftpd \u670d\u52a1<\/h4>\n<h5>(1) \u542f\u52a8 vsftpd<\/h5>\n<p><span class=\"token function\">sudo<\/span> systemctl start vsftpd<\/p>\n<h5>(2) \u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/h5>\n<p><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> vsftpd<\/p>\n<h5>(3) \u68c0\u67e5\u670d\u52a1\u72b6\u6001<\/h5>\n<p>\u786e\u4fdd\u670d\u52a1\u6b63\u5e38\u8fd0\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl status vsftpd<\/p>\n<h4>5. \u6d4b\u8bd5 FTP \u670d\u52a1\u5668<\/h4>\n<h5>(1) \u5728\u5c40\u57df\u7f51\u4e2d\u8bbf\u95ee<\/h5>\n<p>\u4ece\u53e6\u4e00\u53f0\u8bbe\u5907&#xff08;\u4f8b\u5982 Windows \u6216\u5176\u4ed6 Linux \u8bbe\u5907&#xff09;\u8bbf\u95ee FTP \u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528\u6d4f\u89c8\u5668\u3001\u547d\u4ee4\u884c\u5de5\u5177\u6216 FTP \u5ba2\u6237\u7aef\u3002<\/p>\n<h6>\u793a\u4f8b&#xff1a;\u4f7f\u7528\u6d4f\u89c8\u5668\u8bbf\u95ee<\/h6>\n<p>\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165&#xff1a;<\/p>\n<p>ftp:\/\/&lt;\u670d\u52a1\u5668IP\u5730\u5740&gt;<\/p>\n<h6>\u793a\u4f8b&#xff1a;\u4f7f\u7528\u547d\u4ee4\u884c\u8bbf\u95ee<\/h6>\n<p><span class=\"token function\">ftp<\/span> <span class=\"token operator\">&lt;<\/span>\u670d\u52a1\u5668IP\u5730\u5740<span class=\"token operator\">&gt;<\/span><\/p>\n<h5>(2) \u533f\u540d\u767b\u5f55<\/h5>\n<p>\u65e0\u9700\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801&#xff0c;\u76f4\u63a5\u6309\u56de\u8f66\u5373\u53ef\u767b\u5f55\u3002<\/p>\n<h5>(3) \u4e0b\u8f7d\u6587\u4ef6<\/h5>\n<p>\u5c1d\u8bd5\u4e0b\u8f7d\u5171\u4eab\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6&#xff0c;\u786e\u4fdd\u53ea\u8bfb\u6743\u9650\u751f\u6548\u3002<\/p>\n<h4>7. \u6ce8\u610f\u4e8b\u9879<\/h4>\n<li>\n<p>\u5b89\u5168\u6027&#xff1a;<\/p>\n<ul>\n<li>\u533f\u540d FTP \u670d\u52a1\u5668\u53ef\u80fd\u4f1a\u88ab\u6ee5\u7528&#xff0c;\u5efa\u8bae\u4ec5\u5728\u53d7\u4fe1\u4efb\u7684\u5c40\u57df\u7f51\u4e2d\u4f7f\u7528\u3002<\/li>\n<li>\u5982\u679c\u9700\u8981\u66f4\u9ad8\u7684\u5b89\u5168\u6027&#xff0c;\u53ef\u4ee5\u8003\u8651\u4f7f\u7528 SFTP&#xff08;\u57fa\u4e8e SSH \u7684\u6587\u4ef6\u4f20\u8f93\u534f\u8bae&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u65e5\u5fd7\u76d1\u63a7&#xff1a;<\/p>\n<ul>\n<li>\u67e5\u770b FTP \u65e5\u5fd7\u4ee5\u76d1\u63a7\u8bbf\u95ee\u60c5\u51b5&#xff1a;<span class=\"token function\">sudo<\/span> <span class=\"token function\">tail<\/span> -f \/var\/log\/vsftpd.log\n <\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u78c1\u76d8\u7a7a\u95f4&#xff1a;<\/p>\n<ul>\n<li>\u786e\u4fdd\u5171\u4eab\u76ee\u5f55\u6240\u5728\u7684\u78c1\u76d8\u5206\u533a\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u3002<\/li>\n<\/ul>\n<\/li>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u4f60\u53ef\u4ee5\u5728 Ubuntu 18.04 \u4e0a\u6210\u529f\u8bbe\u7f6e\u4e00\u4e2a\u533f\u540d\u8bbf\u95ee\u3001\u53ea\u8bfb\u4e0b\u8f7d\u7684 FTP \u670d\u52a1\u5668&#xff0c;\u5e76\u6307\u5b9a\u5171\u4eab\u7279\u5b9a\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb668\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u53ef\u4ee5\u4f7f\u7528vsftpd\uff08Very Secure FTP Daemon\uff09\u6765\u5b9e\u73b0\u3002\u9996\u5148\uff0c\u5b89\u88c5vsftpd\u7f16\u8f91vsftpd\u6307\u5b9a\u533f\u540d\u7528\u6237\u7684\u6839\u76ee\u5f55\u4e3a\uff08\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u66f4\u6539\u6b64\u8def\u5f84\uff09\u3002\u5047\u8bbe\u4f60\u5e0c\u671b\u5171\u4eab\u8bbe\u7f6e\u76ee\u5f55\u7684\u6240\u6709\u8005\u548c\u7ec4\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u542f\u7528\u4e86\u9632\u706b\u5899\uff08\u5982ufw\uff09\uff0c\u9700\u8981\u5f00\u653e FTP \u76f8\u5173\u7aef\u53e3\u3002\u4ece\u53e6\u4e00\u53f0\u8bbe\u5907\uff08\u4f8b\u5982 Windows \u6216\u5176\u4ed6 Linux \u8bbe\u5907\uff09\u8bbf\u95ee FTP \u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528\u6d4f\u89c8\u5668\u3001\u547d\u4ee4\u884c\u5de5\u5177\u6216 FTP \u5ba2\u6237\u7aef\u3002_unbutu\u642d\u5efaftp\u670d\u52a1\u5668\u5b9e\u73b0\u533f\u540d\u8bbf\u95ee<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3222,514,466,103],"topic":[],"class_list":["post-37301","post","type-post","status-publish","format-standard","hentry","category-server","tag-anonymous","tag-ftp","tag-shell","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/37301.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb668\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u53ef\u4ee5\u4f7f\u7528vsftpd\uff08Very Secure FTP Daemon\uff09\u6765\u5b9e\u73b0\u3002\u9996\u5148\uff0c\u5b89\u88c5vsftpd\u7f16\u8f91vsftpd\u6307\u5b9a\u533f\u540d\u7528\u6237\u7684\u6839\u76ee\u5f55\u4e3a\uff08\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u66f4\u6539\u6b64\u8def\u5f84\uff09\u3002\u5047\u8bbe\u4f60\u5e0c\u671b\u5171\u4eab\u8bbe\u7f6e\u76ee\u5f55\u7684\u6240\u6709\u8005\u548c\u7ec4\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u542f\u7528\u4e86\u9632\u706b\u5899\uff08\u5982ufw\uff09\uff0c\u9700\u8981\u5f00\u653e FTP \u76f8\u5173\u7aef\u53e3\u3002\u4ece\u53e6\u4e00\u53f0\u8bbe\u5907\uff08\u4f8b\u5982 Windows \u6216\u5176\u4ed6 Linux \u8bbe\u5907\uff09\u8bbf\u95ee FTP \u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528\u6d4f\u89c8\u5668\u3001\u547d\u4ee4\u884c\u5de5\u5177\u6216 FTP \u5ba2\u6237\u7aef\u3002_unbutu\u642d\u5efaftp\u670d\u52a1\u5668\u5b9e\u73b0\u533f\u540d\u8bbf\u95ee\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37301.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-15T02:51:09+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37301.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37301.html\",\"name\":\"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-15T02:51:09+00:00\",\"dateModified\":\"2025-05-15T02:51:09+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37301.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37301.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37301.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/37301.html","og_locale":"zh_CN","og_type":"article","og_title":"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb668\u6b21\uff0c\u70b9\u8d5e22\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u53ef\u4ee5\u4f7f\u7528vsftpd\uff08Very Secure FTP Daemon\uff09\u6765\u5b9e\u73b0\u3002\u9996\u5148\uff0c\u5b89\u88c5vsftpd\u7f16\u8f91vsftpd\u6307\u5b9a\u533f\u540d\u7528\u6237\u7684\u6839\u76ee\u5f55\u4e3a\uff08\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u66f4\u6539\u6b64\u8def\u5f84\uff09\u3002\u5047\u8bbe\u4f60\u5e0c\u671b\u5171\u4eab\u8bbe\u7f6e\u76ee\u5f55\u7684\u6240\u6709\u8005\u548c\u7ec4\u5982\u679c\u4f60\u7684\u7cfb\u7edf\u542f\u7528\u4e86\u9632\u706b\u5899\uff08\u5982ufw\uff09\uff0c\u9700\u8981\u5f00\u653e FTP \u76f8\u5173\u7aef\u53e3\u3002\u4ece\u53e6\u4e00\u53f0\u8bbe\u5907\uff08\u4f8b\u5982 Windows \u6216\u5176\u4ed6 Linux \u8bbe\u5907\uff09\u8bbf\u95ee FTP \u670d\u52a1\u5668\u3002\u53ef\u4ee5\u4f7f\u7528\u6d4f\u89c8\u5668\u3001\u547d\u4ee4\u884c\u5de5\u5177\u6216 FTP \u5ba2\u6237\u7aef\u3002_unbutu\u642d\u5efaftp\u670d\u52a1\u5668\u5b9e\u73b0\u533f\u540d\u8bbf\u95ee","og_url":"https:\/\/www.wsisp.com\/helps\/37301.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-15T02:51:09+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37301.html","url":"https:\/\/www.wsisp.com\/helps\/37301.html","name":"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-15T02:51:09+00:00","dateModified":"2025-05-15T02:51:09+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37301.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37301.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37301.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ubuntu1804\u670d\u52a1\u5668\u5f00\u542fftp\uff0c\u5c40\u57df\u7f51\u5171\u4eab\u7279\u5b9a\u6587\u4ef6\u7ed9\u533f\u540d\u7528\u6237"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37301"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37301\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37301"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}