Loading...

2010-05-16

Linux Tips: How to add the Repository of VirtualBox 3.1.8 for Ubuntu 10.04 Lucid Lynx

引用・抜粋しまくりのパッチワークで、おそれいりヤス。後にまとめるための覚え書きノート・・・デス (Orz).

最新ニュースを追記しました。 by Baian on Fri May/21/2010,
New "May 18, 2010 VirtualBox 3.2.0 released!"

About VirtualBox: Oracle VM VirtualBox is a general-purpose full virtualizer for x86 hardware that originally created by German software company innotek GmbH, purchased by Sun Microsystems, and now developed by Oracle as part of its family of virtualization products.
It is installed on an existing host operating system; within this application, additional guest operating systems, each known as a Guest OS, can be loaded and run, each with its own virtual environment.
Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software.

1-1. Features of VirtualBox:

  • Modularity. VirtualBox has an extremely modular design with well-defined internal programming interfaces and a client/server design. This makes it easy to control it from several interfaces at once: for example, you can start a virtual machine in a typical virtual machine GUI and then control that machine from the command line, or possibly remotely. VirtualBox also comes with a full Software Development Kit: even though it is Open Source Software, you don't have to hack the source to write a new interface for VirtualBox.

  • Virtual machine descriptions in XML. The configuration settings of virtual machines are stored entirely in XML and are independent of the local machines. Virtual machine definitions can therefore easily be ported to other computers.

  • Guest Additions for Windows, Linux and Solaris. VirtualBox has special software that can be installed inside Windows, Linux and Solaris virtual machines to improve performance and make integration much more seamless. Among the features provided by these Guest Additions are mouse pointer integration and arbitrary screen solutions (e.g. by resizing the guest window). There are also guest additions for OS/2 with somewhat reduced functionality.

  • Shared folders. Like many other virtualization solutions, for easy data exchange between hosts and guests, VirtualBox allows for declaring certain host directories as "shared folders", which can then be accessed from within virtual machines.
A number of extra features are available with the full VirtualBox release only (see the "Editions" page for details):
  • Virtual USB Controllers. VirtualBox implements a virtual USB controller and allows you to connect arbitrary USB devices to your virtual machines without having to install device specific drivers on the host.

  • Remote Desktop Protocol. Unlike any other virtualization software, VirtualBox fully supports the standard Remote Desktop Protocol (RDP). A virtual machine can act as an RDP server, allowing you to "run" the virtual machine remotely on some thin client that merely displays the RDP data.

  • USB over RDP. With this unique feature, a virtual machine that acts as an RDP server can still access arbitrary USB devices that are connected on the RDP client. This way, a powerful server machine can virtualize a lot of thin clients that merely need to display RDP data and have USB devices plugged in.

1-2. Hardware Requirements:

  In order to run VirtualBox on your machine, you need the following:
  • Reasonably powerful x86 hardware. Any recent Intel or AMD processor should do.

  • Memory. Depending on what guest operating systems you want to run, you will need at least 512 MB of RAM (but probably more, and the more the better).
    Basically, you will need whatever your host operating system needs to run comfortably, plus the amount that the guest operating system needs.
    So, if you want to run Windows XP on Windows XP, you probably won't enjoy the experience much with less than 1 GB of RAM.
    If you want to try out Windows Vista in a guest, it will refuse to install if it is given less than 512 MB RAM, so you'll need that for the guest alone, plus the memory your operating system normally needs.

  • Hard disk space. While VirtualBox itself is very lean (a typical installation will only need about 30 MB of hard disk space), the virtual machines will require fairly huge files on disk to represent their own hard disk storage.
    So, to install Windows XP, for example, you will need a file that will easily grow to several GB in size.

  • A supported host operating system. Presently, we support Windows (primarily XP) and many Linux distributions on 32-bit hosts and on 64-bit hosts. Support for Mac OS X and Solaris and OpenSolaris appeared in 1.6.

  • A supported guest operating system. Besides the "user manual", up-to-date information is available at "Status: Guest OSes".
