Skip to content

Instantly share code, notes, and snippets.

@reyjrar
Last active October 22, 2019 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reyjrar/3a61856e468c9cbf1692b31ace6fc683 to your computer and use it in GitHub Desktop.
Save reyjrar/3a61856e468c9cbf1692b31ace6fc683 to your computer and use it in GitHub Desktop.
Install App::ElasticSearch::Utilities
#!/bin/bash
# Install perlbrew
curl -L https://install.perlbrew.pl | bash
# Setup perlbrew
perlbrew install -j8 -n 5.30.0
perlbrew switch 5.30.0
perlbrew install-cpanm
# Install App::ElasticSearch::Utilities
cpanm App::ElasticSearch::Utilities
# Configure
cat << END > ~/.es-utils.yml
---
host: myhostname.corp.company.com
port: 9200
END
@reyjrar
Copy link
Author

reyjrar commented Oct 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment