Skip to content

VirtualBox is an open source cross-platform virtualization software, it can be installed on any operating system and enable you to install and run multiple guest operating systems on same computer. For example, if you install it on your Linux system, you can run Windows XPoperating system under it as a Guest OS or run Linux OS on your Windows system and so on. This way, you can install and run as many as guest operating systems as you like, the only limit is disk space and memory.

Install Virtualbox in Linux

Install Virtualbox in Linux

Recently Oracle has released latest stable version of Virtualbox 4.3, the newest version of Virtual box comes with so many major changes and new features added to it.

Whats new in Virtualbox 4.3

  1. Virtual Multi-Touch USB interface
  2. Video Capturing feature for recording Virtual box sessions.
  3. New Popup to display various info and warnings on the top of the VM.
  4. Allows to create and edit general keyboard shortcuts.
  5. Major changes in VT-x code and the AMD-V code for many bug fixes and performance improvements.
  6. Ipv6 support
  7. It introduces a lightweight instruction interpreter for situations that are not handled by hardware virtualization.
  8. Comes with SCSI CD-ROM emulation, while including boot support.
  9. Fixed the problems with Live snapshat to made it work again.
  10. Guest sessions will now be running in dedicated resources, impersonated session processes.
  11. IGuestFile support
  12. Introducing a virtual router mode with NAT.
  13. 3D acceleration for Ubuntu and Fedora is improved.
  14. Multi-monitor support enhanced
  15. Support for Windows 8.1Windows Server 2012 R2 and Mac OS X 10.9
  16. Use the XDG standard configuration folder instead of .VirtualBox on systems
  17. Support loading HGCM modules with extension pack framework
  18. Fixed udev detection in the init script with Linux 3.x kernels
  19. Shared Clipboard/X11 will now supports BMP-format images

You can see the complete new change log details about VirtualBox 4.3 on their Official Changelog Page.

This guide explains how to install VirtualBox 4.3 on RHEL 6.4/6.3/6.2/6.1/6.0/5.9/5.8/5.6CentOS 6.4/6.3/6.2/6.1/6.0/5.9/5.8/5.6 and Fedora 19,18,17,16,15,14,13,12 systems using VirtualBox’sown repository with YUM tool.

This guide also explains how to install VirtualBox 4.3 on Ubuntu 13.10/13.04/12.10/12.04 andLinux Mint 15/14/13 systems using VirtualBox’s own repository with APT-GET command.

Installing VirtualBox 4.3 in RHEL/CentOS and Fedora

If you’ve any earlier version of Virtualbox installed, remove that before installing latest version.

# yum remove VirtualBox-4.2

Adding VirtualBox Repository

Next add the VirtualBox own repository to install latest VirtualBox 4.3 on following systems.

For RHEL/CentOS 6.4-5.9
## RHEL 6.4/6.3/6.2/6.1/6.0/5.9/5.8/5.6 and CentOS 6.4/6.3/6.2/6.1/6.0/5.9/5.8/5.6 ##
# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
For RHEL/CentOS 5
## RHEL 5 and CentOS 5 ##
# wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# rpm -Uvh epel-release-5-4.noarch.rpm
For Fedora 19,18,17,16,15,14,13,12
## Fedora 19,18,17,16,15,14,13,12 ##
# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

Install Dependency Packages for VirtualBox

VirtualBox uses vboxdrv kernel module to control and allocate physical memory for execution of guest operating systems. Without this module, you can still use the VirtualBox to create and configure virtual machines, but they will not work. So, to make VirtualBox fully functional you will need to update your system first, then install some additional modules like DKMSkernel-headers and kernel-devel and some dependency packages.

# yum update
# yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

Install VirtualBox 4.3

Once you’ve installed all the needed dependency packages, you can install latest version ofVirtualBox using following command.

# yum install VirtualBox-4.3

Rebuild Kernel Modules for VirtualBox 4.3

The below command will automatically create vboxusers group and user and also search and automatically rebuild required kernel modules. If the below build process fails, you will get a warning messages. Please have a look at /var/log/vbox-install.log to trace why the build process failed.

# /etc/init.d/vboxdrv setup
OR 
# service vboxdrv setup

Troubleshooting

If you get any error message like KERN_DIR or if your kernel source directory not detected automatically by build process, you can set it by using following command. Make sure you change kernel version according to your system as shown in red color.

## RHEL / CentOS / Fedora ##
KERN_DIR=/usr/src/kernels/2.6.18-194.11.1.el5-x86_64

## Export KERN_DIR ##
export KERN_DIR

Installing VirtualBox 4.3 in Ubuntu and Linux Mint

