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.
keyword-vs-text-changes
esebese 2018-01-10 20:09:46 +03:00 committed by GitHub
parent aaf2a531e9
commit 7b4cdd1777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -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
export PYSPARK_PYTHON=/usr/bin/python