ScreenShot: "Status: Guest OSes"


2. Download and Install VirtualBox for Linux Hosts


Ubuntu 10.04 LTS (Lucid Lynx) Virtualbox
novelldesktop - 2009年12月28日

2-1. VirtualBox package for Ubuntu 10.04

VirtualBox には以下のように2種類のバージョンがあります。

VirtualBox(Non Free版)

個人や教育あるいは評価目的の製品の利用において無料です。

サードパーティのレポジトリや手動でダウンロードしたパッケージを利用した場合、アップグレード時に特別な操作が必要となる場合があります。

To run VirtualBox 3.1.8, you will need to install the VirtualBox package from the repository. Please choose the appropriate package for Ubuntu 10.04 Lucid Lynx.
Note: The package architecture has to match the Linux kernel architecture, that is, if you are running a 64-bit kernel, install the appropriate AMD64 package (it does not matter if you have an Intel or an AMD CPU). Mixed installations (e.g. Debian/Lenny ships an AMD64 kernel with 32-bit packages) are not supported. To install VirtualBox anyway you need to setup a 64-bit chroot environment.

VirtualBox Open Source Edition(OSE)

オープンソース版です。virtualbox-ose パッケージをインストールしてください。

After several years of intensive development, VirtualBox was released as Open Source in January 2007. innotek has chosen to release its VirtualBox source code under the GNU General Public License (GPL).
  • The VirtualBox Open Source Edition (OSE) is the one that has been released under the GPL and comes with complete source code. It is functionally equivalent to the full VirtualBox package, except for a few features that primarily target enterprise customers. This gives us a chance to generate revenue to fund further development of VirtualBox.
  VirtualBox OSE is also available from the Downloads page.

※ オープンソース版では、次の機能が利用できません。
  • Remote Desktop Protocol(RDP)サーバ機能
  • USBサポート
  • USB over RDP

2-2. How to add the repository for Ubuntu 10.04 "Lucid Lynx"

Add one of the following lines to your /etc/apt/sources.list:

 deb http://download.virtualbox.org/virtualbox/debian lucid non-free


The Sun public key for apt-secure can be downloaded here.
You can add this key with:


 $ sudo apt-key add sun_vbox.asc


or combine downloading and registering:


$ sudo add-apt-repository 'deb http://download.virtualbox.org/virtualbox/debian lucid non-free'
$ wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -


The key fingerprint is:

AF45 1228 01DA D613 29EF 9570 DCF9 F87B 6DFB CBAE
Sun Microsystems, Inc. (xVM VirtualBox archive signing key)<info@virtualbox.org>

Then to install VirtualBox, open your terminal and input the following command :


 $ sudo apt-get update
 $ sudo apt-get install virtualbox-3.1


You might want to compare the MD5 SUMS to verify the integrity of downloaded packages.

Note: Ubuntu users might want to install the dkms package (not available on Debian) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade.
The dkms package can be installed through the Synaptic Package manager or through the following command:


 $ sudo apt-get install dkms


Note: about VirtualBox 3.2.0 Beta2:

VirtualBox 3.2 beta 2 is not available in this repository so if you want to download Beta 2, you can do it manually from HERE.
VirtualBox 3.2 Beta 2 comes with support for MacOS X, meaning you can install the original MacOS X in your Linux or Windows VirtualBox.

What's New: May 18, 2010 VirtualBox 3.2.0 released!


"May 18, 2010. The VirtualBox team today released a significant new version of Oracle VM VirtualBox(TM), its high performance, cross-platform virtualization software.
VirtualBox 3.2, the first Oracle branded release since the acquisition of Sun Microsystems, Inc by Oracle Corp. earlier this year, contains many innovative new features which deliver further significant improvements in performance, power and supported guest operating system platforms." Read more ... →  追記:by Baian, on Fri May/21/2010
References

Download and Installation:
Documentation:

0 Comments::