Skip to content

Instantly share code, notes, and snippets.

@lovubuntu
Last active August 30, 2017 12:44
Show Gist options
  • Save lovubuntu/c7aa9504c80b2a3b3a33d64920378d08 to your computer and use it in GitHub Desktop.
Save lovubuntu/c7aa9504c80b2a3b3a33d64920378d08 to your computer and use it in GitHub Desktop.

IOT Engine

  1. Assemble Scala sbt
  2. brew install [email protected]
  3. Install Kibana
  4. Download hadoop 2.6.4
  5. Download Spark 1.6.1
  6. brew install [email protected]
  7. Download Kafka 2.11-0.10.0.0

Configure Steps

  • ElasticSearch vi /usr/local/etc/elasticsearch/elasticsearch.yml (Since this is installed via brew)
      cluster.name: iot-es-cluster
      node.name: iot-es-node-1
      bootstrap.mlockall: true
    
      http.cors.enabled : true
      http.cors.allow-origin : "*"
      http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
      http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
    
  • Install Kibana Plugin
      cd $KB_HOME/bin/kibana
      ./bin/kibana plugin --install elastic/sense
    
  • Setup passwordless localhost ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment