Seprarate the redhat/debian install script, and added vagrant test file.

Tested under the centos6.5 vagrant box.