{"id":169962,"date":"2020-01-22T08:00:56","date_gmt":"2020-01-22T00:00:56","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=169962"},"modified":"2020-01-13T13:20:06","modified_gmt":"2020-01-13T05:20:06","slug":"redhat-linux-ftp","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/redhat-linux-ftp.html","title":{"rendered":"\u5982\u4f55\u5728RedHat Linux 6.8\u65b0\u589eftp\u7528\u6237\u9650\u5236\u76ee\u5f55\u548c\u8bbf\u95eeip"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5728RedHat Linux 6.8\u65b0\u589eftp\u7528\u6237\u9650\u5236\u76ee\u5f55\u548c\u8bbf\u95eeip\u6b65\u9aa4\u8bf4\u660e<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u9700\u6c42\uff1a<\/strong><\/div>\n

1.RedHat Linux 6.8\u65b0\u5efa\u7684ftp\u7528\u6237\u4e0d\u80fd\u76f4\u63a5\u767b\u9646\u7cfb\u7edf\uff1b<\/p>\n

2.\u4e0d\u80fd\u5411\u4e0a\u5207\u6362\u76ee\u5f55\uff0c\u7528\u6237\u76ee\u5f55\u9650\u5236\u5728\u5bb6\u76ee\u5f55\uff1b<\/p>\n

3.\u8bbf\u95ee\u7684\u4e3b\u673a\u6307\u5b9aip\uff0c\u975e\u6307\u5b9aip\u62d2\u7edd\u767b\u9646\u3002<\/p>\n

\u5177\u4f53\u6b65\u9aa4\uff1a<\/strong><\/div>\n

1\u3001root\u8d26\u6237\u5206\u522b\u767b\u5165\u4e3b\u5907\u673a172.29.13.91\/92<\/p>\n

2\u3001\u65b0\u589etest\u7ec4<\/p>\n

#groupadd test<\/pre>\n

3\u3001\u65b0\u5efa\u8d26\u53f7test<\/p>\n

#useradd -s \/sbin\/nologin -d \/home\/test -g test test<\/pre>\n

4\u3001root\u8d26\u6237\u5206\u522b\u767b\u5165172.29.13.91\/92<\/p>\n

5\u3001\u4e0a\u4f20\u5e76\u5b89\u88c5ftp\u5305<\/p>\n

#rpm -ivh vsftpd-2.2.2-11.el6_4.1.x86_64<\/pre>\n

6\u3001\u4fee\u6539ftp\u914d\u7f6e\u6587\u4ef6<\/p>\n

\u9650\u5236\u7528\u6237\u76ee\u5f55\uff1a<\/p>\n

#vi \/etc\/vsftpd\/vsftpd.conf\r\nchroot_list_enable=YES\r\nchroot_list_file=\/etc\/vsftpd\/chroot_list\r\n#vi \/etc\/vsftpd\/chroot_list\r\ntest<\/pre>\n

\u9650\u5236\u7528\u6237ip\uff1a<\/p>\n

#vi \/etc\/hosts.allow \r\nvsftpd:172.29.13.24 172.29.13.73:allow\r\nvsftpd:all:deny<\/pre>\n

7\u3001\u5f00\u542fftp\u670d\u52a1<\/p>\n

#chkconfig --level 345 vsftpd on\r\n#service vsftpd restart<\/pre>\n

8\u3001\u4f7f\u7528winscp\u5de5\u5177\u767b\u9646\uff1a<\/p>\n

\"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

1.RedHat Linux 6.8\u65b0\u5efa\u7684ftp\u7528\u6237\u4e0d\u80fd\u76f4\u63a5\u767b\u9646\u7cfb\u7edf\uff1b 2.\u4e0d\u80fd\u5411\u4e0a\u5207\u6362\u76ee\u5f55\uff0c\u7528\u6237\u76ee\u5f55\u9650\u5236\u5728\u5bb6 […]<\/p>\n","protected":false},"author":310,"featured_media":169967,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-169962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/169962","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\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=169962"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/169962\/revisions"}],"predecessor-version":[{"id":169978,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/169962\/revisions\/169978"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/169967"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=169962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=169962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=169962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}