add install script

Test Plan: tested with elasticsearch plugin

Reviewers: jack

Reviewed By: jack

Subscribers: Diffs_emails

Differential Revision: http://phabricator.signalfuse.com/D1937