mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update ubuntu.sh
This commit is contained in:
@@ -36,13 +36,15 @@ Install_App()
|
|||||||
cd $serverPath/source/zabbix && dpkg -i ${ZABBIX_NAME}
|
cd $serverPath/source/zabbix && dpkg -i ${ZABBIX_NAME}
|
||||||
apt update -y
|
apt update -y
|
||||||
|
|
||||||
apt install -y zabbix-server-mysql zabbix-frontend-php zabbix-sql-scripts zabbix-get
|
apt install -y zabbix-server-mysql
|
||||||
|
apt install -y zabbix-frontend-php zabbix-sql-scripts
|
||||||
apt install -y zabbix-agent
|
apt install -y zabbix-agent
|
||||||
}
|
}
|
||||||
|
|
||||||
Uninstall_App()
|
Uninstall_App()
|
||||||
{
|
{
|
||||||
apt remove -y zabbix-server-mysql zabbix-frontend-php zabbix-sql-scripts zabbix-get
|
apt remove -y zabbix-server-mysql
|
||||||
|
apt remove -y zabbix-frontend-php zabbix-sql-scripts
|
||||||
apt remove -y zabbix-agent
|
apt remove -y zabbix-agent
|
||||||
rm -rf /etc/zabbix
|
rm -rf /etc/zabbix
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user