{"id":84314,"date":"2026-07-26T11:25:27","date_gmt":"2026-07-26T03:25:27","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/84314.html"},"modified":"2026-07-26T11:25:27","modified_gmt":"2026-07-26T03:25:27","slug":"ftp-%e6%9e%84%e5%bb%baftp%e6%96%87%e4%bb%b6%e4%bc%a0%e8%be%93%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/84314.html","title":{"rendered":"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668"},"content":{"rendered":"<h3 style=\"margin-left:0px;margin-right:0px\">\u5b9e\u9a8c\u73af\u5883<\/h3>\n<h4>\u4ee5Centos 7\u4e3a\u4f8b<\/h4>\n<p>NAME&#061;&#034;CentOS Linux&#034;<br \/>\nVERSION&#061;&#034;7 (Core)&#034;<br \/>\nID&#061;&#034;centos&#034;<br \/>\nID_LIKE&#061;&#034;rhel fedora&#034;<br \/>\nVERSION_ID&#061;&#034;7&#034;<br \/>\nPRETTY_NAME&#061;&#034;CentOS Linux 7 (Core)&#034;<br \/>\nANSI_COLOR&#061;&#034;0;31&#034;<br \/>\nCPE_NAME&#061;&#034;cpe:\/o:centos:centos:7&#034;<br \/>\nHOME_URL&#061;&#034;https:\/\/www.centos.org\/&#034;<br \/>\nBUG_REPORT_URL&#061;&#034;https:\/\/bugs.centos.org\/&#034;<\/p>\n<p>CENTOS_MANTISBT_PROJECT&#061;&#034;CentOS-7&#034;<br \/>\nCENTOS_MANTISBT_PROJECT_VERSION&#061;&#034;7&#034;<br \/>\nREDHAT_SUPPORT_PRODUCT&#061;&#034;centos&#034;<br \/>\nREDHAT_SUPPORT_PRODUCT_VERSION&#061;&#034;7&#034;<\/p>\n<h4>vsftp\u670d\u52a1\u5668\u7f51\u5361\u914d\u7f6e<\/h4>\n<p>TYPE&#061;&#034;Ethernet&#034;<br \/>\nBOOTPROTO&#061;static<br \/>\nDEFROUTE&#061;&#034;yes&#034;<br \/>\nNAME&#061;eth0<br \/>\nDEVICE&#061;eth0<br \/>\nONBOOT&#061;&#034;yes&#034;<br \/>\nIPADDR&#061;192.168.2.5<br \/>\nPREFIX&#061;24<br \/>\nGATEWAY&#061;192.168.2.2<br \/>\nDNS1&#061;8.8.8.8<br \/>\nDNS2&#061;114.114.114.114<\/p>\n<h4>vsftp\u670d\u52a1\u5668yum\u6e90<\/h4>\n<p>yum repolist<\/p>\n<p>\u5df2\u52a0\u8f7d\u63d2\u4ef6&#xff1a;fastestmirror, priorities<br \/>\nLoading mirror speeds from cached hostfile<br \/>\n * base: mirrors.aliyun.com<br \/>\n * extras: mirrors.aliyun.com<br \/>\n * updates: mirrors.aliyun.com<br \/>\n10072 packages excluded due to repository priority protections<br \/>\n\u6e90\u6807\u8bc6                                      \u6e90\u540d\u79f0                                                            \u72b6\u6001<br \/>\n!base\/7\/x86_64                              CentOS-7 &#8211; Base &#8211; mirrors.aliyun.com                                10,072<br \/>\n!extras\/7\/x86_64                            CentOS-7 &#8211; Extras &#8211; mirrors.aliyun.com                                 526<br \/>\n!updates\/7\/x86_64                           CentOS-7 &#8211; Updates &#8211; mirrors.aliyun.com                            6,169&#043;4<br \/>\nrepolist: 16,767<\/p>\n<h4>\u5173\u95ed\u9632\u706b\u5899\u548cSElinux<\/h4>\n<p>systemctl stop firewalld<br \/>\nsystemctl status firewalld<\/p>\n<p>\u25cf firewalld.service &#8211; firewalld &#8211; dynamic firewall daemon<br \/>\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/firewalld.service; disabled; vendor preset: enabled)<br \/>\n   Active: inactive (dead)<br \/>\n     Docs: man:firewalld(1)<\/p>\n<h4>\u5173\u95edSElinux<\/h4>\n<p>\u76f4\u63a5\u5728\/root\u76ee\u5f55\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4<\/p>\n<p>setenforce 0<\/p>\n<p>\u5728\/etc\/selinux\/config\u4e2d\u8bbe\u7f6eselinux\u4e3adisabled\u00a0<\/p>\n<p># This file controls the state of SELinux on the system.<br \/>\n# SELINUX&#061; can take one of these three values:<br \/>\n#     enforcing &#8211; SELinux security policy is enforced.<br \/>\n#     permissive &#8211; SELinux prints warnings instead of enforcing.<br \/>\n#     disabled &#8211; No SELinux policy is loaded.<br \/>\nSELINUX&#061;disabled  #\u6539\u4e3adisabled<br \/>\n# SELINUXTYPE&#061; can take one of three values:<br \/>\n#     targeted &#8211; Targeted processes are protected,<br \/>\n#     minimum &#8211; Modification of targeted policy. Only selected processes are protected.<br \/>\n#     mls &#8211; Multi Level Security protection.<br \/>\nSELINUXTYPE&#061;targeted<\/p>\n<h4 style=\"margin-left:0px;margin-right:0px\">\u5b89\u88c5ftp\u8f6f\u4ef6\u5305\u53ca\u4f9d\u8d56(\u7528\u4e8e\u6d4b\u8bd5)<\/h4>\n<p>yum -y install ftp<\/p>\n<h3 style=\"margin-left:0px;margin-right:0px\"><\/h3>\n<h3 style=\"margin-left:0px;margin-right:0px\"><\/h3>\n<h3 style=\"margin-left:0px;margin-right:0px\"><\/h3>\n<h3 style=\"margin-left:0px;margin-right:0px\">\u533f\u540d\u7528\u6237\u914d\u7f6e<\/h3>\n<h4>1.\u5b89\u88c5 vsftpd \u670d\u52a1<\/h4>\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5 vsftpd \u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f&#xff1a;<\/p>\n<p>yum install -y vsftpd<br \/>\nsystemctl enable vsftpd  <\/p>\n<h4>2.\u521b\u5efa\u533f\u540d\u8bbf\u95ee\u76ee\u5f55\u5e76\u914d\u7f6e\u6743\u9650<\/h4>\n<p>\u521b\u5efa \/var\/ftp\/soft \u76ee\u5f55\u5e76\u751f\u6210\u6d4b\u8bd5\u6587\u4ef6&#xff0c;\u8bbe\u7f6e\u76ee\u5f55\u6743\u9650\u4e3a 755&#xff0c;\u5f52\u5c5e\u7528\u6237\u548c\u7ec4\u4e3a ftp&#xff1a;<\/p>\n<p>mkdir -p \/var\/ftp\/soft<br \/>\necho &#034;Welcome to anonymous soft dir&#034; &gt; \/var\/ftp\/soft\/readme.txt<br \/>\nchmod 755 \/var\/ftp\/soft<br \/>\nchown ftp:ftp \/var\/ftp\/soft  <\/p>\n<h4>3.\u914d\u7f6e vsftpd.conf<\/h4>\n<p>\u5907\u4efd\u539f\u59cb\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>cp \/etc\/vsftpd\/vsftpd.conf \/opt\/vsftpd.conf.bak<\/p>\n<p>\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\/etc\/vsftpd\/vsftpd.conf<\/p>\n<p>vim \/etc\/vsftpd\/vsftpd.conf<\/p>\n<p>\u6dfb\u52a0\u4ee5\u4e0b\u5173\u952e\u914d\u7f6e&#xff1a;<\/p>\n<p>listen&#061;YES<br \/>\nlisten_ipv6&#061;NO<br \/>\nanonymous_enable&#061;YES<br \/>\nlocal_enable&#061;NO<br \/>\nwrite_enable&#061;YES<br \/>\nanon_umask&#061;022<br \/>\nanon_root&#061;\/var\/ftp<br \/>\nanon_upload_enable&#061;NO<br \/>\nanon_mkdir_write_enable&#061;NO<br \/>\nanon_other_write_enable&#061;NO<br \/>\nanon_max_rate&#061;102400<br \/>\ndirmessage_enable&#061;YES<br \/>\nxferlog_enable&#061;YES<br \/>\nxferlog_std_format&#061;YES  <\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>anon_max_rate&#061;102400 \u9650\u5236\u4e0b\u8f7d\u5e26\u5bbd\u4e3a 100KB\/s&#xff08;\u5355\u4f4d&#xff1a;\u5b57\u8282&#xff09;\u3002<\/li>\n<li>\u7981\u6b62\u4e0a\u4f20\u3001\u5220\u9664\u7b49\u64cd\u4f5c\u901a\u8fc7 NO \u53c2\u6570\u5b9e\u73b0\u3002<\/li>\n<\/ul>\n<h4>4.\u542f\u52a8\u670d\u52a1\u5e76\u9a8c\u8bc1<\/h4>\n<p>\u91cd\u542f\u670d\u52a1\u5e76\u68c0\u67e5\u72b6\u6001&#xff1a;<\/p>\n<p>systemctl restart vsftpd<br \/>\nsystemctl status vsftpd  <\/p>\n<h4>5.\u6d4b\u8bd5\u533f\u540d\u8bbf\u95ee<\/h4>\n<p>\u4f7f\u7528 ftp \u547d\u4ee4\u8fde\u63a5\u672c\u5730\u670d\u52a1&#xff0c;\u9a8c\u8bc1\u529f\u80fd&#xff1a;<\/p>\n<p>ftp localhost<br \/>\nName: ftp<br \/>\nPassword: (\u76f4\u63a5\u56de\u8f66)<br \/>\nftp&gt; ls<br \/>\nftp&gt; cd soft<br \/>\nftp&gt; get readme.txt<br \/>\nftp&gt; put testfile        # \u5e94\u63d0\u793a 550 Permission denied<\/p>\n<h4><\/h4>\n<ul><\/ul>\n<\/p>\n<h3>\u865a\u62df\u7528\u6237\u914d\u7f6e<\/h3>\n<h4>1.\u5b89\u88c5 vsftpd\u670d\u52a1<\/h4>\n<p>\u786e\u4fdd\u7cfb\u7edf\u5df2\u5b89\u88c5 vsftpd&#xff0c;\u82e5\u672a\u5b89\u88c5\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>yum install -y vsftpd<br \/>\nsystemctl enable vsftpd<\/p>\n<h4><\/h4>\n<h4>2.\u521b\u5efa\u865a\u62df\u7528\u6237\u6570\u636e\u5e93\u6587\u4ef6<\/h4>\n<p>\u7f16\u8f91 \/etc\/vsftpd\/vusers.list \u6587\u4ef6&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>vim \/etc\/vsftpd\/vusers.list<\/p>\n<p>devadm<br \/>\ndev123<br \/>\nsales<br \/>\nsales123<br \/>\nsalesadm<br \/>\nadm123<\/p>\n<p>\u8f6c\u6362\u4e3a Berkeley DB \u683c\u5f0f&#xff1a;<\/p>\n<p>cd \/etc\/vsftpd<br \/>\ndb_load -T -t hash -f vusers.list vusers.db<br \/>\nchmod 600 vusers.db vusers.list<\/p>\n<h4>3.\u521b\u5efa\u6620\u5c04\u7684\u7cfb\u7edf\u7528\u6237\u53ca\u76ee\u5f55<\/h4>\n<p>\u521b\u5efa\u7cfb\u7edf\u7528\u6237\u5e76\u8bbe\u7f6e\u76ee\u5f55\u6743\u9650&#xff1a;<\/p>\n<p>useradd -d \/var\/ftproot -s \/sbin\/nologin virtual<br \/>\nmkdir -p \/var\/ftp\/soft \/var\/market<br \/>\nchown virtual:virtual \/var\/ftp\/soft \/var\/market<br \/>\nchmod 755 \/var\/ftp\/soft \/var\/market<\/p>\n<h4>4.\u521b\u5efa PAM \u8ba4\u8bc1\u6587\u4ef6<\/h4>\n<p>\u7f16\u8f91 \/etc\/pam.d\/vsftpd.vu \u6587\u4ef6&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>auth     required   pam_userdb.so   db&#061;\/etc\/vsftpd\/vusers<br \/>\naccount  required   pam_userdb.so   db&#061;\/etc\/vsftpd\/vusers<\/p>\n<h4>5.\u4fee\u6539\u4e3b\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u7f16\u8f91 \/etc\/vsftpd\/vsftpd.conf \u6587\u4ef6&#xff0c;\u786e\u4fdd\u5305\u542b\u4ee5\u4e0b\u914d\u7f6e&#xff1a;<\/p>\n<p>vim \/etc\/vsftpd\/vsftpd.conf<\/p>\n<p>listen&#061;YES<br \/>\nlisten_ipv6&#061;NO<br \/>\nanonymous_enable&#061;NO<br \/>\nlocal_enable&#061;YES<br \/>\nwrite_enable&#061;YES<br \/>\nanon_umask&#061;022<br \/>\ndirmessage_enable&#061;YES<br \/>\nxferlog_enable&#061;YES<br \/>\nxferlog_std_format&#061;YES<br \/>\nguest_enable&#061;YES<br \/>\nguest_username&#061;virtual<br \/>\npam_service_name&#061;vsftpd.vu<br \/>\nchroot_local_user&#061;YES<br \/>\nallow_writeable_chroot&#061;YES<br \/>\nuser_config_dir&#061;\/etc\/vsftpd\/vusers_dir<br \/>\nmax_clients&#061;150<br \/>\nmax_per_ip&#061;5<\/p>\n<h4>6.\u521b\u5efa\u72ec\u7acb\u7528\u6237\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u521b\u5efa\u7528\u6237\u914d\u7f6e\u76ee\u5f55\u5e76\u5206\u522b\u4e3a\u6bcf\u4e2a\u865a\u62df\u7528\u6237\u8bbe\u7f6e\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p>mkdir \/etc\/vsftpd\/vusers_dir<\/p>\n<h5>(1)devadm \u914d\u7f6e\u6587\u4ef6<\/h5>\n<p>\u7f16\u8f91 \/etc\/vsftpd\/vusers_dir\/devadm&#xff1a;<\/p>\n<p>local_root&#061;\/var\/ftp\/soft<br \/>\nanon_upload_enable&#061;YES<br \/>\nanon_mkdir_write_enable&#061;YES<br \/>\nanon_other_write_enable&#061;YES<\/p>\n<h5>(2)sales \u914d\u7f6e\u6587\u4ef6<\/h5>\n<p>\u7f16\u8f91 \/etc\/vsftpd\/vusers_dir\/sales&#xff1a;<\/p>\n<p>local_root&#061;\/var\/market<br \/>\nanon_upload_enable&#061;NO<br \/>\nanon_mkdir_write_enable&#061;NO<br \/>\nanon_other_write_enable&#061;NO<br \/>\nanon_max_rate&#061;102400<\/p>\n<h5>(3)salesadm \u914d\u7f6e\u6587\u4ef6<\/h5>\n<p>\u7f16\u8f91 \/etc\/vsftpd\/vusers_dir\/salesadm&#xff1a;<\/p>\n<p>local_root&#061;\/var\/market<br \/>\nanon_upload_enable&#061;YES<br \/>\nanon_mkdir_write_enable&#061;YES<br \/>\nanon_other_write_enable&#061;YES<br \/>\nanon_max_rate&#061;204800<\/p>\n<h4>7.\u91cd\u542f\u670d\u52a1\u5e76\u6d4b\u8bd5<\/h4>\n<p>\u91cd\u542f vsftpd \u670d\u52a1\u5e76\u8fdb\u884c\u6d4b\u8bd5&#xff1a;<\/p>\n<p>systemctl restart vsftpd<\/p>\n<p>\u6d4b\u8bd5\u65b9\u6cd5&#xff1a;<\/p>\n<p>ftp localhost<br \/>\nName: devadm<br \/>\npassword: dev123<br \/>\nftp&gt; pwd        # \u663e\u793a \/<br \/>\nftp&gt; put \/etc\/hosts   # \u6210\u529f\u4e0a\u4f20<br \/>\n\u540c\u7406\u6d4b\u8bd5 sales \u548c salesadm\u3002<\/p>\n<p>\u4f7f\u7528\u4e0d\u540c\u865a\u62df\u7528\u6237\u767b\u5f55&#xff08;\u5982 devadm\u3001sales\u3001salesadm&#xff09;\u5e76\u9a8c\u8bc1\u6743\u9650\u548c\u9650\u901f\u662f\u5426\u751f\u6548\u3002<\/p>\n<\/p>\n<\/p>\n<h3>\u672c\u5730\u7528\u6237\u914d\u7f6e<\/h3>\n<h4>1.\u521b\u5efa\u672c\u5730\u7528\u6237\u5e76\u8bbe\u7f6e\u5bc6\u7801<\/h4>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u672c\u5730\u7528\u6237\u5e76\u8bbe\u7f6e\u5bc6\u7801&#xff1a;<\/p>\n<p>useradd -d \/home\/localuser -s \/sbin\/nologin localuser<br \/>\necho &#034;localuser:123456&#034; | chpasswd  <\/p>\n<h4>2.\u51c6\u5907\u6d4b\u8bd5\u6587\u4ef6<\/h4>\n<p>\u521b\u5efa\u6d4b\u8bd5\u6587\u4ef6\u5e76\u8c03\u6574\u6743\u9650&#xff0c;\u786e\u4fdd\u7528\u6237\u53ef\u8bbf\u95ee&#xff1a;<\/p>\n<p>echo &#034;Local user file&#034; &gt; \/home\/localuser\/test.txt<br \/>\nchown localuser:localuser \/home\/localuser\/test.txt<br \/>\nchmod 755 \/home\/localuser  <\/p>\n<h4>3.\u914d\u7f6e vsftpd<\/h4>\n<p>\u7f16\u8f91 \/etc\/vsftpd\/vsftpd.conf&#xff0c;\u6dfb\u52a0\u6216\u4fee\u6539\u4ee5\u4e0b\u53c2\u6570&#xff1a;<\/p>\n<p>local_enable&#061;YES<br \/>\nwrite_enable&#061;YES<br \/>\nlocal_umask&#061;022<br \/>\nchroot_local_user&#061;YES<br \/>\nallow_writeable_chroot&#061;YES<br \/>\nlocal_max_rate&#061;204800  # \u9650\u901f 200KB\/s&#xff08;\u53ef\u9009&#xff09;  <\/p>\n<h4>4.\u7ba1\u7406\u7528\u6237\u8bbf\u95ee\u63a7\u5236<\/h4>\n<p>\u786e\u4fdd\u7528\u6237\u4e0d\u5728\u9ed8\u8ba4\u62d2\u7edd\u5217\u8868\u4e2d&#xff1a;<\/p>\n<ul>\n<li>\u68c0\u67e5 \/etc\/vsftpd\/ftpusers&#xff0c;\u79fb\u9664\u6216\u6ce8\u91ca localuser\u3002<\/li>\n<li>\u6839\u636e \/etc\/vsftpd\/user_list \u7684\u914d\u7f6e\u903b\u8f91\u8c03\u6574&#xff1a;\n<ul>\n<li>\u82e5 userlist_deny&#061;YES&#xff0c;\u9700\u79fb\u9664 localuser\u3002<\/li>\n<li>\u82e5 userlist_deny&#061;NO&#xff0c;\u9700\u5c06 localuser \u52a0\u5165\u767d\u540d\u5355\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u542f\u7528\u767d\u540d\u5355\u6a21\u5f0f&#xff1a;<\/p>\n<p>echo &#034;userlist_enable&#061;YES&#034; &gt;&gt; \/etc\/vsftpd\/vsftpd.conf<br \/>\necho &#034;userlist_deny&#061;NO&#034; &gt;&gt; \/etc\/vsftpd\/vsftpd.conf<br \/>\necho &#034;localuser&#034; &gt;&gt; \/etc\/vsftpd\/user_list  <\/p>\n<h4>5.\u914d\u7f6e PAM \u8ba4\u8bc1<\/h4>\n<p>\u6307\u5b9a PAM \u670d\u52a1\u540d\u5e76\u7f16\u8f91\u8ba4\u8bc1\u6587\u4ef6&#xff1a;<\/p>\n<p>echo &#034;pam_service_name&#061;vsftpd.vu&#034; &gt;&gt; \/etc\/vsftpd\/vsftpd.conf  <\/p>\n<p>\u7f16\u8f91 \/etc\/pam.d\/vsftpd.vu&#xff0c;\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p>vim \/etc\/pam.d\/vsftpd.vu<\/p>\n<p>#%PAM-1.0<br \/>\nauth        sufficient  pam_unix.so nullok try_first_pass<br \/>\nauth        required    pam_userdb.so db&#061;\/etc\/vsftpd\/vusers<br \/>\naccount     sufficient  pam_unix.so<br \/>\naccount     required    pam_userdb.so db&#061;\/etc\/vsftpd\/vusers  <\/p>\n<h4>6.\u91cd\u542f\u670d\u52a1\u5e76\u9a8c\u8bc1<\/h4>\n<p>\u91cd\u542f vsftpd \u670d\u52a1\u5e76\u6d4b\u8bd5\u767b\u5f55&#xff1a;<\/p>\n<p>systemctl restart vsftpd  <\/p>\n<p>\u4f7f\u7528 FTP \u5ba2\u6237\u7aef\u767b\u5f55\u9a8c\u8bc1\u529f\u80fd&#xff1a;<\/p>\n<p>ftp localhost<br \/>\nName: localuser<br \/>\nPassword: 123456<br \/>\nftp&gt; ls<br \/>\nftp&gt; get test.txt<br \/>\nftp&gt; put \/etc\/issue<br \/>\nftp&gt; mkdir newdir<\/p>\n<\/p>\n<h3>\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>\u9632\u706b\u5899\u9700\u653e\u884c FTP \u7aef\u53e3&#xff08;\u9ed8\u8ba4 21&#xff09;&#xff1a;\n<p>firewall-cmd &#8211;add-service&#061;ftp &#8211;permanent<br \/>\nfirewall-cmd &#8211;reload  <\/p>\n<\/li>\n<li>\u82e5\u9700\u65e5\u5fd7\u8bb0\u5f55&#xff0c;\u68c0\u67e5 \/var\/log\/xferlog \u6587\u4ef6\u3002<\/li>\n<\/ul>\n<h4><\/h4><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u9a8c\u73af\u5883\u4ee5Centos 7\u4e3a\u4f8bNAME\\&#8221;CentOS Linux\\&#8221;<br \/>\nVERSION\\&#8221;7 (Core)\\&#8221;<br \/>\nID\\&#8221;centos\\&#8221;<br \/>\nID_LIKE\\&#8221;rhel fedora\\&#8221;<br \/>\nVERSION_ID\\&#8221;7\\&#8221;<br \/>\nPRETTY_NAME\\&#8221;CentOS Linux 7 (Core)\\&#8221;<br \/>\nANSI_COLOR\\&#8221;0;31\\&#8221;<br \/>\nCPE_NAME\\&#8221;cpe:\/o:centos:centos:7\\&#8221;<br \/>\nHOME_URL\\&#8221;https:\/\/www.centos.org\/\\&#8221;<br \/>\nBUG_REPORT_URL\\&#8221;https:\/\/<\/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":[59,58,44],"topic":[],"class_list":["post-84314","post","type-post","status-publish","format-standard","hentry","category-server","tag-centos","tag-linux","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668 - \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\/84314.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5b9e\u9a8c\u73af\u5883\u4ee5Centos 7\u4e3a\u4f8bNAME&quot;CentOS Linux&quot; VERSION&quot;7 (Core)&quot; ID&quot;centos&quot; ID_LIKE&quot;rhel fedora&quot; VERSION_ID&quot;7&quot; PRETTY_NAME&quot;CentOS Linux 7 (Core)&quot; ANSI_COLOR&quot;0;31&quot; CPE_NAME&quot;cpe:\/o:centos:centos:7&quot; HOME_URL&quot;https:\/\/www.centos.org\/&quot; BUG_REPORT_URL&quot;https:\/\/\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/84314.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-26T03:25:27+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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84314.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/84314.html\",\"name\":\"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-26T03:25:27+00:00\",\"dateModified\":\"2026-07-26T03:25:27+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/84314.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/84314.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/84314.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668\"}]},{\"@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":"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668 - \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\/84314.html","og_locale":"zh_CN","og_type":"article","og_title":"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5b9e\u9a8c\u73af\u5883\u4ee5Centos 7\u4e3a\u4f8bNAME\"CentOS Linux\" VERSION\"7 (Core)\" ID\"centos\" ID_LIKE\"rhel fedora\" VERSION_ID\"7\" PRETTY_NAME\"CentOS Linux 7 (Core)\" ANSI_COLOR\"0;31\" CPE_NAME\"cpe:\/o:centos:centos:7\" HOME_URL\"https:\/\/www.centos.org\/\" BUG_REPORT_URL\"https:\/\/","og_url":"https:\/\/www.wsisp.com\/helps\/84314.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-26T03:25:27+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/84314.html","url":"https:\/\/www.wsisp.com\/helps\/84314.html","name":"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-26T03:25:27+00:00","dateModified":"2026-07-26T03:25:27+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/84314.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/84314.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/84314.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ftp\u2014\u2014\u6784\u5efaFTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u5668"}]},{"@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\/84314","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=84314"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/84314\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=84314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=84314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=84314"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=84314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}