{"id":1035,"date":"2014-10-23T22:00:00","date_gmt":"2014-10-23T14:00:00","guid":{"rendered":"http:\/\/hesiwei.cn\/?p=1035"},"modified":"2014-10-23T22:00:00","modified_gmt":"2014-10-23T14:00:00","slug":"virtualbox%e8%99%9a%e6%8b%9f%e6%9c%balinux-guest%e7%9a%84additions%e5%ae%89%e8%a3%85%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/hesiwei.cn\/?p=1035","title":{"rendered":"Virtualbox\u865a\u62df\u673aLinux Guest\u7684Additions\u5b89\u88c5\u65b9\u6cd5"},"content":{"rendered":"<p>\u5982\u679c\u662fwindows\u505aGuest\uff0c\u76f4\u63a5\u5355\u51fb\u83dc\u5355\u680f &#8220;Insert Guest Additions CD Image&#8230; &#8221; \u5c31\u53ef\u4ee5\u5c06 Additions CD \u81ea\u52a8\u52a0\u8f7d\u5230Guest\u91cc\u7684\u865a\u62df\u5149\u9a71\u91cc\uff0c\u4f46\u662fLinux\u662f\u4e0d\u884c\u7684\uff0c\u56e0\u4e3aLinux\u9700\u8981root\u6743\u9650\u624d\u53ef\u4ee5mount CD Image\u3002<\/p>\n<p>\u505a\u6cd5\u662f\u5728Guest\u91cc\u6253\u5f00\u7ec8\u7aef\uff0c\u8f93\u5165\uff1a<br \/><code>sudo<\/code>&nbsp;<code>mount<\/code>&nbsp;<code>\/dev\/sr0<\/code>&nbsp;&nbsp;<code>\/media\/cdrom<\/code><br \/>\u628asr0\u6302\u8f7d\u5230 \/media\/cdrom \u91cc\uff0c\u5982\u679c\u6ca1\u6709cdrom\uff0c\u53ef\u4ee5\u5148mkdir\u4e00\u4e2a\uff0c\u6302\u8f7d\u5230\u5176\u4ed6\u4f4d\u7f6e\u4e5f\u53ef\u4ee5\u3002<\/p>\n<p>\u7136\u540e\u67e5\u770b\u4e00\u4e0b<br \/>[web@doco6-lamp ~ ]$ ls \/mnt\/cdrom<br \/>32Bit &nbsp; &nbsp; &nbsp; &nbsp;autorun.sh &nbsp;runasroot.sh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;VBoxWindowsAdditions-amd64.exe<br \/>64Bit &nbsp; &nbsp; &nbsp; &nbsp;cert &nbsp; &nbsp; &nbsp; &nbsp;VBoxLinuxAdditions.run &nbsp; &nbsp;VBoxWindowsAdditions.exe<\/p>\n<p>AUTORUN.INF &nbsp;OS2 &nbsp; &nbsp; &nbsp; &nbsp; VBoxSolarisAdditions.pkg &nbsp;VBoxWindowsAdditions-x86.exe<\/p>\n<p>\u91cc\u9762\u6709 VBoxLinuxAdditions.run \u8fd9\u4e00\u9879\uff0c\u76f4\u63a5\u8fd0\u884c\u5373\u53ef\u3002<\/p>\n<p><code>sudo<\/code>&nbsp;<code>sh .<\/code><code>\/VBoxLinuxAdditions<\/code><code>.run<br \/><\/code><\/p>\n<p>\u5c1d\u8bd5 sh .\/VBoxLinuxAdditions.run \u62a5\u9519\uff1a<\/p>\n<p>&nbsp;&nbsp;<strong>Installing the Window System drivers \u2026fail!<\/strong><br \/><strong>&nbsp; (Could not find the X.org or XFree86 Window System.)<\/strong><\/p>\n<pre><code>\u641c\u5230\u4ee5\u4e0b\u547d\u4ee4\uff1a<br \/>sudo apt-get install xserver-xorg xserver-xorg-core<br \/><br \/>\u4ee5\u4e0a\u662f\u91cd\u88c5\u8fc7\u7a0b\uff0c\u5168\u90e8\u89e3\u51b3\u3002<\/code><\/pre>\n<p>\u5b89\u88c5\u540e\uff0creboot\u4e00\u4e0b\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u662fwindows\u505aGuest\uff0c\u76f4\u63a5\u5355\u51fb\u83dc\u5355\u680f &#8220;Insert Guest Additions  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1035","post","type-post","status-publish","format-standard","hentry","category-22"],"_links":{"self":[{"href":"http:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/posts\/1035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1035"}],"version-history":[{"count":0,"href":"http:\/\/hesiwei.cn\/index.php?rest_route=\/wp\/v2\/posts\/1035\/revisions"}],"wp:attachment":[{"href":"http:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1035"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hesiwei.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}