Centos 6.X Install Virtualbox 4.2.16

Centos 6.X Install Virtualbox

1.Install&Update kernel
yum install gcc kernel kernel-devel kernel-headers

2.Install dkms
wget http://linux.dell.com/dkms/permalink/dkms-2.2.0.3.tar.gz
tar zxvf dkms-2.2.0.3.tar.gz
cd dkms-2.2.0.3
make && make install

3.Reboot System
[root@Centos6 ~]# reboot

4.Install Virtualbox
rpm -ivh VirtualBox-4.1-4.1.10_76795_rhel5-1.x86_64.rpm
[root@Centos6 ~]# reboot


5.Start Virtualbox
/etc/init.d/vboxdrv setup

[root@Centos6 ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS
gzip: /boot/initramfs-2.6.32-358.14.1.el6.i686.img: unexpected end of file
                                                          [  OK  ]
Starting VirtualBox kernel modules                         [  OK  ]

你可能感兴趣的:(centos,VirtualBox)