September 25, 2008
Posted by roadburn
Setting up Ubuntu with minimal GUI and Sun xVM VirtualBox
Being a linux newbie, took a while to figure out what to do. So I’m documenting the steps, might be useful for anyone else setting up a ubuntu virtualbox.
I’m basically setting up a Ubuntu host to run windows 2003 virtual machines.
Steps to get it all up and running
- Install Ubuntu Server
- Install minimal GUI (xorg, xterm, openbox)
- Install virtualbox
- Create windows virtual machine
Install Ubuntu Server
- Download the Ubuntu Server Editition from http://www.ubuntu.com/getubuntu/download
- Burn the downloaded image onto a CD using something like Nero
- Pop the CD into your soon to be Ubuntu server
- Boot from the disc and select the default/appropriate options to install Ubuntu
Install minimal GUI
- in the command line type
sudo apt-get install xorg xterm openbox - to run the GUI type
startx
Install xVM Virtualbox
- Install xVM Virtualbox
- Go to Sun’s website http://dlc.sun.com/virtualbox/vboxdownload.html
- Get the link of the ubuntu version of virtualbox and download it and install it in xterm
eg.
wget http://dlc.sun.com/virtualbox/2.0.2/virtualbox-2.0_2.0.2-36488_Ubuntu_hardy_i386.deb -O virtualbox-2.0_2.0.2-36488_Ubuntu_hardy_i386.deb - sudo dpkg -i virtualbox-2.0_2.0.2-36488_Ubuntu_hardy_i386.deb
- sudo apt-get -f upgrade
- sudo usermod -a -G vboxusers vboxuser
Create Windows Virtual Machine
- in xterm, type
virtualbox - Click on “New” button and just follow the instructions to install your virtual machine! :)