{"id":3250,"date":"2025-10-25T19:34:27","date_gmt":"2025-10-25T11:34:27","guid":{"rendered":"https:\/\/www.idcbk.cn\/?p=3250"},"modified":"2025-10-25T19:34:27","modified_gmt":"2025-10-25T11:34:27","slug":"yum%e5%ae%89%e8%a3%85%ef%bc%8cyum%e5%ae%89%e8%a3%85vim%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/www.idcbk.cn\/?p=3250","title":{"rendered":"yum\u5b89\u88c5\uff0cyum\u5b89\u88c5vim\u547d\u4ee4"},"content":{"rendered":"<div style=\"text-align: left; margin-bottom: 10px;\">\n<p>        yum\u5b89\u88c5\uff0cyum\u5b89\u88c5vim\u547d\u4ee4<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u8d2d\u4e70\u9ad8\u9632\u670d\u52a1\u5668-\u9009\u62e9\u62a4\u76fe\u4e91-www.hudunyun.com<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\u5b89\u88c5\uff1aLinux\u8f6f\u4ef6\u7ba1\u7406\u7684\u745e\u58eb\u519b\u5200<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5728\u6d69\u701a\u7684Linux\u4e16\u754c\u91cc\uff0c\u8f6f\u4ef6\u7684\u5b89\u88c5\u3001\u5347\u7ea7\u548c\u5378\u8f7d\u662f\u7cfb\u7edf\u7ba1\u7406\u5458\u548c\u5f00\u53d1\u8005\u65e5\u5e38\u5de5\u4f5c\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u73af\u3002\u60f3\u8c61\u4e00\u4e0b\uff0c\u5982\u679c\u6bcf\u4e00\u6b21\u8f6f\u4ef6\u7684\u90e8\u7f72\u90fd\u50cf\u662f\u5728\u73a9\u4e00\u573a\u590d\u6742\u7684\u62fc\u56fe\u6e38\u620f\uff0c\u9700\u8981\u624b\u52a8\u4e0b\u8f7d\u3001\u7f16\u8bd1\u3001\u89e3\u51b3\u7eb7\u7e41\u590d\u6742\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u90a3\u5c06\u662f\u591a\u4e48\u4ee4\u4eba\u5934\u75bc\u7684\u4f53\u9a8c\uff01\u5e78\u8fd0\u7684\u662f\uff0cLinux\u793e\u533a\u65e9\u5df2\u4e3a\u6211\u4eec\u51c6\u5907\u597d\u4e86\u5f3a\u5927\u7684\u201c\u745e\u58eb\u519b\u5200\u201d\u2014\u2014YUM\uff08YellowdogUpdater,Modified\uff09\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f3966edd0d3410935b\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">YUM\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u547d\u4ee4\uff0c\u5b83\u662f\u4e00\u5957\u5b8c\u6574\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u7cfb\u7edf\uff0c\u80fd\u591f\u5c06\u7e41\u7410\u7684\u8f6f\u4ef6\u7ba1\u7406\u8fc7\u7a0b\u53d8\u5f97\u5982\u4e1d\u822c\u987a\u6ed1\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\uff1a\u4e0d\u6b62\u4e8e\u5b89\u88c5\uff0c\u66f4\u662f\u6548\u7387\u7684\u4ee3\u540d\u8bcd<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">YUM\u4e4b\u6240\u4ee5\u80fd\u591f\u6210\u4e3aLinux\u7cfb\u7edf\u7ba1\u7406\u4e2d\u7684\u660e\u661f\uff0c\u5173\u952e\u5728\u4e8e\u5b83\u89e3\u51b3\u4e86\u4e00\u4e2a\u6838\u5fc3\u75db\u70b9\uff1a\u4f9d\u8d56\u5173\u7cfb\u7684\u7ba1\u7406\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u4e00\u4e2a\u8f6f\u4ef6\u7684\u8fd0\u884c\u5f80\u5f80\u4f9d\u8d56\u4e8e\u591a\u4e2a\u5176\u4ed6\u8f6f\u4ef6\u5305\u3002\u624b\u52a8\u89e3\u51b3\u8fd9\u4e9b\u9519\u7efc\u590d\u6742\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u4e0d\u4ec5\u8017\u65f6\u8017\u529b\uff0c\u800c\u4e14\u6781\u6613\u51fa\u9519\uff0c\u8f7b\u5219\u5bfc\u81f4\u8f6f\u4ef6\u65e0\u6cd5\u8fd0\u884c\uff0c\u91cd\u5219\u53ef\u80fd\u5f15\u53d1\u7cfb\u7edf\u7ea7\u522b\u7684\u6df7\u4e71\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f2966edd0d34109346\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">YUM\u7684\u51fa\u73b0\uff0c\u5f7b\u5e95\u6539\u53d8\u4e86\u8fd9\u4e00\u5c40\u9762\u3002\u5b83\u80fd\u591f\u667a\u80fd\u5730\u8bc6\u522b\u8f6f\u4ef6\u6240\u9700\u7684\u4f9d\u8d56\u5305\uff0c\u5e76\u81ea\u52a8\u4ece\u9884\u8bbe\u7684\u8f6f\u4ef6\u4ed3\u5e93\uff08Repository\uff09\u4e2d\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5b83\u4eec\uff0c\u786e\u4fdd\u8f6f\u4ef6\u80fd\u591f\u987a\u5229\u8fd0\u884c\u3002\u8fd9\u5c31\u50cf\u662f\u62e5\u6709\u4e86\u4e00\u4e2a\u7ecf\u9a8c\u4e30\u5bcc\u7684\u52a9\u624b\uff0c\u4ed6\u4e0d\u4ec5\u77e5\u9053\u4f60\u8981\u4ec0\u4e48\uff0c\u8fd8\u63d0\u524d\u5e2e\u4f60\u628a\u6240\u6709\u9700\u8981\u7684\u96f6\u4ef6\u90fd\u51c6\u5907\u59a5\u5f53\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f3966edd0d34109352\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">\u4ed3\u5e93\uff1aYUM\u7684\u7cae\u4ed3\u4e0e\u5b9d\u85cf<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u7406\u89e3YUM\uff0c\u5c31\u4e0d\u80fd\u4e0d\u63d0\u201c\u4ed3\u5e93\u201d\u3002\u4ed3\u5e93\u662fYUM\u8f6f\u4ef6\u5305\u7684\u96c6\u6563\u5730\uff0c\u91cc\u9762\u5b58\u653e\u7740\u5927\u91cf\u7684\u8f6f\u4ef6\u5305\u53ca\u5176\u5143\u6570\u636e\uff08Metadata\uff09\uff0c\u5143\u6570\u636e\u5305\u542b\u4e86\u8f6f\u4ef6\u5305\u7684\u7248\u672c\u3001\u63cf\u8ff0\u3001\u4f9d\u8d56\u5173\u7cfb\u7b49\u5173\u952e\u4fe1\u606f\u3002YUM\u901a\u8fc7\u8fde\u63a5\u5230\u8fd9\u4e9b\u5206\u5e03\u5728\u4e92\u8054\u7f51\u4e0a\u7684\u4ed3\u5e93\uff0c\u624d\u5f97\u4ee5\u5b9e\u73b0\u8f6f\u4ef6\u7684\u67e5\u627e\u3001\u4e0b\u8f7d\u548c\u5b89\u88c5\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f3966edd0d34109354\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u4f60\u53ef\u4ee5\u5c06\u4ed3\u5e93\u60f3\u8c61\u6210\u4e00\u4e2a\u5de8\u5927\u7684\u7ebf\u4e0a\u56fe\u4e66\u9986\u3002\u5f53\u4f60\u60f3\u627e\u4e00\u672c\u7279\u5b9a\u7684\u4e66\uff08\u8f6f\u4ef6\u5305\uff09\u65f6\uff0cYUM\u4f1a\u5148\u53bb\u7ffb\u9605\u56fe\u4e66\u9986\u7684\u76ee\u5f55\uff08\u5143\u6570\u636e\uff09\uff0c\u627e\u5230\u8fd9\u672c\u4e66\u7684\u4f4d\u7f6e\uff0c\u7136\u540e\u6d3e\u4eba\uff08YUM\u8fdb\u7a0b\uff09\u53bb\u4e66\u67b6\uff08\u4ed3\u5e93\u670d\u52a1\u5668\uff09\u4e0a\u53d6\u6765\uff0c\u5e76\u544a\u8bc9\u4f60\u8fd8\u9700\u8981\u770b\u54ea\u4e9b\u76f8\u5173\u7684\u8f85\u52a9\u8bfb\u7269\uff08\u4f9d\u8d56\u5305\uff09\uff0c\u7136\u540e\u4e00\u5e76\u4e3a\u4f60\u53d6\u6765\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f3966edd0d34109356\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">Linux\u53d1\u884c\u7248\u901a\u5e38\u4f1a\u81ea\u5e26\u4e00\u4e9b\u9ed8\u8ba4\u7684\u5b98\u65b9\u4ed3\u5e93\uff0c\u8fd9\u4e9b\u4ed3\u5e93\u662f\u7a33\u5b9a\u548c\u5b89\u5168\u7684\u8f6f\u4ef6\u6765\u6e90\u3002\u4f46\u6709\u65f6\uff0c\u5b98\u65b9\u4ed3\u5e93\u53ef\u80fd\u65e0\u6cd5\u6ee1\u8db3\u6240\u6709\u9700\u6c42\uff0c\u6216\u8005\u4f60\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u4e00\u4e9b\u66f4\u524d\u6cbf\u3001\u66f4\u4e13\u4e1a\u7684\u8f6f\u4ef6\u3002\u8fd9\u65f6\uff0c\u4f60\u5c31\u53ef\u4ee5\u6dfb\u52a0\u7b2c\u4e09\u65b9\u4ed3\u5e93\u3002\u8fd9\u5c31\u50cf\u662f\u53bb\u53d1\u73b0\u4e00\u4e2a\u9690\u85cf\u7684\u73cd\u5b9d\u9601\uff0c\u91cc\u9762\u53ef\u80fd\u85cf\u6709\u5b98\u65b9\u56fe\u4e66\u9986\u6ca1\u6709\u7684\u7a00\u6709\u4e66\u7c4d\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f3966edd0d34109359\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u6dfb\u52a0\u7b2c\u4e09\u65b9\u4ed3\u5e93\u9700\u8981\u8c28\u614e\uff0c\u786e\u4fdd\u5176\u6765\u6e90\u53ef\u9760\uff0c\u4ee5\u514d\u5f15\u5165\u4e0d\u5b89\u5168\u7684\u8f6f\u4ef6\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\u7684\u5e38\u7528\u547d\u4ee4\uff1a\u4f60\u7684\u64cd\u4f5c\u624b\u518c<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u638c\u63e1YUM\u7684\u5e38\u7528\u547d\u4ee4\uff0c\u5c31\u50cf\u662f\u62e5\u6709\u4e86\u4e00\u672c\u64cd\u4f5c\u624b\u518c\uff0c\u80fd\u591f\u8ba9\u4f60\u6325\u6d12\u81ea\u5982\u5730\u8fdb\u884c\u8f6f\u4ef6\u7ba1\u7406\u3002\u8ba9\u6211\u4eec\u6765\u9010\u4e00\u89e3\u9501\u8fd9\u4e9b\u5f3a\u5927\u7684\u6307\u4ee4\uff1a<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5b89\u88c5\u8f6f\u4ef6\u5305\uff1ayuminstall\u8fd9\u662fYUM\u6700\u6838\u5fc3\u7684\u529f\u80fd\u3002\u5f53\u4f60\u60f3\u8981\u5b89\u88c5\u4e00\u4e2a\u8f6f\u4ef6\u65f6\uff0c\u53ea\u9700\u8f93\u5165\u8fd9\u4e2a\u547d\u4ee4\uff0cYUM\u4fbf\u4f1a\u5f00\u59cb\u5de5\u4f5c\u3002\u4f8b\u5982\uff0c\u8981\u5b89\u88c5\u5f3a\u5927\u7684\u6587\u672c\u7f16\u8f91\u5668Vim\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165yuminstallvim\u3002YUM\u4f1a\u68c0\u67e5Vim\u7684\u4f9d\u8d56\uff0c\u5217\u51fa\u9700\u8981\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff0c\u5e76\u8be2\u95ee\u4f60\u662f\u5426\u786e\u8ba4\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f3966edd0d3410935b\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">\u8f93\u5165y\u540e\uff0c\u6574\u4e2a\u8fc7\u7a0b\u5c31\u4ea4\u7ed9YUM\u4e86\u3002<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u641c\u7d22\u8f6f\u4ef6\u5305\uff1ayumsearch\u5f53\u4f60\u53ea\u8bb0\u5f97\u8f6f\u4ef6\u7684\u67d0\u4e2a\u5173\u952e\u8bcd\uff0c\u4f46\u4e0d\u786e\u5b9a\u786e\u5207\u7684\u5305\u540d\u65f6\uff0cyumsearch\u5c31\u6d3e\u4e0a\u7528\u573a\u4e86\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u6240\u6709\u5df2\u914d\u7f6e\u7684\u4ed3\u5e93\u4e2d\u641c\u7d22\u5305\u542b\u8be5\u5173\u952e\u8bcd\u7684\u8f6f\u4ef6\u5305\u3002\u4f8b\u5982\uff0cyumsearchwebserver\u53ef\u4ee5\u5e2e\u4f60\u627e\u5230\u6240\u6709\u4e0eWeb\u670d\u52a1\u5668\u76f8\u5173\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/art.147gpt.com\/get_img?key=68fc88f2966edd0d34109346\" style=\"width: 100%; margin-bottom: 20px;\"><\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u67e5\u770b\u8f6f\u4ef6\u5305\u4fe1\u606f\uff1ayuminfo\u5728\u5b89\u88c5\u524d\uff0c\u4f60\u53ef\u80fd\u60f3\u4e86\u89e3\u4e00\u4e2a\u8f6f\u4ef6\u5305\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u6bd4\u5982\u5b83\u7684\u7248\u672c\u3001\u63cf\u8ff0\u3001\u5927\u5c0f\u3001\u4ee5\u53ca\u5b83\u6240\u63d0\u4f9b\u7684\u529f\u80fd\u3002yuminfo\u4f1a\u4e3a\u4f60\u5448\u73b0\u8fd9\u4e9b\u5b9d\u8d35\u7684\u4fe1\u606f\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5217\u51fa\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5305\uff1ayumlistinstalled\u8fd9\u4e2a\u547d\u4ee4\u53ef\u4ee5\u5e2e\u52a9\u4f60\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u5b89\u88c5\u7684\u6240\u6709\u8f6f\u4ef6\u5305\uff0c\u65b9\u4fbf\u4f60\u8fdb\u884c\u7cfb\u7edf\u76d8\u70b9\u548c\u7ba1\u7406\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5217\u51fa\u6240\u6709\u53ef\u7528\u8f6f\u4ef6\u5305\uff1ayumlistall\u5982\u679c\u4f60\u60f3\u4e86\u89e3\u5f53\u524d\u914d\u7f6e\u7684\u4ed3\u5e93\u4e2d\u603b\u5171\u6709\u54ea\u4e9b\u8f6f\u4ef6\u5305\u53ef\u4f9b\u5b89\u88c5\uff0cyumlistall\u4f1a\u7ed9\u4f60\u4e00\u4e2a\u5168\u9762\u7684\u5217\u8868\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u66f4\u65b0\u8f6f\u4ef6\u5305\uff1ayumupdate\u6216yumupdate\u8f6f\u4ef6\u66f4\u65b0\u662f\u4fdd\u6301\u7cfb\u7edf\u5b89\u5168\u548c\u6027\u80fd\u7684\u5173\u952e\u3002yumupdate\u53ef\u4ee5\u53ea\u66f4\u65b0\u6307\u5b9a\u7684\u8f6f\u4ef6\u5305\uff0c\u800cyumupdate\u5219\u4f1a\u68c0\u67e5\u6240\u6709\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5305\u662f\u5426\u6709\u53ef\u7528\u7684\u66f4\u65b0\uff0c\u5e76\u4e00\u6b21\u6027\u5168\u90e8\u66f4\u65b0\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u8fd9\u5c31\u50cf\u7ed9\u4f60\u7684\u7cfb\u7edf\u8fdb\u884c\u4e00\u6b21\u201c\u5065\u5eb7\u4f53\u68c0\u201d\u548c\u201c\u836f\u7269\u7597\u7a0b\u201d\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5378\u8f7d\u8f6f\u4ef6\u5305\uff1ayumremove\u5f53\u4f60\u4e0d\u518d\u9700\u8981\u67d0\u4e2a\u8f6f\u4ef6\u65f6\uff0cyumremove\u53ef\u4ee5\u5e72\u51c0\u5730\u5c06\u5176\u4ece\u7cfb\u7edf\u4e2d\u79fb\u9664\uff0c\u5e76\u5c3d\u53ef\u80fd\u5730\u79fb\u9664\u5176\u4e0d\u518d\u88ab\u5176\u4ed6\u8f6f\u4ef6\u5305\u4f9d\u8d56\u7684\u4f9d\u8d56\u5305\uff0c\u907f\u514d\u7cfb\u7edf\u5783\u573e\u7684\u4ea7\u751f\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u6e05\u9664\u7f13\u5b58\uff1ayumcleanallYUM\u5728\u5b89\u88c5\u548c\u66f4\u65b0\u8fc7\u7a0b\u4e2d\u4f1a\u7f13\u5b58\u8f6f\u4ef6\u5305\u53ca\u5176\u5143\u6570\u636e\uff0c\u4ee5\u63d0\u9ad8\u540e\u7eed\u64cd\u4f5c\u7684\u901f\u5ea6\u3002\u4f46\u6709\u65f6\uff0c\u7f13\u5b58\u53ef\u80fd\u4f1a\u8fc7\u5927\u6216\u8005\u51fa\u73b0\u635f\u574f\u3002yumcleanall\u53ef\u4ee5\u6e05\u9664\u8fd9\u4e9b\u7f13\u5b58\uff0c\u91ca\u653e\u78c1\u76d8\u7a7a\u95f4\uff0c\u5e76\u786e\u4fddYUM\u83b7\u53d6\u6700\u65b0\u7684\u4fe1\u606f\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\u7684\u5f3a\u5927\u4e4b\u5904\uff1a\u4e0d\u6b62\u4e8e\u547d\u4ee4\u884c<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">YUM\u7684\u5f3a\u5927\u4e4b\u5904\u5e76\u4e0d\u4ec5\u9650\u4e8e\u547d\u4ee4\u884c\u64cd\u4f5c\u3002\u5b83\u80cc\u540e\u7684\u4e00\u5957\u6210\u719f\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u673a\u5236\uff0c\u4e3aLinux\u7cfb\u7edf\u7684\u81ea\u52a8\u5316\u8fd0\u7ef4\u548c\u90e8\u7f72\u5960\u5b9a\u4e86\u575a\u5b9e\u7684\u57fa\u7840\u3002\u8bb8\u591a\u81ea\u52a8\u5316\u90e8\u7f72\u5de5\u5177\u548c\u914d\u7f6e\u7ba1\u7406\u7cfb\u7edf\uff0c\u5982Ansible\u3001Puppet\u7b49\uff0c\u90fd\u6df1\u5ea6\u96c6\u6210\u4e86YUM\uff0c\u80fd\u591f\u901a\u8fc7YUM\u6765\u8fdc\u7a0b\u7ba1\u7406\u5927\u91cf\u670d\u52a1\u5668\u4e0a\u7684\u8f6f\u4ef6\u5b89\u88c5\u548c\u66f4\u65b0\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u8fd9\u4f7f\u5f97\u5728\u590d\u6742\u7684\u4f01\u4e1a\u7ea7\u73af\u5883\u4e2d\uff0c\u5927\u89c4\u6a21\u90e8\u7f72\u548c\u7ef4\u62a4\u8f6f\u4ef6\u53d8\u5f97\u524d\u6240\u672a\u6709\u7684\u9ad8\u6548\u548c\u53ef\u63a7\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u7406\u89e3YUM\uff0c\u5c31\u5982\u540c\u638c\u63e1\u4e86Linux\u7cfb\u7edf\u4e2d\u8f6f\u4ef6\u7ba1\u7406\u7684\u201c\u94a5\u5319\u201d\u3002\u5b83\u4e0d\u4ec5\u7b80\u5316\u4e86\u64cd\u4f5c\uff0c\u66f4\u91cd\u8981\u7684\u662f\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u3001\u81ea\u52a8\u5316\u3001\u53ef\u91cd\u590d\u7684\u8f6f\u4ef6\u7ba1\u7406\u65b9\u5f0f\uff0c\u4e3a\u6784\u5efa\u7a33\u5b9a\u3001\u9ad8\u6548\u7684Linux\u7cfb\u7edf\u63d0\u4f9b\u4e86\u575a\u5b9e\u4fdd\u969c\u3002\u5728\u4e0b\u4e00\u90e8\u5206\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8YUM\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u7b2c\u4e09\u65b9\u4ed3\u5e93\u7684\u7ba1\u7406\uff0c\u4ee5\u53ca\u4e00\u4e9b\u66f4\u9ad8\u7ea7\u7684\u5e94\u7528\u573a\u666f\uff0c\u5e2e\u52a9\u4f60\u5c06YUM\u7684\u5a01\u529b\u53d1\u6325\u5230\u6781\u81f4\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\u8fdb\u9636\uff1a\u7cbe\u7ec6\u5316\u7ba1\u7406\u4e0e\u81ea\u52a8\u5316\u90e8\u7f72\u7684\u5229\u5668<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5728\u638c\u63e1\u4e86YUM\u7684\u57fa\u7840\u64cd\u4f5c\u540e\uff0c\u4f60\u5df2\u7ecf\u80fd\u591f\u8f7b\u677e\u5e94\u5bf9\u7edd\u5927\u591a\u6570\u7684\u8f6f\u4ef6\u7ba1\u7406\u9700\u6c42\u3002YUM\u7684\u9b45\u529b\u8fdc\u4e0d\u6b62\u4e8e\u6b64\u3002\u6df1\u5165\u7406\u89e3\u5176\u914d\u7f6e\u6587\u4ef6\u3001\u7075\u6d3b\u7ba1\u7406\u8f6f\u4ef6\u4ed3\u5e93\uff0c\u4ee5\u53ca\u63a2\u7d22\u5176\u5728\u81ea\u52a8\u5316\u90e8\u7f72\u4e2d\u7684\u5e94\u7528\uff0c\u5c06\u80fd\u8ba9\u4f60\u5c06YUM\u7684\u6f5c\u529b\u53d1\u6325\u5230\u6781\u81f4\uff0c\u6210\u4e3a\u4e00\u540d\u771f\u6b63\u7684Linux\u8fd0\u7ef4\u9ad8\u624b\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">\u7cbe\u96d5\u7ec6\u7422\uff1aYUM\u914d\u7f6e\u6587\u4ef6\u7684\u5965\u79d8<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">YUM\u7684\u7075\u6d3b\u6027\u5f88\u5927\u7a0b\u5ea6\u4e0a\u6e90\u4e8e\u5176\u4e30\u5bcc\u7684\u914d\u7f6e\u6587\u4ef6\u3002\u4e3b\u914d\u7f6e\u6587\u4ef6\u901a\u5e38\u4f4d\u4e8e\/etc\/yum.conf\uff0c\u800c\u5404\u4e2a\u4ed3\u5e93\u7684\u914d\u7f6e\u6587\u4ef6\u5219\u5206\u6563\u5728\/etc\/yum.repos.d\/\u76ee\u5f55\u4e0b\uff0c\u4ee5.repo\u4e3a\u540e\u7f00\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\/etc\/yum.conf:\u8fd9\u662fYUM\u7684\u5168\u5c40\u914d\u7f6e\u6587\u4ef6\u3002\u5728\u8fd9\u91cc\uff0c\u4f60\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e9b\u5168\u5c40\u6027\u7684\u884c\u4e3a\uff0c\u4f8b\u5982\uff1a<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">cachedir:\u6307\u5b9aYUM\u7f13\u5b58\u8f6f\u4ef6\u5305\u7684\u76ee\u5f55\u3002debuglevel:\u8bbe\u7f6eYUM\u7684\u8c03\u8bd5\u4fe1\u606f\u7ea7\u522b\u3002logfile:\u6307\u5b9aYUM\u7684\u65e5\u5fd7\u6587\u4ef6\u8def\u5f84\u3002max_download_attempts:\u8bbe\u7f6e\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u7684\u6700\u5927\u5c1d\u8bd5\u6b21\u6570\u3002download_dir:\u6307\u5b9a\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u7684\u4e34\u65f6\u76ee\u5f55\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u901a\u8fc7\u4fee\u6539\u8fd9\u4e2a\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5fae\u8c03YUM\u7684\u884c\u4e3a\uff0c\u4f7f\u5176\u66f4\u7b26\u5408\u4f60\u7684\u4f7f\u7528\u4e60\u60ef\u548c\u7cfb\u7edf\u73af\u5883\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\/etc\/yum.repos.d\/*.repo:\u8fd9\u662f\u7ba1\u7406\u8f6f\u4ef6\u4ed3\u5e93\u7684\u5173\u952e\u533a\u57df\u3002\u6bcf\u4e2a.repo\u6587\u4ef6\u5b9a\u4e49\u4e86\u4e00\u4e2a\u6216\u591a\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u7684\u5c5e\u6027\u3002\u4e00\u4e2a\u5178\u578b\u7684.repo\u6587\u4ef6\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">[repository_id]name=RepositoryNamebaseurl=url:\/\/to\/repository\/enabled=1gpgcheck=1gpgkey=url:\/\/to\/gpg\/key[repository_id]:\u4ed3\u5e93\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u4e0d\u80fd\u91cd\u590d\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">name:\u4ed3\u5e93\u7684\u63cf\u8ff0\u6027\u540d\u79f0\uff0c\u65b9\u4fbf\u8bc6\u522b\u3002baseurl:\u4ed3\u5e93\u7684URL\u5730\u5740\u3002\u53ef\u4ee5\u662f\u4e00\u4e2aHTTP\u3001FTP\u6216\u672c\u5730\u6587\u4ef6\u8def\u5f84\u3002enabled:\u8bbe\u7f6e\u4e3a1\u8868\u793a\u542f\u7528\u8be5\u4ed3\u5e93\uff0c0\u8868\u793a\u7981\u7528\u3002gpgcheck:\u8bbe\u7f6e\u4e3a1\u8868\u793a\u542f\u7528GPG\u5bc6\u94a5\u68c0\u67e5\uff0c\u8fd9\u662f\u4fdd\u8bc1\u8f6f\u4ef6\u5305\u5b89\u5168\u6027\u7684\u91cd\u8981\u63aa\u65bd\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">gpgkey:\u6307\u5b9aGPG\u5bc6\u94a5\u7684URL\uff0cYUM\u4f1a\u7528\u5b83\u6765\u9a8c\u8bc1\u4e0b\u8f7d\u7684\u8f6f\u4ef6\u5305\u7684\u7b7e\u540d\uff0c\u786e\u4fdd\u5b83\u4eec\u672a\u88ab\u7be1\u6539\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u4f60\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u3001\u7f16\u8f91\u6216\u5220\u9664\u8fd9\u4e9b.repo\u6587\u4ef6\u6765\u6dfb\u52a0\u3001\u4fee\u6539\u6216\u5220\u9664\u8f6f\u4ef6\u4ed3\u5e93\u3002\u4f8b\u5982\uff0c\u8981\u6dfb\u52a0EPEL\uff08ExtraPackagesforEnterpriseLinux\uff09\u4ed3\u5e93\uff0c\u4f60\u901a\u5e38\u4f1a\u4e0b\u8f7d\u4e00\u4e2aEPEL\u7684.repo\u6587\u4ef6\u5230\/etc\/yum.repos.d\/\u76ee\u5f55\u4e0b\uff0c\u7136\u540eYUM\u5c31\u53ef\u4ee5\u81ea\u52a8\u8bc6\u522b\u5e76\u4f7f\u7528\u5b83\u4e86\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">\u4ed3\u5e93\u7ba1\u7406\uff1a\u6269\u5c55YUM\u7684\u80fd\u529b\u8fb9\u754c<\/h3>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">\u7ba1\u7406\u597d\u8f6f\u4ef6\u4ed3\u5e93\uff0c\u662f\u5145\u5206\u53d1\u6325YUM\u6f5c\u529b\u7684\u5173\u952e\u3002<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u6dfb\u52a0\u7b2c\u4e09\u65b9\u4ed3\u5e93\uff1a\u5982\u524d\u6240\u8ff0\uff0c\u6dfb\u52a0\u53ef\u9760\u7684\u7b2c\u4e09\u65b9\u4ed3\u5e93\u53ef\u4ee5\u6781\u5927\u5730\u4e30\u5bcc\u4f60\u7684\u8f6f\u4ef6\u9009\u62e9\u3002\u9664\u4e86EPEL\uff0c\u8fd8\u6709\u5f88\u591a\u9488\u5bf9\u7279\u5b9a\u5e94\u7528\u573a\u666f\u6216\u53d1\u884c\u7248\u7684\u7b2c\u4e09\u65b9\u4ed3\u5e93\uff0c\u4f8b\u5982Remi\u4ed3\u5e93\uff08\u63d0\u4f9b\u66f4\u65b0\u7684PHP\u7248\u672c\uff09\u6216CentOSSIGs\uff08SpecialInterestGroups\uff09\u4ed3\u5e93\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5728\u6dfb\u52a0\u524d\uff0c\u52a1\u5fc5\u786e\u8ba4\u4ed3\u5e93\u7684\u53ef\u9760\u6027\u548c\u5b89\u5168\u6027\uff0c\u907f\u514d\u5f15\u5165\u6076\u610f\u8f6f\u4ef6\u6216\u4e0d\u517c\u5bb9\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u542f\u7528\/\u7981\u7528\u4ed3\u5e93\uff1a\u6709\u65f6\uff0c\u4f60\u53ef\u80fd\u53ea\u9700\u8981\u4e34\u65f6\u4f7f\u7528\u67d0\u4e2a\u4ed3\u5e93\uff0c\u6216\u8005\u62c5\u5fc3\u67d0\u4e2a\u4ed3\u5e93\u4e2d\u7684\u8f6f\u4ef6\u5305\u4f1a\u4e0e\u73b0\u6709\u7cfb\u7edf\u4ea7\u751f\u51b2\u7a81\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539.repo\u6587\u4ef6\u4e2d\u7684enabled\u9009\u9879\uff0c\u6216\u8005\u4f7f\u7528yum-config-manager&#8211;disable\u548cyum-config-manager&#8211;enable\u547d\u4ee4\u6765\u65b9\u4fbf\u5730\u542f\u7528\u6216\u7981\u7528\u4ed3\u5e93\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u67e5\u770b\u4ed3\u5e93\u5217\u8868\uff1ayumrepolist\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u5217\u51fa\u6240\u6709\u5df2\u914d\u7f6e\u7684\u4ed3\u5e93\uff0c\u5e76\u663e\u793a\u5176\u4e2d\u5305\u542b\u7684\u8f6f\u4ef6\u5305\u6570\u91cf\u3002yumrepolistall\u4f1a\u663e\u793a\u6240\u6709\u4ed3\u5e93\uff08\u5305\u62ec\u7981\u7528\u7684\uff09\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u6392\u9664\u7279\u5b9a\u5305\uff1a\u5728\u8fdb\u884cyumupdate\u65f6\uff0c\u6709\u65f6\u4f60\u53ef\u80fd\u4e0d\u5e0c\u671b\u66f4\u65b0\u67d0\u4e2a\u7279\u5b9a\u7684\u8f6f\u4ef6\u5305\uff0c\u6bd4\u5982\u4e00\u4e2a\u5173\u952e\u7684\u6570\u636e\u5e93\u6216\u5e94\u7528\u670d\u52a1\u5668\uff0c\u56e0\u4e3a\u65b0\u7248\u672c\u53ef\u80fd\u5f15\u5165\u4e0d\u517c\u5bb9\u7684\u6539\u53d8\u3002\u4f60\u53ef\u4ee5\u5728\/etc\/yum.conf\u6587\u4ef6\u4e2d\u6dfb\u52a0exclude=\u884c\u6765\u963b\u6b62\u7279\u5b9a\u8f6f\u4ef6\u5305\u88ab\u66f4\u65b0\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\u4e0e\u81ea\u52a8\u5316\u90e8\u7f72\uff1a\u6548\u7387\u7684\u98de\u8dc3<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5728\u73b0\u4ee3IT\u8fd0\u7ef4\u4e2d\uff0c\u81ea\u52a8\u5316\u90e8\u7f72\u662f\u63d0\u5347\u6548\u7387\u3001\u964d\u4f4e\u4eba\u4e3a\u9519\u8bef\u7684\u5173\u952e\u3002YUM\u5728\u8fd9\u5176\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">Ansible\/Puppet\/Chef\u7b49\u914d\u7f6e\u7ba1\u7406\u5de5\u5177\uff1a\u8fd9\u4e9b\u5de5\u5177\u80fd\u591f\u901a\u8fc7SSH\u8fde\u63a5\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\uff0c\u5e76\u6267\u884c\u9884\u5b9a\u4e49\u7684\u914d\u7f6e\u811a\u672c\u3002\u5b83\u4eec\u5e7f\u6cdb\u4f7f\u7528YUM\u4f5c\u4e3a\u6267\u884c\u8f6f\u4ef6\u5b89\u88c5\u548c\u66f4\u65b0\u7684\u540e\u7aef\u3002\u4f8b\u5982\uff0c\u5728Ansibleplaybook\u4e2d\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5b9a\u4e49\u4e00\u4e2a\u4efb\u52a1\u6765\u5b89\u88c5\u4e00\u7ec4\u8f6f\u4ef6\u5305\uff0cAnsible\u4f1a\u8c03\u7528\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684YUM\u6765\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u8fd9\u79cd\u81ea\u52a8\u5316\u80fd\u529b\uff0c\u4f7f\u5f97\u5728\u6210\u767e\u4e0a\u5343\u53f0\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u548c\u7ef4\u62a4\u8f6f\u4ef6\u6210\u4e3a\u53ef\u80fd\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">Kickstart\u81ea\u52a8\u5316\u5b89\u88c5\uff1a\u5728Linux\u7cfb\u7edf\u7684\u81ea\u52a8\u5316\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0cKickstart\u6587\u4ef6\u5141\u8bb8\u4f60\u9884\u5b9a\u4e49\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u6267\u884c\u7684\u6240\u6709\u6b65\u9aa4\uff0c\u5305\u62ec\u8f6f\u4ef6\u5305\u7684\u9009\u62e9\u3002\u901a\u8fc7\u5728Kickstart\u6587\u4ef6\u4e2d\u6307\u5b9a\u8f6f\u4ef6\u5305\u5217\u8868\uff0cYUM\u5c31\u80fd\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u81ea\u52a8\u5b89\u88c5\u6240\u9700\u7684\u8f6f\u4ef6\uff0c\u4ece\u800c\u5b9e\u73b0\u65e0\u4eba\u503c\u5b88\u7684\u7cfb\u7edf\u90e8\u7f72\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5229\u7528YUM\u7684Groups\u529f\u80fd\uff1aYUM\u652f\u6301\u8f6f\u4ef6\u5305\u7ec4\uff08PackageGroups\uff09\uff0c\u4f60\u53ef\u4ee5\u4e00\u6b21\u6027\u5b89\u88c5\u4e00\u7ec4\u76f8\u5173\u7684\u8f6f\u4ef6\u5305\uff0c\u4f8b\u5982\u201cWebServer\u201d\u7ec4\u5c31\u53ef\u80fd\u5305\u542bApache\u3001PHP\u3001MySQL\u7b49\u5e38\u7528Web\u5f00\u53d1\u7ec4\u4ef6\u3002\u8fd9\u6781\u5927\u5730\u7b80\u5316\u4e86\u5e38\u89c1\u5e94\u7528\u73af\u5883\u7684\u642d\u5efa\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u4f7f\u7528yumgroupinstall&#8221;&#8221;\u547d\u4ee4\u5373\u53ef\u5b89\u88c5\u4e00\u4e2a\u8f6f\u4ef6\u5305\u7ec4\u3002<\/p>\n<h3 style=\"text-align: left; margin-bottom: 10px;\">YUM\u7684\u9ad8\u7ea7\u6280\u5de7\u4e0e\u6545\u969c\u6392\u67e5<\/h3>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u5b89\u88c5\u672c\u5730RPM\u5305\uff1a\u9664\u4e86\u901a\u8fc7\u4ed3\u5e93\u5b89\u88c5\uff0c\u4f60\u8fd8\u53ef\u4ee5\u76f4\u63a5\u5b89\u88c5\u672c\u5730\u7684.rpm\u6587\u4ef6\u3002\u4f7f\u7528yumlocalinstall\u547d\u4ee4\uff0cYUM\u4f1a\u81ea\u52a8\u5904\u7406\u8be5.rpm\u6587\u4ef6\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u5e76\u4ece\u4ed3\u5e93\u4e2d\u4e0b\u8f7d\u6240\u9700\u7684\u4f9d\u8d56\u5305\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u67e5\u770b\u8f6f\u4ef6\u5305\u5386\u53f2\uff1a\u4e86\u89e3\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u3001\u66f4\u65b0\u548c\u5378\u8f7d\u5386\u53f2\uff0c\u5bf9\u4e8e\u6392\u67e5\u95ee\u9898\u975e\u5e38\u6709\u5e2e\u52a9\u3002yumhistory\u547d\u4ee4\u53ef\u4ee5\u5217\u51fa\u6240\u6709\u7684\u5386\u53f2\u64cd\u4f5c\uff0c\u800cyumhistoryinfo\u53ef\u4ee5\u67e5\u770b\u7279\u5b9a\u64cd\u4f5c\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u56de\u6eda\u64cd\u4f5c\uff1a\u5982\u679c\u66f4\u65b0\u67d0\u4e2a\u8f6f\u4ef6\u5305\u540e\u53d1\u73b0\u7cfb\u7edf\u51fa\u73b0\u95ee\u9898\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528yumhistoryundo\u547d\u4ee4\u6765\u56de\u6eda\u5230\u4e4b\u524d\u7684\u72b6\u6001\uff0c\u64a4\u9500\u8be5\u6b21\u66f4\u65b0\u64cd\u4f5c\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\u51b2\u7a81\uff1a\u5f53YUM\u62a5\u544a\u4f9d\u8d56\u5173\u7cfb\u51b2\u7a81\u65f6\uff0c\u4f60\u9700\u8981\u4ed4\u7ec6\u9605\u8bfb\u9519\u8bef\u4fe1\u606f\uff0c\u4e86\u89e3\u662f\u54ea\u4e2a\u8f6f\u4ef6\u5305\u7684\u54ea\u4e2a\u7248\u672c\u5bfc\u81f4\u4e86\u51b2\u7a81\u3002\u901a\u5e38\uff0c\u8fd9\u9700\u8981\u4f60\u51b3\u5b9a\u662f\u79fb\u9664\u51b2\u7a81\u7684\u8f6f\u4ef6\u5305\u3001\u66f4\u65b0\u5230\u66f4\u9ad8\u7684\u7248\u672c\uff0c\u8fd8\u662f\u5bfb\u627e\u4e00\u4e2a\u517c\u5bb9\u7684\u7b2c\u4e09\u65b9\u4ed3\u5e93\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">\u6e05\u7406\u65e0\u6548\u7684RPM\u6570\u636e\u5e93\uff1a\u5076\u5c14\uff0cRPM\u6570\u636e\u5e93\u53ef\u80fd\u4f1a\u56e0\u4e3a\u5f02\u5e38\u4e2d\u65ad\u800c\u635f\u574f\u3002\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528rpm&#8211;rebuilddb\u547d\u4ee4\u6765\u91cd\u5efa\u5b83\u3002<\/p>\n<p style=\"font-size: 18px; line-height: 40px; text-align: left; margin-bottom: 30px;\">YUM\u4e0d\u4ec5\u4ec5\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\uff0c\u5b83\u662f\u4e00\u5957\u5b8c\u6574\u7684\u3001\u5f3a\u5927\u7684\u751f\u6001\u7cfb\u7edf\u3002\u4ece\u57fa\u7840\u7684\u5b89\u88c5\u5378\u8f7d\uff0c\u5230\u590d\u6742\u7684\u4ed3\u5e93\u914d\u7f6e\uff0c\u518d\u5230\u4e0e\u81ea\u52a8\u5316\u90e8\u7f72\u5de5\u5177\u7684\u6df1\u5ea6\u6574\u5408\uff0cYUM\u4e3aLinux\u7cfb\u7edf\u7684\u7ba1\u7406\u63d0\u4f9b\u4e86\u65e0\u4e0e\u4f26\u6bd4\u7684\u4fbf\u5229\u6027\u548c\u6548\u7387\u3002\u638c\u63e1YUM\uff0c\u4f60\u5c31\u638c\u63e1\u4e86Linux\u8f6f\u4ef6\u7ba1\u7406\u7684\u547d\u8109\uff0c\u80fd\u591f\u66f4\u52a0\u81ea\u4fe1\u3001\u4ece\u5bb9\u5730\u5e94\u5bf9\u5404\u79cd\u7cfb\u7edf\u8fd0\u7ef4\u6311\u6218\uff0c\u4e3a\u6784\u5efa\u7a33\u5b9a\u3001\u5b89\u5168\u3001\u9ad8\u6548\u7684Linux\u7cfb\u7edf\u4fdd\u9a7e\u62a4\u822a\u3002<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>yum\u5b89\u88c5\uff0cyum\u5b89\u88c5vim\u547d\u4ee4 \u8d2d\u4e70\u9ad8\u9632\u670d\u52a1\u5668-\u9009\u62e9\u62a4\u76fe\u4e91-www.hudunyun.com YUM\u5b89\u88c5\uff1aLinux\u8f6f\u4ef6\u7ba1\u7406\u7684\u745e\u58eb\u519b\u5200 \u5728\u6d69\u701a\u7684Linux\u4e16\u754c\u91cc\uff0c\u8f6f\u4ef6\u7684\u5b89\u88c5\u3001\u5347\u7ea7\u548c\u5378\u8f7d\u662f\u7cfb\u7edf\u7ba1\u7406\u5458\u548c\u5f00\u53d1\u8005\u65e5\u5e38\u5de5\u4f5c\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u73af\u3002\u60f3\u8c61\u4e00\u4e0b&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"topic":[],"class_list":["post-3250","post","type-post","status-publish","format-standard","hentry","category-zixun"],"_links":{"self":[{"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=\/wp\/v2\/posts\/3250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3250"}],"version-history":[{"count":0,"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=\/wp\/v2\/posts\/3250\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3250"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.idcbk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=3250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}