Summary installing ElasticSearch

Version 2 - Updated on 24 Oct 2017 at 11:29PM by Joachim Hansen

Description


Java JDK:

  • Openjdk (from command: java-version)
    • Version 1.8.0_131
    • Runetime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
    • 64-Bit Server VM (build 25.131-b11, mixed mode)
  • Installing ElasticSearch (requrires JAVA 8 or later... JDK includes JDK and JRE)
    • https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html#deb-repo
    • wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add 
    • Command above returned: "OK"
    • sudo apt-get install apt-transport-https

    • Command above went fine
      • apt-ransport-https is already the newest version (1.2.24) - include this in the thesis
      • The following packages were automatically installed and are no longer required:
        linux-headers-4.10.0-33, linux-headers-4.10.0-33-generic linux-image-4.10.0-33-generic linix-image-extra-4.10.0-33-generic

        use 'sudo apt remove' to remove them

echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -/etc/apt/sources.list.d/elastic-5.x.list