Alien::ElasticSearch - Downloads, builds and installs ElasticSearch from github
Version 0.10
# install latest version from Git to $install_dir $install_dir = Alien::ElasticSearch->install( dir => '/path/to/elasticsearch', version => '0.6.0', # released version | tag => 'master', # or a git tag or sha1 plugins => ['attachments'], user => 'elasticsearch', # unix/linux only group => 'users', # unix/linux only temp => 1 | 0 # do installation, but don't store config ); # upgrade existing installation $install_dir = Alien::ElasticSearch->upgrade( tag => 'master' # accepts same args as install() ); # get/set current install dir $install_dir = Alien::ElasticSearch->install_dir($install_dir); # get/set current version $version = Alien::ElasticSearch->version($version); # get/set current plugins $plugins = Alien::ElasticSearch->plugins(\@plugin_names); # get/set current user $user = Alien::ElasticSearch->user($user); # get/set current group $group = Alien::ElasticSearch->group($group);
This module handles downloading ElasticSearch from github, building, and installing it.
It then writes a config file to remember where it was installed.
It also adds a script called install_elasticsearch.pl into your perl bin directory, which can be called as follows:
install_elasticsearch.pl
install_elasticsearch.pl # upgrade existing installation install_elasticsearch.pl --dir /path # install to /path
To see all available options, try:
install_elasticsearch.pl --help
Java version 6 or above
ElasticSearch
Clinton Gormley, <drtech at cpan.org>
<drtech at cpan.org>
Please report any bugs or feature requests to bug-alien-elasticsearch at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Alien-ElasticSearch. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-alien-elasticsearch at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Alien::ElasticSearch
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Alien-ElasticSearch
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Alien-ElasticSearch
CPAN Ratings
http://cpanratings.perl.org/d/Alien-ElasticSearch
Search CPAN
http://search.cpan.org/dist/Alien-ElasticSearch/
Copyright 2010 Clinton Gormley.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Alien::ElasticSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::ElasticSearch
CPAN shell
perl -MCPAN -e shell install Alien::ElasticSearch
For more information on module installation, please visit the detailed CPAN module installation guide.