File: zabbix-server-sqlite3.README.Debian

package info (click to toggle)
zabbix 1%3A3.0.7%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 60,008 kB
  • ctags: 38,245
  • sloc: php: 125,527; ansic: 120,253; sql: 40,319; sh: 5,620; makefile: 1,138; java: 957; cpp: 211; perl: 41; xml: 29
file content (19 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Installing the database
-----------------------

The Zabbix server needs an SQL database to run.
The following command(s) can be used to initialize SQLite3 backend:

  # zcat /usr/share/zabbix-server-sqlite3/{schema,images,data}.sql.gz \
    | sqlite3 /var/lib/zabbix/zabbix.sqlite3
  # chown -R zabbix:www-data /var/lib/zabbix
  # chmod -R g+w /var/lib/zabbix

Remember to check if DBname configuration parameter is set as follows in
/etc/zabbix/zabbix_server.conf

  DBName=/var/lib/zabbix/zabbix.sqlite3

See also:
http://www.zabbix.com/documentation/2.0/manual/appendix/install/db_scripts