From e9899da0d4d63e215dd54dd903c8b820561bc34b Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 4 Apr 2018 16:37:45 +0200 Subject: [PATCH] updated elasticsearch installation insctructions --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e7e9b05b3..6571630af 100644 --- a/README.md +++ b/README.md @@ -493,14 +493,17 @@ In FabManager, it is used for the admin's statistics module and to perform searc For a more detailed guide concerning the ElasticSearch installation, please check the [official documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html) 1. Install the OpenJDK's Java Runtime Environment (JRE). ElasticSearch recommends that you install Java 8 update 20 or later. - Please check that your distribution's version meet this requirement. + Please check that your distribution's version meet this requirement. + With Ubuntu 14.04, see https://askubuntu.com/a/944260, otherwise use the following command ```bash sudo apt-get install openjdk-8-jre ``` -1. Create the file `/etc/apt/sources.list.d/elasticsearch-1.x.list`, and append it the following line: - `deb http://packages.elastic.co/elasticsearch/1.x/debian stable main` +1. Create the repository definition file + ```bash + echo "deb http://packages.elastic.co/elasticsearch/1.7/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-1.7.list + ``` 2. Import the repository signing key, and update the package lists