Различия
Здесь показаны различия между двумя версиями данной страницы.
| Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
|
dev:ubuntu:virtualbox [2011/04/01 18:24] jamis7005 |
dev:ubuntu:virtualbox [2011/06/17 06:55] (текущий) alexeyb |
||
|---|---|---|---|
| Строка 1: | Строка 1: | ||
| - | By http://www.virtualbox.org/wiki/Linux_Downloads | + | ====== How to setup VirtualBox on Ubuntu ====== |
| - | + | ||
| - | + | ||
| - | 1. Add the following line /etc/apt/sources.list: | + | |
| + | 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 | deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free | ||
| + | </file> | ||
| 2. Add and register the Oracle public key: | 2. Add and register the Oracle public key: | ||
| - | + | wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | |
| - | wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | + | |
| 3. To install VirtualBox: | 3. To install VirtualBox: | ||
| + | sudo apt-get update | ||
| + | sudo apt-get install virtualbox-4.0 | ||
| - | sudo apt-get update | + | 4. Add right for current user: |
| - | sudo apt-get install virtualbox-4.0 | + | - System / Administration / Users and groups |
| + | - choose Users | ||
| + | - Additional parameters / User's rights / Check - VirtualBox | ||
| + | ====== KVM and VirtualBox solving problems ====== | ||
| - | 4. Add right for current user: | + | If you had preinstalled KVM on Ubuntu (virtual machine for non graphical applications) |
| - | System / Administration / Users and groups | + | where can be such proble as |
| - | + | ||
| - | choose Users | + | |
| - | Additional parameters / User's rights / Check - VirtualBox | + | "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 | ||
| + | | ||