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 | |
parent | 510422dcd633f480f1532124e0d097e3bbbb5d0e (diff) | |
download | slackbuilds-1a36cc9a1002c93038d561669079facb32041e90.tar.gz |
network/zabbix_server: Updated for version 4.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | network/zabbix_server/README.SLACKWARE | 21 | ||||
-rw-r--r-- | network/zabbix_server/zabbix_server.SlackBuild | 3 | ||||
-rw-r--r-- | network/zabbix_server/zabbix_server.info | 6 |
3 files changed, 15 insertions, 15 deletions
diff --git a/network/zabbix_server/README.SLACKWARE b/network/zabbix_server/README.SLACKWARE index 6bb198e14b..71d5cee738 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) diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild index 9f519d297c..aa3d3e919b 100644 --- a/network/zabbix_server/zabbix_server.SlackBuild +++ b/network/zabbix_server/zabbix_server.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=zabbix_server -VERSION=${VERSION:-3.4.14} +VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -129,7 +129,6 @@ chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGSHORT # Database scripts mkdir -p $PKG/usr/share/$PRGNAM/database/mysql cp -a database/mysql $PKG/usr/share/$PRGNAM/database/ -cp -a upgrades/dbpatches $PKG/usr/share/$PRGNAM/upgrades/ # Initial log file mkdir -p $PKG/var/log/$PRGSHORT diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info index 625aaf09e7..e74a9b9522 100644 --- a/network/zabbix_server/zabbix_server.info +++ b/network/zabbix_server/zabbix_server.info @@ -1,8 +1,8 @@ PRGNAM="zabbix_server" -VERSION="3.4.14" +VERSION="4.0.1" HOMEPAGE="https://www.zabbix.com" -DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-3.4.14.tar.gz" -MD5SUM="16cdacf7198538c0456523d75bb149c7" +DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-4.0.1.tar.gz" +MD5SUM="360a3325389bba50e051080a7ae27eb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="iksemel" |