From ed1464e1c9b1fdc50928d2756cecfbb544db49eb Mon Sep 17 00:00:00 2001 From: Nikolay Stanchev <ns17@it-innovation.soton.ac.uk> Date: Wed, 27 Jun 2018 16:29:47 +0100 Subject: [PATCH] Fixed broken installation script --- scripts/clmc-service/install-clmc-service.sh | 4 ++-- scripts/clmc-service/install-tick-stack.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/clmc-service/install-clmc-service.sh b/scripts/clmc-service/install-clmc-service.sh index e0df440..3c6bc44 100755 --- a/scripts/clmc-service/install-clmc-service.sh +++ b/scripts/clmc-service/install-clmc-service.sh @@ -21,8 +21,8 @@ sudo -u postgres createdb whoamidb sudo -u postgres bash -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE \"whoamidb\" to clmc;\"" # install virtualenvwrapper to manage python environments - and check -echo "----> Installing Python3 and Pip3" -apt-get install -y python3 python3-pip wget curl +echo "----> Installing Python3, Pip3 and curl" +apt-get install -y python3 python3-pip curl update-alternatives --install /usr/bin/python python /usr/bin/python3 10 echo "----> Installing virtualenv and wrapper" diff --git a/scripts/clmc-service/install-tick-stack.sh b/scripts/clmc-service/install-tick-stack.sh index d90405e..d2f639d 100755 --- a/scripts/clmc-service/install-tick-stack.sh +++ b/scripts/clmc-service/install-tick-stack.sh @@ -11,6 +11,10 @@ KAPACITOR_CHECKSUM=eea9b215f241906570eafe3857e1d4c5 CHRONOGRAF_VERSION=1.4.4.2 CHRONOGRAF_CHECKSUM=eea6915aa6db8f134fcd3b095e863b773bfb3a16a26e346dd65904a07df97963 +apt-get update +echo "----> Installing wget" +apt-get install -y wget + # install influx echo "----> Installing InfluxDB" wget https://dl.influxdata.com/influxdb/releases/influxdb_${INFLUX_VERSION}_amd64.deb 2> /dev/null -- GitLab