Install
This commit is contained in:
parent
357008c377
commit
d966685c5f
1 changed files with 4 additions and 2 deletions
6
install_server.sh
Normal file → Executable file
6
install_server.sh
Normal file → Executable file
|
@ -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 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 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 chmod a+x /usr/share/munin/plugins/rpi-internal-temp
|
||||||
sudo echo "allow ^192\\.168\\.0\\.155\$" >> /etc/munin/munin-node.conf
|
sudo echo "allow ^192\\.168\\.0\\.155\$" >> /etc/munin/munin-node.conf
|
||||||
sudo service munin-node restart
|
sudo service munin-node restart
|
||||||
|
|
||||||
sudo apt install supervisor
|
sudo apt-get install -y supervisor
|
||||||
|
|
||||||
# Added chown=pi:pi
|
# Added chown=pi:pi
|
||||||
sudo cp installation/supervisord.conf /etc/supervisor/supervisord.conf
|
sudo cp installation/supervisord.conf /etc/supervisor/supervisord.conf
|
||||||
|
|
Loading…
Reference in a new issue