Download Virtualbox.
Get the newest version or an old build
For example:
http://download.virtualbox.org/virtualbox/4.1.6/virtualbox-4.1_4.1.6-74713~Ubuntu~oneiric_amd64.deb
then
sudo dpkg -i virtualbox-4.1_4.1.6-74713~Ubuntu~oneiric_amd64.deb
Install apt deps
NOTE: These are the listings for 11.10. To see what RVM requires of you, be sure to run rvm requirements
. That will give you the definitive listing.
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev \
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 \
libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev \
ncurses-dev automake libtool bison subversion
Install rvm.
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
source ~/.bash_profile
rvm install 1.9.2
rvm use 1.9.2 --default
install nfs
apt-get install nfs-kernel-server
install openssh
sudo apt-get install openssh-server