forked from bashclub/zamba-lxc-toolbox
Activate all supported languages in zabbix
This commit is contained in:
parent
a24c78edc2
commit
42d5c05079
@ -161,6 +161,8 @@ psql -c "CREATE DATABASE ${ZABBIX_DB_NAME} ENCODING UTF8 TEMPLATE template0 OWNE
|
|||||||
echo "Postgres User ${ZABBIX_DB_USR} and database ${ZABBIX_DB_NAME} created."
|
echo "Postgres User ${ZABBIX_DB_USR} and database ${ZABBIX_DB_NAME} created."
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
sed -i "s/false/true/g" /usr/share/zabbix/include/locales.inc.php
|
||||||
|
|
||||||
zcat /usr/share/doc/zabbix-sql-scripts/postgresql/server.sql.gz | sudo -u zabbix psql zabbix
|
zcat /usr/share/doc/zabbix-sql-scripts/postgresql/server.sql.gz | sudo -u zabbix psql zabbix
|
||||||
|
|
||||||
echo "DBPassword=${ZABBIX_DB_PWD}" >> /etc/zabbix/zabbix_server.conf
|
echo "DBPassword=${ZABBIX_DB_PWD}" >> /etc/zabbix/zabbix_server.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user