title: Set up Vagrant box exactly like production server
body: <p>I'm trying to learn how to use Vagrant with the idea of setting up a development environment that should be <strong>exactly</strong> (if possible) to an already existing production server.</p>
  
  <p>The question here is: what is the easiest way to accomplish that?</p>
  
  <p>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...</p>
  
  <p>The server runs CentOS 6.5 with Apache, MySQL and PHP.</p>
  
  <p>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?</p>
  
  <p>If the way to go is the second option, can I get any advice on how to do that without missing anything?</p>