{"id":157799,"date":"2019-09-22T08:00:34","date_gmt":"2019-09-22T00:00:34","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=157799"},"modified":"2019-09-05T12:52:54","modified_gmt":"2019-09-05T04:52:54","slug":"ubuntu-debian-virtualbox","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ubuntu-debian-virtualbox.html","title":{"rendered":"\u5728 Ubuntu \u548c\u5176\u4ed6\u57fa\u4e8e Debian \u7684 Linux \u53d1\u884c\u7248\u4e0a\u5b89\u88c5 VirtualBox \u7684\u5404\u79cd\u65b9\u6cd5"},"content":{"rendered":"
Oracle \u516c\u53f8\u7684\u81ea\u7531\u5f00\u6e90\u4ea7\u54c1 VirtualBox \u662f\u4e00\u6b3e\u51fa\u8272\u7684\u865a\u62df\u5316\u5de5\u5177\uff0c\u4e13\u95e8\u7528\u4e8e\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\u3002\u4e0e\u53e6\u4e00\u6b3e\u865a\u62df\u5316\u5de5\u5177 Linux \u4e0a\u7684 VMWare Workstation \u76f8\u6bd4\u8d77\u6765\uff0c\u6211\u66f4\u559c\u6b22\u5b83\u3002<\/p>\n
\u4f60\u53ef\u4ee5\u4f7f\u7528 VirtualBox \u7b49\u865a\u62df\u5316\u8f6f\u4ef6\u5728\u865a\u62df\u673a\u4e2d\u5b89\u88c5\u548c\u4f7f\u7528\u5176\u4ed6\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n
\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u5728 Windows \u4e0a\u7684 VirtualBox \u4e2d\u5b89\u88c5 Linux\u3002\u540c\u6837\u5730\uff0c\u4f60\u4e5f\u53ef\u4ee5\u7528 VirtualBox \u5728 Linux \u4e2d\u5b89\u88c5 Windows\u3002<\/p>\n
\u4f60\u4e5f\u53ef\u4ee5\u7528 VirtualBox \u5728\u4f60\u5f53\u524d\u7684 Linux \u7cfb\u7edf\u4e2d\u5b89\u88c5\u522b\u7684 Linux \u53d1\u884c\u7248\u3002\u4e8b\u5b9e\u4e0a\uff0c\u8fd9\u5c31\u662f\u6211\u7528\u5b83\u7684\u539f\u56e0\u3002\u5982\u679c\u6211\u542c\u8bf4\u4e86\u4e00\u4e2a\u4e0d\u9519\u7684 Linux \u53d1\u884c\u7248\uff0c\u6211\u4f1a\u5728\u865a\u62df\u673a\u4e0a\u6d4b\u8bd5\u5b83\uff0c\u800c\u4e0d\u662f\u5b89\u88c5\u5728\u771f\u5b9e\u7684\u7cfb\u7edf\u4e0a\u3002\u5f53\u4f60\u60f3\u8981\u5728\u5b89\u88c5\u4e4b\u524d\u5c1d\u8bd5\u4e00\u4e0b\u522b\u7684\u53d1\u884c\u7248\u65f6\uff0c\u7528\u865a\u62df\u673a\u4f1a\u5f88\u65b9\u4fbf\u3002<\/p>\n
<\/p>\n
\u5b89\u88c5\u5728 Ubuntu 18.04 \u5185\u7684 Ubuntu 18.10<\/em><\/p>\n \u5728\u672c\u65b0\u624b\u6559\u7a0b\u4e2d\uff0c\u6211\u5c06\u5411\u4f60\u5c55\u793a\u5728 Ubuntu \u548c\u5176\u4ed6\u57fa\u4e8e Debian \u7684 Linux \u53d1\u884c\u7248\u4e0a\u5b89\u88c5 VirtualBox \u7684\u5404\u79cd\u65b9\u6cd5\u3002<\/p>\n \u8fd9\u91cc\u63d0\u51fa\u7684\u5b89\u88c5\u65b9\u6cd5\u4e5f\u9002\u7528\u4e8e\u5176\u4ed6\u57fa\u4e8e Debian \u548c Ubuntu \u7684 Linux \u53d1\u884c\u7248\uff0c\u5982 Linux Mint\u3001elementar OS \u7b49\u3002<\/p>\n \u4f18\u70b9<\/strong>\uff1a\u5b89\u88c5\u7b80\u4fbf<\/p>\n \u7f3a\u70b9<\/strong>\uff1a\u8f83\u65e7\u7248\u672c<\/p>\n \u5728 Ubuntu \u4e0a\u4e0b\u8f7d VirtualBox \u6700\u7b80\u5355\u7684\u65b9\u6cd5\u53ef\u80fd\u662f\u4ece\u8f6f\u4ef6\u4e2d\u5fc3\u67e5\u627e\u5e76\u4e0b\u8f7d\u3002<\/p>\n <\/p>\n VirtualBox \u5728 Ubuntu \u8f6f\u4ef6\u4e2d\u5fc3\u63d0\u4f9b<\/em><\/p>\n \u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528\u8fd9\u6761\u547d\u4ee4\u4ece\u547d\u4ee4\u884c\u5b89\u88c5\uff1a<\/p>\n \u7136\u800c\uff0c\u5982\u679c\u5728\u5b89\u88c5\u524d\u68c0\u67e5\u8f6f\u4ef6\u5305\u7248\u672c\uff0c\u4f60\u4f1a\u770b\u5230 Ubuntu \u4ed3\u5e93\u63d0\u4f9b\u7684 VirtualBox \u7248\u672c\u5df2\u7ecf\u5f88\u8001\u4e86\u3002<\/p>\n \u4f18\u70b9<\/strong>\uff1a\u5b89\u88c5\u7b80\u4fbf\uff0c\u6700\u65b0\u7248\u672c<\/p>\n \u7f3a\u70b9<\/strong>\uff1a\u4e0d\u80fd\u66f4\u65b0<\/p>\n \u5982\u679c\u4f60\u60f3\u8981\u5728 Ubuntu \u4e0a\u4f7f\u7528 VirtualBox \u7684\u6700\u65b0\u7248\u672c\uff0c\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u5c31\u662f\u4f7f\u7528 Deb \u6587\u4ef6\u3002<\/p>\n Oracle \u4e3a VirtiualBox \u7248\u672c\u63d0\u4f9b\u4e86\u5f00\u7bb1\u5373\u7528\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002\u5982\u679c\u67e5\u770b\u5176\u4e0b\u8f7d\u9875\u9762\uff0c\u4f60\u5c06\u770b\u5230\u4e3a Ubuntu \u548c\u5176\u4ed6\u53d1\u884c\u7248\u4e0b\u8f7d deb \u5b89\u88c5\u7a0b\u5e8f\u7684\u9009\u9879\u3002<\/p>\n <\/p>\n VirtualBox Linux Download<\/em><\/p>\n \u4f60\u53ea\u9700\u8981\u4e0b\u8f7d deb \u6587\u4ef6\u5e76\u53cc\u51fb\u5b83\u5373\u53ef\u5b89\u88c5\u3002\u5c31\u662f\u8fd9\u4e48\u7b80\u5355\u3002<\/p>\n \u7136\u800c\uff0c\u8fd9\u79cd\u65b9\u6cd5\u7684\u95ee\u9898\u5728\u4e8e\u4f60\u4e0d\u80fd\u81ea\u52a8\u66f4\u65b0\u5230\u6700\u65b0\u7684 VirtualBox \u7248\u672c\u3002\u552f\u4e00\u7684\u529e\u6cd5\u662f\u79fb\u9664\u73b0\u6709\u7248\u672c\uff0c\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u5e76\u518d\u6b21\u5b89\u88c5\u3002\u4e0d\u592a\u65b9\u4fbf\uff0c\u662f\u5427\uff1f<\/p>\n \u4f18\u70b9<\/strong>\uff1a\u81ea\u52a8\u66f4\u65b0<\/p>\n \u7f3a\u70b9<\/strong>\uff1a\u5b89\u88c5\u7565\u5fae\u590d\u6742<\/p>\n \u73b0\u5728\u4ecb\u7ecd\u7684\u662f\u547d\u4ee4\u884c\u5b89\u88c5\u65b9\u6cd5\uff0c\u5b83\u770b\u8d77\u6765\u53ef\u80fd\u6bd4\u8f83\u590d\u6742\uff0c\u4f46\u4e0e\u524d\u4e24\u79cd\u65b9\u6cd5\u76f8\u6bd4\uff0c\u5b83\u66f4\u5177\u6709\u4f18\u52bf\u3002\u4f60\u5c06\u83b7\u5f97 VirtualBox \u7684\u6700\u65b0\u7248\u672c\uff0c\u5e76\u4e14\u672a\u6765\u5b83\u8fd8\u5c06\u81ea\u52a8\u66f4\u65b0\u5230\u66f4\u65b0\u7684\u7248\u672c\u3002\u6211\u60f3\u90a3\u5c31\u662f\u4f60\u60f3\u8981\u7684\u3002<\/p>\n \u8981\u901a\u8fc7\u547d\u4ee4\u884c\u5b89\u88c5 VirtualBox\uff0c\u8bf7\u5728\u4f60\u7684\u4ed3\u5e93\u5217\u8868\u4e2d\u6dfb\u52a0 Oracle VirtualBox \u7684\u4ed3\u5e93\u3002\u6dfb\u52a0 GPG \u5bc6\u94a5\u4ee5\u4fbf\u4f60\u7684\u7cfb\u7edf\u4fe1\u4efb\u6b64\u4ed3\u5e93\u3002\u73b0\u5728\uff0c\u5f53\u4f60\u5b89\u88c5 VirtualBox \u65f6\uff0c\u5b83\u4f1a\u4ece Oracle \u4ed3\u5e93\u800c\u4e0d\u662f Ubuntu \u4ed3\u5e93\u5b89\u88c5\u3002\u5982\u679c\u53d1\u5e03\u4e86\u65b0\u7248\u672c\uff0c\u672c\u5730 VirtualBox \u5c06\u8ddf\u968f\u4e00\u8d77\u66f4\u65b0\u3002\u8ba9\u6211\u4eec\u770b\u770b\u600e\u4e48\u505a\u5230\u8fd9\u4e00\u70b9\uff1a<\/p>\n \u9996\u5148\uff0c\u6dfb\u52a0\u4ed3\u5e93\u7684\u5bc6\u94a5\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e00\u6761\u547d\u4ee4\u4e0b\u8f7d\u548c\u6dfb\u52a0\u5bc6\u94a5\uff1a<\/p>\n Mint \u7528\u6237\u8bf7\u6ce8\u610f\uff1a \u73b0\u5728\u7528\u4ee5\u4e0b\u547d\u4ee4\u6765\u5c06 Oracle VirtualBox \u4ed3\u5e93\u6dfb\u52a0\u5230\u4ed3\u5e93\u5217\u8868\u4e2d\uff1a<\/p>\n \u5982\u679c\u4f60\u6709\u8bfb\u8fc7\u6211\u7684\u6587\u7ae0\u68c0\u67e5 Ubuntu \u7248\u672c\uff0c\u4f60\u5927\u6982\u77e5\u9053 lsb_release -cs \u5c06\u6253\u5370\u4f60\u7684 Ubuntu \u7cfb\u7edf\u7684\u4ee3\u53f7\u3002<\/p>\n \u6ce8\uff1a\u5982\u679c\u4f60\u770b\u5230 \u201cadd-apt-repository command not found\u201d \u9519\u8bef\uff0c\u4f60\u9700\u8981\u4e0b\u8f7d software-properties-common \u5305\u3002<\/p>\n \u73b0\u5728\u4f60\u5df2\u7ecf\u6dfb\u52a0\u4e86\u6b63\u786e\u7684\u4ed3\u5e93\uff0c\u8bf7\u901a\u8fc7\u6b64\u4ed3\u5e93\u5237\u65b0\u53ef\u7528\u5305\u5217\u8868\u5e76\u5b89\u88c5 VirtualBox:<\/p>\n \u63d0\u793a\uff1a\u4e00\u4e2a\u597d\u65b9\u6cd5\u662f\u8f93\u5165 sudo apt install virtualbox- \u5e76\u70b9\u51fb tab \u952e\u4ee5\u67e5\u770b\u53ef\u7528\u4e8e\u5b89\u88c5\u7684\u5404\u79cd VirtualBox \u7248\u672c\uff0c\u7136\u540e\u901a\u8fc7\u8865\u5168\u547d\u4ee4\u6765\u9009\u62e9\u5176\u4e2d\u4e00\u4e2a\u7248\u672c\u3002<\/p>\n <\/p>\n Install VirtualBox via terminal<\/em><\/p>\n \u73b0\u5728\u4f60\u5df2\u7ecf\u5b66\u4f1a\u4e86\u5982\u4f55\u5b89\u88c5 VirtualBox\uff0c\u6211\u8fd8\u60f3\u548c\u4f60\u63d0\u4e00\u4e0b\u5220\u9664\u5b83\u7684\u6b65\u9aa4\u3002<\/p>\n \u5982\u679c\u4f60\u662f\u4ece\u8f6f\u4ef6\u4e2d\u5fc3\u5b89\u88c5\u7684\uff0c\u90a3\u4e48\u5220\u9664\u5b83\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4ece\u8f6f\u4ef6\u4e2d\u5fc3\u4e0b\u624b\u3002\u4f60\u53ea\u9700\u8981\u5728\u5df2\u5b89\u88c5\u7684\u5e94\u7528\u7a0b\u5e8f\u5217\u8868\u4e2d\u627e\u5230\u5b83\uff0c\u7136\u540e\u5355\u51fb\u201c\u5220\u9664\u201d\u6309\u94ae\u3002 \u8bf7\u6ce8\u610f\uff0c\u8fd9\u4e0d\u4f1a\u5220\u9664\u4f60\u7528 VirtualBox \u5b89\u88c5\u7684\u64cd\u4f5c\u7cfb\u7edf\u5173\u8054\u7684\u865a\u62df\u673a\u548c\u6587\u4ef6\u3002\u8fd9\u5e76\u4e0d\u662f\u4e00\u4ef6\u574f\u4e8b\uff0c\u56e0\u4e3a\u4f60\u53ef\u80fd\u5e0c\u671b\u4ee5\u540e\u6216\u5728\u5176\u4ed6\u7cfb\u7edf\u4e2d\u4f7f\u7528\u5b83\u4eec\u662f\u5b89\u5168\u7684\u3002<\/p>\n \u6211\u5e0c\u671b\u4f60\u80fd\u5728\u4ee5\u4e0a\u65b9\u6cd5\u4e2d\u9009\u62e9\u4e00\u79cd\u5b89\u88c5 VirtualBox\u3002\u6211\u8fd8\u5c06\u5728\u53e6\u4e00\u7bc7\u6587\u7ae0\u4e2d\u5199\u5230\u5982\u4f55\u6709\u6548\u5730\u4f7f\u7528 VirtualBox\u3002\u76ee\u524d\uff0c\u5982\u679c\u4f60\u6709\u70b9\u5b50\u3001\u5efa\u8bae\u6216\u4efb\u4f55\u95ee\u9898\uff0c\u8bf7\u968f\u65f6\u5728\u4e0b\u9762\u53d1\u8868\u8bc4\u8bba\u3002<\/p>\n via: https:\/\/itsfoss.com\/install-virtualbox-ubuntu<\/a><\/p>\n \u4f5c\u8005\uff1aAbhishek Prakash<\/a> \u9009\u9898\uff1alujun9972<\/a> \u8bd1\u8005\uff1abeamrolling<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n \u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n","protected":false},"excerpt":{"rendered":" Oracle \u516c\u53f8\u7684\u81ea\u7531\u5f00\u6e90\u4ea7\u54c1 VirtualBox \u662f\u4e00\u6b3e\u51fa\u8272\u7684\u865a\u62df\u5316\u5de5\u5177\uff0c\u4e13\u95e8\u7528\u4e8e\u684c\u9762\u64cd\u4f5c\u7cfb\u7edf\u3002\u4e0e\u53e6\u4e00\u6b3e […]<\/p>\n","protected":false},"author":323,"featured_media":16521,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-157799","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\/157799","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\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=157799"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/157799\/revisions"}],"predecessor-version":[{"id":157959,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/157799\/revisions\/157959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/16521"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=157799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=157799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=157799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}sudo apt install virtualbox<\/pre>\n
wget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox_2016.asc -O- | sudo apt-key add -<\/pre>\n
\n\u4e0b\u4e00\u6b65\u53ea\u9002\u7528\u4e8e Ubuntu\u3002\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f Linux Mint \u6216\u5176\u4ed6\u57fa\u4e8e Ubuntu \u7684\u53d1\u884c\u7248\uff0c\u8bf7\u5c06\u547d\u4ee4\u884c\u4e2d\u7684 $(lsb_release -cs) \u66ff\u6362\u6210\u4f60\u5f53\u524d\u7248\u672c\u6240\u57fa\u4e8e\u7684 Ubuntu \u7248\u672c\u3002\u4f8b\u5982\uff0cLinux Mint 19 \u7cfb\u5217\u7528\u6237\u5e94\u8be5\u4f7f\u7528 bionic\uff0cMint 18 \u7cfb\u5217\u7528\u6237\u5e94\u8be5\u4f7f\u7528 xenial\uff0c\u50cf\u8fd9\u6837\uff1a<\/p>\nsudo add-apt-repository \u201cdeb [arch=amd64] <http:\/\/download.virtualbox.org\/virtualbox\/debian> **bionic** contrib\u201c`<\/pre>\n
sudo add-apt-repository \"deb [arch=amd64] http:\/\/download.virtualbox.org\/virtualbox\/debian $(lsb_release -cs) contrib\"<\/pre>\n
sudo apt update && sudo apt install virtualbox-6.0<\/pre>\n
\n\u53e6\u4e00\u79cd\u65b9\u5f0f\u662f\u4f7f\u7528\u547d\u4ee4\u884c\uff1a<\/p>\nsudo apt remove virtualbox virtualbox-*<\/pre>\n
\n