network/zabbix_server: Updated for version 4.0.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
zux 2018-11-07 08:30:20 +00:00 committed by Willy Sudiarto Raharjo
parent 510422dcd6
commit 1a36cc9a10
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 15 additions and 15 deletions

View File

@ -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)

View File

@ -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

View File

@ -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"