From 07baa176380f9b4951f396c748c8a93be156638a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Holp?= Date: Fri, 24 Apr 2020 10:09:44 +0000 Subject: [PATCH] Update 'pages/students/2016/jan_holp/dp2021/navod.md' --- pages/students/2016/jan_holp/dp2021/navod.md | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pages/students/2016/jan_holp/dp2021/navod.md b/pages/students/2016/jan_holp/dp2021/navod.md index 64df3b4ee..b05069e95 100644 --- a/pages/students/2016/jan_holp/dp2021/navod.md +++ b/pages/students/2016/jan_holp/dp2021/navod.md @@ -7,6 +7,30 @@ adresára sme si stiahli ES, ktorý stačilo rozbaliť a je pripravený na použ inštalácie. Pre spustením je potrebné mať prostredie Java Runtime Environment vo verzii aspoň 1.8 + +Na tejto stránke najdeme najnosvsiu verziu ES +[Návod na instalaciu ES - oficialna stranka](https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html) + +**Zopár prikazov na lepsie fungovanie ES** + +sudo -i service elasticsearch start //start ES +sudo -i service elasticsearch stop //stop ES + +**Ak chceme aby sa ES spustal automaticky po spusteni OS** + +sudo /bin/systemctl daemon-reload +sudo /bin/systemctl enable elasticsearch.service + +potom vieme ES spustat takto + +sudo systemctl start elasticsearch.service +sudo systemctl stop elasticsearch.service + +alebo zistime v akom stave sa nachadza + +sudo service elasticsearch status + + ### Podpora slovenčiny Pre použitie Hunspell token filtru, stačí jeho obsah stiahnuť z webovej stránky a