Howto Install VirtualBox in Ubuntu 8.04(Hardy Heron) inc

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
liuke.forever
帖子: 102
注册时间: 2008-05-28 14:14
送出感谢: 0
接收感谢: 0

Howto Install VirtualBox in Ubuntu 8.04(Hardy Heron) inc

#1

帖子 liuke.forever » 2008-11-14 9:29

ref: http://hi.baidu.com/slong42/blog/item/f ... 9357c.html

Howto Install VirtualBox 1.6 in Ubuntu 8.04(Hardy Heron) including USB Support
2008-08-01 21:12
VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL).

Install Virtualbox 1.6 in Ubuntu

First you need to download virtualbox from here

Now you should have virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb package install this package using the following command

sudo dpkg -i virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb

This will complete the installation.

Setup User Permissions

Goto System -> Administration -> Users and Groups

Click on the “Unlock” button

Enter in your password and click on “Authenticate”

Click on the “Manage Groups” button

Find the “vboxusers” group which is probably at the very bottom of the list, highlight it by clicking again, and click on “Properties”.

Make sure there’s a check mark next to your user’s name, and click on ok you’re finished.

Enable USB Support in Virtualbox

By default USB support was disabled in virtualbox, so you’ll probably want to enable it. Otherwise you’ll get an error when you go into the “Settings” of your virtual machine. To correct this, you’ll need to edit the mountdevsubfs.sh file

sudo gedit /etc/init.d/mountdevsubfs.sh

Inside, you’ll see a block of code that looks like this

#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb

Change it to look like this (uncomment out the region by deleting the “#’s”):

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

Save the changes and exit.Now log out, and then log back in again for the changes to take place.

Create a New Virtual Machine in Virtualbox

You need to open virtualbox from Applications—>System Tools—>Sun xVM VirtualBox

First time you should see similar to the following license screen click on “I Agree”

Virtualbox Registration click on Confirm

Virtualbox Registration was Successful click on ok

Once it opens you should see similar to the following screen.If you want to create a Virtual machine you need to click on “New” button in the user interface will guide you through the new virtual machine Now the following wizard will appear click next

In the next screen You need to select VMname and OS Type and click next

Now you need to select the memory size for your VM

Here you need to select the Virtual hard disk details (If you don’t find create new disk) and click next

Summary of your Virtual Machine and click finish

Once you click on finish You should see the following screen

Virtualbox Version Details



http://www.ubuntugeek.com/howto-install ... pport.html
blue sea
帖子: 198
注册时间: 2007-11-10 8:57
送出感谢: 0
接收感谢: 0
联系:

Re: Howto Install VirtualBox in Ubuntu 8.04(Hardy Heron) inc

#2

帖子 blue sea » 2008-11-14 11:45

还是E文,其实装vbox,简单到死,在新立德里搜“virtualbox" , 再点两下mouse就安装好了。 :em11
liuke.forever
帖子: 102
注册时间: 2008-05-28 14:14
送出感谢: 0
接收感谢: 0

Re: Howto Install VirtualBox in Ubuntu 8.04(Hardy Heron) inc

#3

帖子 liuke.forever » 2008-11-14 13:07

blue sea 写了:还是E文,其实装vbox,简单到死,在新立德里搜“virtualbox" , 再点两下mouse就安装好了。 :em11
其實不是這樣簡單的。
1、在新立得里安裝的是VirtualBox-ose版本,
此版本不支持USB設備,所有如果要想有USB設備支持,還是到virtualBox官網去下載
virtaulBox的deb包安裝

2、下載安裝好之后如果要在virtaulbox中使用USB設備還是要進行一些設定才可以的。
blue sea
帖子: 198
注册时间: 2007-11-10 8:57
送出感谢: 0
接收感谢: 0
联系:

Re: Howto Install VirtualBox in Ubuntu 8.04(Hardy Heron) inc

#4

帖子 blue sea » 2008-11-14 13:26

virtualbox要收钱,ose是开源版本。
回复

回到 “虚拟机和虚拟化”