I followed the guide here on how to install elastic search. https://www.digitalocean.com/community/articles/how-to-install-elasticsearch-on-an-ubuntu-vps#tutorial-comment-submit
It mentions that it’s outdated though for installing the deb packages. What would be the steps needed to install elasticsearch through their repository. I wasn’t entirely sure and obviously don’ want to mess it up.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
ElasticSearch now provides a Debian repository that makes it much easier to install it and keep it updated. See: <br> <br>http://www.elasticsearch.org/blog/apt-and-yum-repositories/ <br> <br>The basic install instructions are to install their key with: <br> <br><pre> <br>wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add <br></pre> <br> <br>Then, create a new file “/etc/apt/sources.list.d/elasticsearch.list” containing: <br> <br><pre> <br>deb http://packages.elasticsearch.org/elasticsearch/1.0/debian stable main <br></pre> <br> <br>Then run: <br> <br><pre> <br>apt-get update <br>apt-get install elasticsearch <br></pre>
Thanks Andrew, where you say “to install their key with:” Do I need to replace the first command where it says <br> <br>wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add <br> <br>With <br> <br>wget -O - http://packages.elasticsearch.org/ACTUAL-KEY-I-DOWNLOADED | apt-key add <br> <br>? <br> <br>If so do I need to include the initial “-----BEGIN PGP PUBLIC KEY BLOCK----- <br>Version: GnuPG v2.0.14 (GNU/Linux… rest of key” <br> <br>Like, literally copy the contents of the whole public key you can download here: <br> <br>http://packages.elasticsearch.org/GPG-KEY-elasticsearch <br> <br>Again apologies if this is ever so simple.
@Andrew SB <br> <br>Thanks Andrew, I seem to have it working. My Putty is showing it’s connected. <br> <br>Jonny
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.