First, uninstall any earlier version of Virtualbox if any.

$ sudo apt-get remove virtualbox-4.2

Next, install latest 4.3 version using official Virtualbox repository. To add the repository, use the following command as shown.

$ echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install virtualbox-4.3

Starting VirtualBox 4.3

Simply execute following command to start it from the terminal or use launcher from menu to start.

# VirtualBox
VirtualBox Screenshots
Virtualbox 4.3

Virtualbox 4.3 Preview

Virtualbox Video Capture

Virtualbox Video Capture Support

Virtualbox 4.3 Running VM's

Virtualbox 4.3 Running VM’s

Installing VirtualBox Extension Pack

If you need some additional functionality such as VirtualBox RDPPXEROM with E1000support and USB 2.0 Host Controller support, etc. You need to download and install theVirtualBox Extension Pack using following wget command.

# wget http://download.virtualbox.org/virtualbox/4.3.0/Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.vbox-extpack

To install the extension pack, you must have Virtualbox 4.3 installed, once you downloadedvbox-extpack open with Virtualbox as shown below. If it doesn’t work out, then open Virtaulbox–> Preferences –> Extensions and browse for the vbox-extpack to install it.

Install VirtualBox Extension Pack

Install VirtualBox Extension Pack

VirtualBox Extension Pack

VirtualBox Extension Pack

Updating VirtualBox

If you want to update the VirtualBox with latest version in the future, you can simply run the following command to update it.

On RHEL/CentOS/Fedora
# yum update VirtualBox-4.3
On Ubuntu/Linux Mint
# apt-get install VirtualBox-4.3

Remove VirtualBox

If in case you want to remove VirtualBox completely, just use the following command to remove it completely from your system.

On RHEL/CentOS/Fedora
# cd /etc/yum.repos.d/
# rm -rf virtualbox.repo
# yum remove VirtualBox-4.2
On Ubuntu/Linux Mint
# apt-get remove VirtualBox-4.3

You can also Download VirtualBox 4.3 for other LinuxWindows and Mac OS X platforms.

profile

일요일은 짜빠게뤼~ 먹는날~^^

엮인글 :
http://adminplay.com/256874/d19/trackback
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
47 top 화면 내용중 load average와 PRI : priority(우선순위... ADMINPLAY 2013-12-24 5138
46 ModSecurity 로그파일의 사이즈가 너무 큰데 이를 날짜나 ... file ADMINPLAY 2013-12-29 6536
45 ll 명령시 날짜 전체가 보이도록 하기 ADMINPLAY 2014-01-02 5431
44 ZFS 파일에 ACL 설정 ADMINPLAY 2014-02-03 5271
43 ctime, mtime, atime 다른 점 설명 ADMINPLAY 2014-02-07 5953
» VirtualBox 4.3 Released – Install on RHEL/CentOS/Fedor... ADMINPLAY 2014-02-14 7272
41 CentOS 6.5 에서 VirtualBox 4.3 설치후 VirtualBox 구동... ADMINPLAY 2014-02-14 7795
40 Strace - 시스템콜과 신호 추적 file ADMINPLAY 2014-02-25 6044
39 linux daemon (리눅스 데몬 설명) ADMINPLAY 2014-02-26 647921
38 디스크 UUID 변경후 하드부팅정보 수정하기 ADMINPLAY 2014-02-26 21011
37 Linux 마우스 휠 방향 바꾸기 (mac 처럼 마우스 휠 바꾸기) ADMINPLAY 2014-02-27 11842
36 vimrc 설정 file ADMINPLAY 2014-03-01 6083
35 telnet 과 ssh 의 차이점 ADMINPLAY 2014-03-01 6455
34 OS X 10.9 매버릭스의 기본 파일공유 프로토콜은 AFP가 아... ADMINPLAY 2014-03-04 11003
33 OS X 매버릭스가 NAS, 윈도우 PC 등 SMB 장비에 연결하지 ... ADMINPLAY 2014-03-04 6736
32 CentOS 6.X GUI 로그인 화면에서 로그인 했던 계정 리스트... ADMINPLAY 2014-03-05 16650
31 SVN 클라이언트 명령어 ADMINPLAY 2014-03-18 7430
30 python mysql connector 설치 및 SQLAachemy 연동 ADMINPLAY 2014-03-27 7876
29 python과 mysql 연동시 libmysqlclient_r.so.* 에러가 날 ... ADMINPLAY 2014-03-27 5519
28 CentOS 6.5 + Python2.7 + MySQL_Python-1.2.3 ADMINPLAY 2014-03-28 7944

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234