\u521b\u5efa\u914d\u7f6e\u6587\u4ef6<\/strong><\/div>\n[root@localhost ~]# cd \/etc\/yum.repos.d\/\r\n[root@localhost ~]# vim 123.repo<\/pre>\n\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9<\/p>\n
[root@localhost yum.repos.d]# cat 123.repo \r\n[123]\r\nname=123\r\nbaseurl=file:\/\/\/root\/123\r\nenabled=1\r\ngpgcheck=0\r\n<\/pre>\n\u5236\u4f5c<\/strong><\/div>\n[root@localhost yum.repos.d]# createrepo \/root\/123<\/pre>\n\u5982\u6b64\u672c\u5730yum\u6e90\u4ed3\u5e93\u5c31\u5236\u4f5c\u597d\u4e86<\/p>\n
\u6d4b\u8bd5<\/strong><\/div>\n\r\n[root@localhost ~]# yum install -y vsftpd\r\n\u5df2\u52a0\u8f7d\u63d2\u4ef6\uff1afastestmirror, langpacks\r\n123 | 2.9 kB 00:00:00 \r\n123\/primary_db | 3.0 MB 00:00:00 \r\nDetermining fastest mirrors\r\n\u6b63\u5728\u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\r\n--> \u6b63\u5728\u68c0\u67e5\u4e8b\u52a1\r\n---> \u8f6f\u4ef6\u5305 vsftpd.x86_64.0.3.0.2-22.el7 \u5c06\u88ab \u5b89\u88c5\r\n--> \u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\u5b8c\u6210\r\n\r\n\u4f9d\u8d56\u5173\u7cfb\u89e3\u51b3\r\n\r\n========================================================================================================================================================================\r\n Package \u67b6\u6784 \u7248\u672c \u6e90 \u5927\u5c0f\r\n========================================================================================================================================================================\r\n\u6b63\u5728\u5b89\u88c5:\r\n vsftpd x86_64 3.0.2-22.el7 123 169 k\r\n\r\n\u4e8b\u52a1\u6982\u8981\r\n========================================================================================================================================================================\r\n\u5b89\u88c5 1 \u8f6f\u4ef6\u5305\r\n\r\n\u603b\u4e0b\u8f7d\u91cf\uff1a169 k\r\n\u5b89\u88c5\u5927\u5c0f\uff1a348 k\r\nDownloading packages:\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n \u6b63\u5728\u5b89\u88c5 : vsftpd-3.0.2-22.el7.x86_64 1\/1 \r\n \u9a8c\u8bc1\u4e2d : vsftpd-3.0.2-22.el7.x86_64 1\/1 \r\n\r\n\u5df2\u5b89\u88c5:\r\n vsftpd.x86_64 0:3.0.2-22.el7 \r\n\r\n\u5b8c\u6bd5\uff01\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"[root@localhost ~]# mkdir \/mnt\/media [root@localhost ~] […]<\/p>\n","protected":false},"author":1469,"featured_media":172673,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-172666","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\/172666","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\/1469"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=172666"}],"version-history":[{"count":11,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/172666\/revisions"}],"predecessor-version":[{"id":172787,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/172666\/revisions\/172787"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/172673"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=172666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=172666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=172666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}