ElasticSearch with Ubuntu

  • Posted on May 7, 2014
  • jonnnyAsked by jonnny

I followed the guide here on how to install elastic search.

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.

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@Andrew SB <br> <br>Thanks Andrew, I seem to have it working. My Putty is showing it’s connected. <br> <br>Jonny

Just run the command as it is. It downloads the key on its own. <br> <br>The “wget” command downloads the key from the url provided. The " | " is called a pipe. It passes the results of the “wget” command to what comes after it, in this case the “apt-key add” command. Try just running: <br> <br><pre> <br>wget -O - <br></pre> <br> <br>You’ll see that it prints to the terminal the contents of the downloaded file. So when you add the second part, those contents are “piped” to the “apt-key add” command. <br> <br>I hope that’s clear. You might want to check out: <br> <br>

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 - | apt-key add <br> <br>With <br> <br>wget -O - | 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> <br> <br>Again apologies if this is ever so simple.