mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 03:30:12 +01:00
commit
0c91d48778
@ -45,7 +45,7 @@ ZABBIX_DB_PWD="$(random_password)"
|
|||||||
ZABBIX_VERSION=7.0 #zabbix 7 beta
|
ZABBIX_VERSION=7.0 #zabbix 7 beta
|
||||||
POSTGRES_VERSION=16 #postgres repo, latest release (2024-05-13)
|
POSTGRES_VERSION=16 #postgres repo, latest release (2024-05-13)
|
||||||
PHP_VERSION=8.2 # debian 12 default
|
PHP_VERSION=8.2 # debian 12 default
|
||||||
TS_VERSION=2.14.2 # currently latest by zabbix supported version of timescaledb (2024-05-13)
|
TS_VERSION=2.16.1 # currently latest by zabbix supported version of timescaledb (2024-05-13)
|
||||||
|
|
||||||
# Sets the minimum amount of RAM the service needs for operation
|
# Sets the minimum amount of RAM the service needs for operation
|
||||||
LXC_MEM_MIN=4096
|
LXC_MEM_MIN=4096
|
||||||
|
@ -18,7 +18,7 @@ apt_repo "timescaledb" "https://packagecloud.io/timescale/timescaledb/gpgkey" "h
|
|||||||
apt update
|
apt update
|
||||||
|
|
||||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq dist-upgrade
|
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq dist-upgrade
|
||||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install --no-install-recommends postgresql-$POSTGRES_VERSION timescaledb-2-oss-$TS_VERSION-postgresql-$POSTGRES_VERSION postgresql-client timescaledb-tools nginx php$PHP_VERSION-pgsql php$PHP_VERSION-fpm zabbix-server-pgsql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent2 zabbix-agent2-plugin-* ssl-cert
|
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install --no-install-recommends postgresql-$POSTGRES_VERSION timescaledb-2-oss-$TS_VERSION-postgresql-$POSTGRES_VERSION postgresql-client-$POSTGRES_VERSION timescaledb-tools nginx php$PHP_VERSION-pgsql php$PHP_VERSION-fpm zabbix-server-pgsql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent2 zabbix-agent2-plugin-* ssl-cert
|
||||||
|
|
||||||
unlink /etc/nginx/sites-enabled/default
|
unlink /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
@ -233,4 +233,4 @@ generate_dhparam
|
|||||||
|
|
||||||
systemctl enable nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2
|
systemctl enable nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2
|
||||||
|
|
||||||
systemctl restart nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2 > /dev/null 2>&1
|
systemctl restart nginx php$PHP_VERSION-fpm zabbix-server zabbix-agent2 > /dev/null 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user