From 7b4cdd1777786a6544a863840147bda189c26029 Mon Sep 17 00:00:00 2001 From: esebese Date: Wed, 10 Jan 2018 20:09:46 +0300 Subject: [PATCH] Update helk_linux_deb_install.sh While installing the HELK from local bash script, process did not go further in "Creating Kibana index-patterns, dashboards and visualizations automatically.." step. After some debugging, the problem detected in helk_kibana_setup.sh script which uses "curl". "curl" is not installed by default in 16.04.2 Ubuntu. As a conclusion, installation of "curl" was added to this script. --- scripts/helk_linux_deb_install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/helk_linux_deb_install.sh b/scripts/helk_linux_deb_install.sh index 90841a2..0326d89 100755 --- a/scripts/helk_linux_deb_install.sh +++ b/scripts/helk_linux_deb_install.sh @@ -50,6 +50,13 @@ ERROR=$? if [ $ERROR -ne 0 ]; then echoerror "Could not install openjdk-8-jre-headless (Error Code: $ERROR)." fi + +echo "[HELK-BASH-INSTALLATION-INFO] Installing curl.." +apt-get install -y curl >> $LOGFILE 2>&1 +ERROR=$? + if [ $ERROR -ne 0 ]; then + echoerror "Could not install curl (Error Code: $ERROR)." + fi # Elastic signs all of their packages with their own Elastic PGP signing key. echo "[HELK-BASH-INSTALLATION-INFO] Downloading and installing (writing to a file) the public signing key to the host.." @@ -358,4 +365,4 @@ export PATH=$SPARK_HOME/bin:$PATH # Adding Jupyter Notebook Integration export PYSPARK_DRIVER_PYTHON=/usr/local/bin/jupyter export PYSPARK_DRIVER_PYTHON_OPTS="notebook --NotebookApp.open_browser=False --NotebookApp.ip='*' --NotebookApp.port=8880 --allow-root" -export PYSPARK_PYTHON=/usr/bin/python \ No newline at end of file +export PYSPARK_PYTHON=/usr/bin/python