Skip to content

Instantly share code, notes, and snippets.

@8enet
Last active April 8, 2016 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 8enet/4d40d2f8f943d5b2ec9b1e1d78cf25a1 to your computer and use it in GitHub Desktop.
Save 8enet/4d40d2f8f943d5b2ec9b1e1d78cf25a1 to your computer and use it in GitHub Desktop.
debian8 install virtualbox
https://jira.mongodb.org/browse/SERVER-14786

sudo apt-get install virtualbox virtualbox-dkms linux-headers-amd64

查看是否安装成功 VBoxManage --version

如果出现 WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-amd64.

 You will not be able to start VMs until this problem is fixed.

查看内核版本 uname -r 3.16.0-4-amd64

sudo apt-get install linux-headers-3.16.0-4-amd64

sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox
sudo  modprobe vboxdrv

再次查看版本,只输出一行表示安装成功! VBoxManage --version 5.0.16_Debianr105871

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment