I'm trying to learn how to use Vagrant with the idea of setting up a development environment that should be exactly (if possible) to an already existing production server.
The question here is: what is the easiest way to accomplish that?
I'm a developer and I have full access to the production server, but it's not managed by me. I just know my way around the server a bit to set up websites, work with cPanel, some WHM, etc...
The server runs CentOS 6.5 with Apache, MySQL and PHP.
Is there a way I can "export" that server's configuration with all the applications it has, modules, versions, etc... and use that to create a Vagrant Box? Or is it a matter of manually analyzing everything and writing it down?
If the way to go is the second option, can I get any advice on how to do that without missing anything?