{"id":147,"date":"2019-07-18T08:53:52","date_gmt":"2019-07-18T00:53:52","guid":{"rendered":"http:\/\/szddt.com\/service\/?p=147"},"modified":"2019-07-18T08:53:56","modified_gmt":"2019-07-18T00:53:56","slug":"centos7%e5%ae%89%e8%a3%85%e5%ae%89%e8%a3%85%e5%a2%9e%e5%bc%ba%e5%8a%9f%e8%83%bd%e5%8c%85vboxlinuxadditions%e5%92%8c%e5%85%b1%e4%ba%ab%e6%9c%ac%e6%9c%ba%e6%96%87%e4%bb%b6%e5%a4%b9","status":"publish","type":"post","link":"https:\/\/szddt.com\/?p=147","title":{"rendered":"Centos7\u5b89\u88c5\u5b89\u88c5\u589e\u5f3a\u529f\u80fd\u5305VBoxLinuxAdditions\u548c\u5171\u4eab\u672c\u673a\u6587\u4ef6\u5939"},"content":{"rendered":"\n<p>\u56e0\u4e3a\u53ea\u5b89\u88c5\u4e86\u547d\u4ee4\u884c\uff0c\u6ca1\u6709\u4f7f\u7528\u56fe\u5f62\u754c\u9762\uff0c\u5b89\u88c5\u589e\u5f3a\u5305\u51fa\u9519\uff0c\u63d0\u793a\uff1acentos\u672a\u80fd\u52a0\u8f7d\u865a\u62df\u5149\u76d8 C:\\Program Files\\Oracle\\VirtualBox\\VBoxGuestAdditions\\VBoxGuestAdditions.iso<\/p>\n\n\n\n<p>\u5b89\u88c5wget\u540e\uff0c\u4ece <a href=\"http:\/\/download.virtualbox.org\/virtualbox\/6.0.10\/\">http:\/\/download.virtualbox.org\/virtualbox\/6.0.10\/<\/a> \u4e0b\u8f7dVBoxGuestAdditions_6.0.10.iso<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>#wget http:\/\/download.virtualbox.org\/virtualbox\/6.0.10\/VBoxGuestAdditions_6.0.10.iso<\/p><\/blockquote>\n\n\n\n<p>\u7136\u540e\u6302\u8f7d\u865a\u62df\u5149\u9a71\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>#mkdir \/media\/cdrom <\/p><p> #mount  VBoxGuestAdditions_6.0.10.iso \/ media\/cdrom  <\/p><p>#cd  \/media\/cdrom <\/p><\/blockquote>\n\n\n\n<pre class=\"wp-block-preformatted\">\u5b89\u88c5epel\u6e90\uff0c\u5426\u5219bzip2\u65e0\u6cd5\u5b89\u88c5\uff0c\u6b65\u9aa4\u5982\u4e0b\uff1a<\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p> #yum -y install epel-release <\/p><p>#yum install perl dkms bzip2<\/p><\/blockquote>\n\n\n\n<p>\u51c6\u5907\u5de5\u4f5c\u505a\u5b8c\u4e86\uff0c\u51c6\u5907\u5b89\u88c5\u589e\u5f3a\u5305\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>[root@localhost cdrom]# .\/VBoxLinuxAdditions.run <br> Verifying archive integrity\u2026 All good.<br> Uncompressing VirtualBox 6.0.10 Guest Additions for Linux\u2026\u2026..<br> VirtualBox Guest Additions installer<br> Copying additional installer modules \u2026<br> Installing additional modules \u2026<br> VirtualBox Guest Additions: Starting.<br> VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel <br> modules.  This may take a while.<br> VirtualBox Guest Additions: To build modules for other installed kernels, run<br> VirtualBox Guest Additions:   \/sbin\/rcvboxadd quicksetup <br> VirtualBox Guest Additions: or<br> VirtualBox Guest Additions:   \/sbin\/rcvboxadd quicksetup all<br> VirtualBox Guest Additions: Building the modules for kernel <br> 3.10.0-957.21.3.el7.x86_64.<br> [root@localhost cdrom]# <\/p><\/blockquote>\n\n\n\n<p>\u5230virtualbox\u8bbe\u7f6e\u4e0b\u5171\u4eab\uff0c\u53d1\u73b0\u5171\u4eab\u5df2\u7ecfOK\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>[root@localhost cdrom]# mount<br> sysfs on \/sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)<br> proc on \/proc type proc (rw,nosuid,nodev,noexec,relatime)<br> devtmpfs on \/dev type devtmpfs (rw,nosuid,seclabel,size=495588k,nr_inodes=123897,mode=755)<br> securityfs on \/sys\/kernel\/security type securityfs (rw,nosuid,nodev,noexec,relatime)<br> tmpfs on \/dev\/shm type tmpfs (rw,nosuid,nodev,seclabel)<br> devpts on \/dev\/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)<br> tmpfs on \/run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)<br> tmpfs on \/sys\/fs\/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)<br> cgroup on \/sys\/fs\/cgroup\/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,xattr,release_agent=\/usr\/lib\/systemd\/systemd-cgroups-agent,name=systemd)<br> pstore on \/sys\/fs\/pstore type pstore (rw,nosuid,nodev,noexec,relatime)<br> cgroup on \/sys\/fs\/cgroup\/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,cpuacct,cpu)<br> cgroup on \/sys\/fs\/cgroup\/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,perf_event)<br> cgroup on \/sys\/fs\/cgroup\/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,blkio)<br> cgroup on \/sys\/fs\/cgroup\/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,net_prio,net_cls)<br> cgroup on \/sys\/fs\/cgroup\/memory type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,memory)<br> cgroup on \/sys\/fs\/cgroup\/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,hugetlb)<br> cgroup on \/sys\/fs\/cgroup\/pids type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,pids)<br> cgroup on \/sys\/fs\/cgroup\/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,freezer)<br> cgroup on \/sys\/fs\/cgroup\/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,cpuset)<br> cgroup on \/sys\/fs\/cgroup\/devices type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,devices)<br> configfs on \/sys\/kernel\/config type configfs (rw,relatime)<br> \/dev\/mapper\/centos-root on \/ type xfs (rw,relatime,seclabel,attr2,inode64,noquota)<br> selinuxfs on \/sys\/fs\/selinux type selinuxfs (rw,relatime)<br> systemd-1 on \/proc\/sys\/fs\/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12168)<br> mqueue on \/dev\/mqueue type mqueue (rw,relatime,seclabel)<br> debugfs on \/sys\/kernel\/debug type debugfs (rw,relatime)<br> hugetlbfs on \/dev\/hugepages type hugetlbfs (rw,relatime,seclabel)<br> \/dev\/sda1 on \/boot type xfs (rw,relatime,seclabel,attr2,inode64,noquota)<br> tmpfs on \/run\/user\/0 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=101500k,mode=700)<br> \/opt\/VBoxGuestAdditions_6.0.10.iso on \/media\/cdrom type iso9660 (ro,relatime)<br> app on \/opt\/app type vboxsf (rw,nodev,relatime,iocharset=utf8,uid=0,gid=995,dmode=0770,fmode=0770,tag=VBoxAutomounter)<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3a\u53ea\u5b89\u88c5\u4e86\u547d\u4ee4\u884c\uff0c\u6ca1\u6709\u4f7f\u7528\u56fe\u5f62\u754c\u9762\uff0c\u5b89\u88c5\u589e\u5f3a\u5305\u51fa\u9519\uff0c\u63d0\u793a\uff1acentos\u672a\u80fd\u52a0\u8f7d\u865a\u62df\u5149\u76d8 C:\\Pr&hellip; <a href=\"https:\/\/szddt.com\/?p=147\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">Centos7\u5b89\u88c5\u5b89\u88c5\u589e\u5f3a\u529f\u80fd\u5305VBoxLinuxAdditions\u548c\u5171\u4eab\u672c\u673a\u6587\u4ef6\u5939<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":{"0":"post-147","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-9-","7":"h-entry","9":"h-as-article"},"_links":{"self":[{"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=147"}],"version-history":[{"count":1,"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/szddt.com\/index.php?rest_route=\/wp\/v2\/posts\/147\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/szddt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}