Created
February 9, 2013 14:07
-
-
Save jamiecurran/4745340 to your computer and use it in GitHub Desktop.
(OS X) Vagrant & CentOS 6
This file contains hidden or 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
(host) vagrant box add CentOS_6.3_x86_64_minimal https://dl.dropbox.com/u/7225008/Vagrant/CentOS-6.3-x86_64-minimal.box | |
(host) vagrant init | |
(host) vim Vagrantfile | |
(host) config.vm.box = "CentOS_6.3_x86_64_minimal" | |
# Update vm virtualbox guest additions | |
(host) cp /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso . | |
(host) vagrant up | |
(host) vagrant ssh | |
(vm) wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm | |
(vm) sudo rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm | |
(vm) sudo yum install dkms | |
(vm) mkdir vbox | |
(vm) sudo mount -o loop /vagrant/VBoxGuestAdditions.iso vbox/ | |
(vm) sudo vbox/VBoxLinuxAdditions.run | |
(vm) exit | |
(host) vargrant reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment