Tuesday, December 18, 2012

How to install Virtualbox on Fedora 17 Server

If you are running a Fedora 17 in server mode (without GUI or Desktop environment such as Gnome or KDE), you still can install and run Virtualbox in headless mode. This means, there is no GUI for the Virtualbox as well. In advanced we can install phpvirtualbox that will help us to manage and admnister the Virtualbox via web browser remotely.

This tutorial is going to show you how to install Virtualbox 4.2 on Fedora 17.

A. Create admin user on Fedora

Open Terminal and paste this command to add new admin group and admin user. Do this command as root.

groupadd admin
useradd -d /home/admin -m -g admin -s /bin/bash admin
passwd admin

 

B. Install required packages for the Virtualbox

yum groupinstall 'Development Tools'
yum groupinstall 'Development Libraries'
yum install SDL kernel-devel kernel-headers dkms

C. Install Virtualbox

Add the Virtualbox repository to Fedora 18

cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
yum install VirtualBox-4.2

At this point, Virtualbox is installed and you can start using it to create new virtual machines via command consose. For list command used in Virtualbox, please visit the following page:

http://www.virtualbox.org/manual/ch08.html

0 comments:

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More