provision.sh 385 B

1234567891011121314151617
  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=1.0.2
  8. export KAFKA_SCALA_VERSION=2.11
  9. export REPOSITORY_ROOT=/vagrant
  10. sh /vagrant/vagrant/install_cluster.sh
  11. sh /vagrant/vagrant/setup_services.sh
  12. sh /vagrant/vagrant/create_topics.sh
  13. sh /vagrant/vagrant/run_java_producer.sh