Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions runs/install_packages.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
echo "install required packages with 'apt-get'..."
sudo apt-get -q update
sudo apt-get -q -y install \
vim bc jq socat sshpass sudo ssl-cert mmc-utils \
apache2 libapache2-mod-php \
php php-gd php-curl php-xml php-json \
git \
mosquitto mosquitto-clients \
python3-pip \
xserver-xorg x11-xserver-utils openbox-lxde-session lightdm lightdm-autologin-greeter accountsservice \
sudo apt-get -q update
sudo apt-get -q -y install \
vim bc jq socat sshpass sudo ssl-cert mmc-utils \
apache2 libapache2-mod-php \
php php-gd php-curl php-xml php-json \
git \
mosquitto mosquitto-clients \
python3-pip \
xserver-xorg x11-xserver-utils openbox-lxde-session lightdm lightdm-autologin-greeter accountsservice \
chromium chromium-l10n
echo "done"
11 changes: 5 additions & 6 deletions runs/install_zabbix.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#!/bin/bash
echo "check if zabbix agent is already installed..."
if [ -z "$(dpkg -l | grep zabbix-agent2)" ]
then
echo "start download..."
if [ -z "$(dpkg -l | grep zabbix-agent2)" ]; then
echo "start download..."
wget -P /tmp/ https://repo.zabbix.com/zabbix/6.2/raspbian/pool/main/z/zabbix-release/zabbix-release_6.2-3%2Bdebian11_all.deb
sudo dpkg -i /tmp/zabbix-release_6.2-3+debian11_all.deb
echo "install zabbix."
sudo apt-get -q update
sudo apt install zabbix-agent2 zabbix-agent2-plugin-*
sudo apt-get install zabbix-agent2 zabbix-agent2-plugin-*
sudo rm /tmp/zabbix-release_6.2-3+debian11_all.deb
else
echo "nothing to do."
echo "nothing to do."
fi
echo "done"
echo "done"