4 ms·
As mrj and kyllo said, Vagrant. It takes care of the VM setup (including memory and disk allocations, shared folders, and basic access), and provides hooks for
by falcolas 12y ago
As mrj and kyllo said, Vagrant.
It takes care of the VM setup (including memory and disk allocations, shared folders, and basic access), and provides hooks for scripts to set up the rest.
In my case, I favor Ansible for setting up the rest of the VM, as opposed to shell scripts. It automates package installs, configuration changes, and managing services. Once these two bits are configured properly (about a day's task, for a moderately complex system) Vagrant can re-build a development VM from scratch in about 10 minutes.
Best part? Once you have the CM scripts nailed down, you can use them to build your staging and production environments in the same way your local VM was built.
- eurekin 12y agoSeems it might help in my current case... On my local dev machine I've replicated a project environment (Jenkins, Sonar, Artifactory, SCMManager). It was a huge boost for some tasks and I'm considering moving it out of my machine for others to use as well. If I do so, than I would probably configure it all manually, again from scratch. Do You recommend making it a Vagrant recipe this time? Are there any similar ones?