Skip to content

Instantly share code, notes, and snippets.

@kosho
Last active August 30, 2017 07:32
Show Gist options
  • Save kosho/d15fb278a931f31707645baf2de5248a to your computer and use it in GitHub Desktop.
Save kosho/d15fb278a931f31707645baf2de5248a to your computer and use it in GitHub Desktop.
arch=$(echo `uname`-`uname -m` | tr '[:upper:]' '[:lower:]')
$1/elasticsearch-$1/bin/elasticsearch --daemonize --pidfile /tmp/es.pid -E path.data=$PWD/data-6 -E path.logs=$PWD/logs -E script.painless.regex.enabled=true -E path.repo=$PWD/snapshots -E cluster.indices.close.enable=true
$1//kibana-$1-$arch/bin/kibana serve --log-file $PWD/logs/kibana.log &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment