Oracle Linux

Setup Yum repository
Oracle Linux 6
 * Reference - http://public-yum.oracle.com/


 * 1) cd /etc/yum.repos.d
 * 2) wget http://public-yum.oracle.com/public-yum-ol6.repo

export http_proxy=proxy:portnum
 * Configure to get through proxy

For example, export http_proxy=http://wwwproxygate.com:8888


 * Install package, for example, gcc.
 * 1) yum install gcc


 * Yum to download only
 * Install download-only plugin first. This will give additional options to yum command.
 * 1) yum install yum-downloadonly


 * Download the package
 * 1) yum update gcc -y --downloadonly --downloaddir=/tmp

Install Guest Addition

 * Install all dependencies. You can find the dependencies easily by trying to install the Guest Addition.
 * 1) yum install kernel-uek-devel
 * 2) cd /media/VBOXADDITIONS_4.1.14_77440
 * 3) sh ./VBoxLinuxAdditions.run

Look for the version you're interested in http://download.virtualbox.org/virtualbox/ wget http://download.virtualbox.org/virtualbox/4.2.6/VBoxGuestAdditions_4.2.6.iso mount VBoxGuestAdditions_4.2.6.iso -o loop /mnt cd /mnt ./VBoxLinuxAdditions.run
 * Download directly.

Shared folder
or with options or
 * Create a shared folder from VBox first, for example, named "downloads".
 * 1) cd /media
 * 2) mkdir downloads
 * 3) mount -t vboxsf downloads downloads
 * 1) mount -t vboxsf -o umask=0022,gid=500,uid=500 downloads downloads
 * 1) mount.vboxsf downloads downloads


 * Reference http://www.oraclenerd.com/2011/03/virtualbox-and-shared-folders.html