ubuntu下安装virtualbox

https://www.virtualbox.org/wiki/Linux_Downloads
dpkg -l
sudo apt-get remove virtualbox-4.2
sudo dpkg -i ~/Downloads/virtualbox-4.2_4.2.4-81684~Ubuntu~quantal_amd64.deb
sudo apt-get -f install
sudo apt-get install linux-headers-$(uname -r)
sudo /etc/init.d/vboxdrv setup
sudo adduser xzn vboxusers
sudo mkdir /mnt/shared
sudo mount -t vboxsf shared /mnt/shared
su root
cd /mnt/shared
sudo umount -f /mnt/shared
打开virtualbox -> 点击菜单File -> Preferences -> Extensions -> 点击add package按钮

相关推荐