Zabbix Documentation 4.0 (current)| In development:5.0 (devel)| Unsupported:

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:installation:install_from_packages:rhel_centos [2019/12/21 14:44]
manual:installation:install_from_packages:rhel_centos [2020/01/29 14:43] (current)
martins-v explicitly stating zabbix user in commands
Line 65: Line 65:
 With PostgreSQL: With PostgreSQL:
-  # zcat /​usr/​share/​doc/​zabbix-server-pgsql*/​create.sql.gz | sudo -u <​username> ​psql zabbix+  # zcat /​usr/​share/​doc/​zabbix-server-pgsql*/​create.sql.gz | sudo -u zabbix ​psql zabbix
 For proxy, import initial schema: For proxy, import initial schema:
Line 73: Line 73:
 For proxy with PostgreSQL (or SQLite): For proxy with PostgreSQL (or SQLite):
-  # zcat /​usr/​share/​doc/​zabbix-proxy-pgsql*/​schema.sql.gz | sudo -u <​username> ​psql zabbix+  # zcat /​usr/​share/​doc/​zabbix-proxy-pgsql*/​schema.sql.gz | sudo -u zabbix ​psql zabbix
   # zcat /​usr/​share/​doc/​zabbix-proxy-sqlite3*/​schema.sql.gz | sqlite3 zabbix.db   # zcat /​usr/​share/​doc/​zabbix-proxy-sqlite3*/​schema.sql.gz | sqlite3 zabbix.db