Update debian.sh
This commit is contained in:
parent
269d0dc57e
commit
d32dd19dd0
|
|
@ -24,7 +24,8 @@ Install_App()
|
|||
wget -O $serverPath/source/zabbix/${ZABBIX_NAME} https://repo.zabbix.com/zabbix/7.0/debian/pool/main/z/zabbix-release/${ZABBIX_NAME}
|
||||
fi
|
||||
|
||||
dpkg --configure -a
|
||||
# apt-get -f install
|
||||
# dpkg --configure -a
|
||||
|
||||
cd $serverPath/source/zabbix && dpkg -i ${ZABBIX_NAME}
|
||||
apt update -y
|
||||
|
|
@ -38,7 +39,8 @@ Uninstall_App()
|
|||
apt remove -y zabbix-server-mysql zabbix-frontend-php zabbix-sql-scripts zabbix-get
|
||||
apt remove -y zabbix-agent
|
||||
rm -rf /etc/zabbix
|
||||
dpkg --configure -a
|
||||
|
||||
# dpkg --configure -a
|
||||
echo "卸载成功"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue