diff options
author | zux <zux@pie-dabas.net> | 2018-11-07 08:30:20 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:55 +0700 |
commit | 1a36cc9a1002c93038d561669079facb32041e90 (patch) | |
tree | 1507d9f564f6e5ad58f3b67172ab3e39ae4334a7 /network/zabbix_server/README.SLACKWARE | |
parent | 510422dcd633f480f1532124e0d097e3bbbb5d0e (diff) |
network/zabbix_server: Updated for version 4.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/zabbix_server/README.SLACKWARE')
-rw-r--r-- | network/zabbix_server/README.SLACKWARE | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/network/zabbix_server/README.SLACKWARE b/network/zabbix_server/README.SLACKWARE index 6bb198e14b19b..71d5cee7381e0 100644 --- a/network/zabbix_server/README.SLACKWARE +++ b/network/zabbix_server/README.SLACKWARE @@ -6,13 +6,14 @@ installation of zabbix_server on Slackware. zabbix-java has been moved to a separate package - zabbix-java-gateway -You will need to have a working installation of httpd and MySQL (*) for -zabbix_server to run. MySQL server does not have to be on the same box as your +You will need to have a working installation of httpd and MariaDB (*) for +zabbix_server to run. MariaDB server does not have to be on the same box as zabbix_server, but they need to be able to communicate and you will need at -least the MySQL client on the box that will run zabbix_server. +least the MariaDB client on the box that will run zabbix_server. -(*) zabbix can work with MySQL, Oracle, PostgreSQL and SQLite databases, - but these instructions are for MySQL, as it is included with Slackware. +(*) zabbix can work with MySQL and its forks, Oracle, PostgreSQL and IBM DB2 +databases, but these instructions are for MariaDB, as it is included with +Slackware. 0) Before running the SlackBuild script --------------------------------------- @@ -38,7 +39,7 @@ running: 1.1) Create initial database -On your MySQL server, connect with full privileges: +On your MariaDB server, connect with full privileges: # mysql -u <your_user> -p<your_password> @@ -50,7 +51,7 @@ Create the zabbix database & user: mysql> flush privileges; mysql> quit -(note: if your MySQL server and zabbix server are the same, use "localhost" +(note: if your MariaDB server and zabbix server are the same, use "localhost" for <your_zabbix_server>) On your zabbix server, connect to the new database: @@ -58,7 +59,7 @@ On your zabbix server, connect to the new database: # cd /usr/share/zabbix_server/database/mysql # mysql -h <your_mysql_server> -u zabbix -p<your_password> zabbix -In MySQL, create the schema & add initial data: +In MariaDB, create the schema & add initial data: mysql> source schema.sql; mysql> source data.sql; @@ -82,7 +83,7 @@ changes to have effect: 1.3) Configure httpd -zabbix requires php enabled in /etc/httpd/httpd/conf +zabbix requires php enabled in /etc/httpd/httpd.conf uncomment the line: Include /etc/httpd/mod_php.conf @@ -97,7 +98,7 @@ A standard configuration file is installed as /etc/zabbix/zabbix_server.conf You will need to change at least the following lines: - DBHost=<your_mysql_server> (Change if MySQL is not on localhost) + DBHost=<your_mariadb_server> (Change if MariaDB is not on localhost) DBUser=zabbix ("root" doesn't sound like a good idea) DBPassword=<your_password> (Change as defined above) |