From d966685c5fcdfd7aa7a63f157c6b6068275057bc Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Fri, 29 Mar 2019 16:23:14 +0100 Subject: [PATCH] Install --- install_server.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 install_server.sh diff --git a/install_server.sh b/install_server.sh old mode 100644 new mode 100755 index 57b7c69..af87cd4 --- a/install_server.sh +++ b/install_server.sh @@ -1,11 +1,13 @@ -sudo apt install munin-node +sudo apt-get update + +sudo apt-get install -y munin-node sudo cp installation/rpi-internal-temp /usr/share/munin/plugins sudo ln -sf /usr/share/munin/plugins/rpi-internal-temp /etc/munin/plugins/rpi-internal-temp sudo chmod a+x /usr/share/munin/plugins/rpi-internal-temp sudo echo "allow ^192\\.168\\.0\\.155\$" >> /etc/munin/munin-node.conf sudo service munin-node restart -sudo apt install supervisor +sudo apt-get install -y supervisor # Added chown=pi:pi sudo cp installation/supervisord.conf /etc/supervisor/supervisord.conf