Skip to content

Instantly share code, notes, and snippets.

@wsargent
Created October 3, 2011 07:44
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wsargent/1258637 to your computer and use it in GitHub Desktop.
Save wsargent/1258637 to your computer and use it in GitHub Desktop.
Building a base vagrant box with RHEL / CentOS ISOs
[Provide gist to the building of base boxes below:]
http://vault.centos.org/4.0/isos/i386/
http://vault.centos.org/5.4/isos/x86_64/
http://vault.centos.org/5.1/isos/x86_64/
Vagrant documentation: http://vagrantup.com/docs/base_boxes.html
Building a base box: https://gist.github.com/354734
[Creating base boxes for RHEL 4 and RHEL 5 - 80 GB dynamic disks]
[Note that there is no easy way to change disk sizes - but you can add more]
Installing EPEL:
sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
Installing ruby as vagrant user:
sudo wget -O /etc/yum.repos.d/aegis.repo http://rpm.aegisco.com/aegisco/el5/i386/ruby-1.8.7.334-2.el5.i386.rpm
sudo yum install ruby-1.8.7.334-2.el5 ruby-devel-1.8.7.334-2.el5 ruby-ri-1.8.7.334-2.el5 ruby-rdoc-1.8.7.334-2.el5 git gcc gcc-c++ automake autoconf make
[Screwing around with /etc/sudoers so it takes the right options]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment