{"id":108,"date":"2018-12-09T17:44:18","date_gmt":"2018-12-09T09:44:18","guid":{"rendered":"https:\/\/www.ientertech.com\/blog\/?p=108"},"modified":"2018-12-09T17:44:18","modified_gmt":"2018-12-09T09:44:18","slug":"centos7-%e5%ae%89%e8%a3%85-vbox-tools","status":"publish","type":"post","link":"https:\/\/www.ienter.com.cn\/blog\/2018\/12\/centos7-%e5%ae%89%e8%a3%85-vbox-tools.html","title":{"rendered":"CentOS7 \u5b89\u88c5  Vbox tools"},"content":{"rendered":"<p>Ubuntu\u5b89\u88c5\u5f88\u65b9\u4fbf\uff0cCentOS\u597d\u50cf\u6709\u70b9\u95ee\u9898\uff0c\u5b89\u88c5\u65f6\u5019\u663e\u793a\u7f3a\u5c11\u4e1c\u897f\uff0c\u8981\u5b89\u88c5gcc\uff0cheader\uff0ckernel\u5565\u5565\u5565<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u62a5\u7684\u65f6\u5019\u4f1a\u663e\u793a\u4e00\u4e2a\u5e26\u7248\u672c\u53f7\u7684kernel-headers-\u7248\u672c\u53f7<\/p>\n<p>\u5148\u67e5\u770b\u5df2\u5b89\u88c5\u7684kernel\u76f8\u5173\u7684\u4e1c\u897f<\/p>\n<p>#rpm \u2013qa | grep kernel<\/p>\n<p>\u663e\u793a \u51fa\u6765\u7684\u91cc\u9762\uff0c\u4e0d\u540c\u7248\u672c\u53f7\u7684\uff0c\u5220\u9664<\/p>\n<p>#yum remove ***<\/p>\n<p>\u7136\u540e\u5b89\u88c5\u60f3\u8981\u7684\u7248\u672c\u53f7\u7684<\/p>\n<p>#yum install ****<\/p>\n<p>\u5982\u679c\u62a5\u8f6f\u4ef6\u5e93\u6ca1\u6709\uff0c\u90a3\u53ef\u4ee5\u641c\u7d22\u4e00\u4e0b\u54ea\u91cc\u6709\uff0c\u4e0b\u8f7drpm\u5305<\/p>\n<p>#wget http\u2026\u2026\u2026rpm<\/p>\n<p>\u7136\u540e\u5b89\u88c5<\/p>\n<p>#rpm \u2013ivh ***.rpm<\/p>\n<p>\u90fd\u5b89\u88c5\u540e\u518d\u5b89\u88c5gcc<\/p>\n<p>#yum install gcc<\/p>\n<p>\u5982\u679c\u8fd9\u65f6\u5019\u8fd8\u62a5\u6709\u4e9bkernel\u76f8\u5173\u7684\u8981\u5b89\u88c5\uff0c\u4e5f\u5148\u53bb\u624b\u52a8\u5b89\u88c5\u540c\u7248\u672c\u53f7\u7684<\/p>\n<p>\u5b8c\u6210\u540e\u518d\u5b89\u88c5gcc<\/p>\n<p>\u90fd\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u518d\u5b89\u88c5vbox tools\uff0cOK\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu\u5b89\u88c5\u5f88\u65b9\u4fbf\uff0cCen...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-linux","category-virtualization"],"_links":{"self":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":0,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ienter.com.cn\/blog\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}