# Base install source ./proxy.sh sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers cd /etc/yum.repos.d wget https://public-yum.oracle.com/public-yum-ol6.repo yum -y update cd /tmp wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm rm -f /tmp/epel-release-6-8.noarch.rpm # Not flexible to switch between direct Internet access and behind firewall # --httpproxy HOST --httpport PORT # rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm echo "UseDNS no" >> /etc/ssh/sshd_config sed -i "s/^HOSTNAME=.*/HOSTNAME=oracle.vagrantup.com/" /etc/sysconfig/network yum -y install gcc make gcc-c++ kernel-devel-`uname -r` \ kernel-uek-devel-`uname -r` zlib-devel openssl-devel \ readline-devel sqlite-devel perl wget curl bzip2 dkms