I will show how to create a headless CentOS minimal installation “box” using Vagrant and VirtualBox. Similar results can be accomplished without Vagrant, but I find that with a little extra work, Vagrant adds enough value to make the effort worth it. According to their website:
Vagrant is a tool for building complete development environments. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development/production parity, and makes the “works on my machine” excuse a relic of the past.
Here’s what you’ll need (version used in this tutorial):
- Latest version of VirtualBox (4.2.18)
- CentOS Linux operating system–32-bit minimal installation ISO (6.4)
- Vagrant (1.3.3)
- PuTTY (0.62) or Git (1.8.4)
Keep in mind, while I did this in Windows 7, the same can be accomplished in OSX and Linux. So let’s get started and see how it’s done. Click here for the tutorial.
Note: If all you want is the Vagrant box you can download it here.