Created
October 3, 2011 07:44
-
-
Save wsargent/1258637 to your computer and use it in GitHub Desktop.
Building a base vagrant box with RHEL / CentOS ISOs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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