provision.sh 314 B

123456789101112131415
  1. #!/bin/sh
  2. set -ex
  3. apt-get update
  4. yes | apt-get install default-jre
  5. export KAFKA_INSTALL_ROOT=/opt
  6. export KAFKA_HOSTNAME=192.168.100.67
  7. export KAFKA_VERSION=0.8.2.1
  8. export REPOSITORY_ROOT=/vagrant
  9. sh /vagrant/vagrant/install_cluster.sh
  10. sh /vagrant/vagrant/setup_services.sh
  11. sh /vagrant/vagrant/create_topics.sh