Различия
Здесь показаны различия между двумя версиями данной страницы.
| Следующая версия | Предыдущая версия | ||
|
dev:ubuntu:virtualbox [2011/04/01 18:18] jamis7005 создано |
dev:ubuntu:virtualbox [2011/06/17 06:55] (текущий) alexeyb |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| ====== How to setup VirtualBox on Ubuntu ====== | ====== How to setup VirtualBox on Ubuntu ====== | ||
| + | Source http://www.virtualbox.org/wiki/Linux_Downloads | ||
| + | \\ | ||
| + | ---- | ||
| + | \\ | ||
| + | 1. Add the following line to **/etc/apt/sources.list**: | ||
| + | <file> | ||
| + | deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free | ||
| + | </file> | ||
| + | |||
| + | 2. Add and register the Oracle public key: | ||
| + | wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | ||
| + | |||
| + | 3. To install VirtualBox: | ||
| + | sudo apt-get update | ||
| + | sudo apt-get install virtualbox-4.0 | ||
| + | |||
| + | 4. Add right for current user: | ||
| + | - System / Administration / Users and groups | ||
| + | - choose Users | ||
| + | - Additional parameters / User's rights / Check - VirtualBox | ||
| + | |||
| + | ====== KVM and VirtualBox solving problems ====== | ||
| + | |||
| + | If you had preinstalled KVM on Ubuntu (virtual machine for non graphical applications) | ||
| + | where can be such proble as | ||
| + | |||
| + | "VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE)" | ||
| + | |||
| + | To solve it, you should remove KVM from kernel (for intel processors): | ||
| + | rmmod kvm_intel | ||
| + | rmmod kvm | ||
| + | For amd processors: | ||
| + | rmmod kvm_amd | ||
| + | rmmod kvm | ||
| + | | ||