`
yanwenhan
  • 浏览: 115288 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Install zabbix Server

阅读更多

-------------------------------
Install zabbix Server
-------------------------------
 Install mysql
【mysql】
Version:mysql-5.0.51.tar.gz

Run:
#groupadd mysql
#useradd -g mysql mysql

cd mysql-5.0.51

Run:
./configure \
--prefix=/usr/local/mysql \
--with-mysqld-user=mysql

cp support-files/my-medium.cnf /etc/my.cnf
cd /usr/local/mysql
bin/mysql_install_db --user=mysql
chown -R mysql.mysql var

Run:
make;make install
Error Handling: (main reasons for the system has not been installed compiler)
1.checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
Solution:
yum install libtermcap-devel
yum install ncurses-devel
2.../depcomp: line 512: exec: g++: not found

 Install apache

【Apache】
Version:Apache 2.0.63
./configure \
--prefix=/usr/local/apache

 Install PHP
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/etc --with-mysql=/usr/local/mysql --with-gd --with-jpeg-dir --with-zlib-dir --with-png-dir --with-freetype-dir --enable-track-vars --enable-sockets --enable-ftp --disable-debug  --enable-bcmath

[Attention:] You must use “--enable-bcmatch”
Error 1:
configure: error: xml2-config not found. Please check your libxml2 installation.
Solution: yum install libxml2-devel

Error 2:If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype.h not found.
Solution: yum install freetype-devel

 Make;make install
 cp php.ini-dist /www/php/php.ini
 Install zabbix

cd create/
cd schema/
cat mysql.sql | mysql -u root zabbix
cd ..
cd data/
cat data.sql | mysql -u root zabbix
cat images_mysql.sql | mysql -u root zabbix

mkdir /etc/zabbix

Error solution:
./zabbix_server: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory

./configure --prefix=/data/zabbix/ --enable-server --enable-agent --with-mysql
make
make install


Configuration:

  Detected OS:        linux-gnu
  Install path:       /data/zabbix/
  Compilation arch:   linux

  Compiler:           gcc
  Compiler flags:     -g -O2   -I/usr/local/mysql/include/mysql     

  Enable server:      yes
  With database:      MySQL
  WEB Monitoring via: no
  Native Jabber:      no
  SNMP:               no
  IPv6:               no
  Linker flags:             -L/usr/local/mysql/lib/mysql    
  Libraries:          -lm -lresolv     -lmysqlclient    

  Enable agent:       yes
  Linker flags:       
  Libraries:          -lm -lresolv

  LDAP support:       no
 Copy frontends to htodcs:

Cp –rf  /root/zabbix/zabbix-1.4.4/frontends/php/*  /data/WebSite/htdocs/

 Enter user interface
http://127.0.01./index.php
 User is admin, password is empty.




-------------------------------
Install zabbix to client
-------------------------------
1. version: 1.4.4
2. tar zxvf zabbix_agents_1.4.4.linux2_6.x86_64.tar.gz
cd zabbix
cp file to target directory
cp zabbix_agentd.conf to /etc/zabbix/

3. Modify /etc/zabbix/zabbix_agentd.conf
Server= your IP,
if you want to add your UserParameter, you must modify “UserParameter=”.
example:
UserParameter=iowait,vmstat|grep -v memory |awk '{print $16}' |grep -v wa
4. run zabbix_agentd

-----------------------------------------------
About UserParameter (Java_app_*)
-----------------------------------------------
Currently java environment need to monitor these parameters in the following:

UserParameter=ServerInfo.ThreadCount,curl -s 'http://127.0.0.1:8180/ecws/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f1 -d ","
UserParameter=ServerInfo.FreeMem,curl -s 'http://127.0.0.1:8180/ecws/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f2 -d ","
UserParameter=ServerInfo.MaxMem,curl -s 'http://127.0.0.1:8180/ecws/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f4 -d ","
UserParameter=ServerInfo.TotalMem,curl -s 'http://127.0.0.1:8180/ecws/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f3 -d ","
UserParameter=ServerInfo.CurrentStatus,curl -s 'http://127.0.0.1:8180/ecws/status' |grep CurrentStatus|cut -f2 -d "="
UserParameter=ApplicationInfo.DependencyCheck.DatabaseDependencyCheck,curl -s 'http://127.0.0.1:8180/ecws/status' |grep DatabaseDependencyCheck|cut -f2 -d "="
UserParameter=ApplicationInfo.DependencyCheck.EncryptionServiceDependencyCheck,curl -s 'http://127.0.0.1:8180/ecws/status' |grep EncryptionServiceDependencyCheck|cut -f2 -d "="
UserParameter=ApplicationInfo.DependencyCheck.PaymentServiceDependencyCheck,curl -s 'http://127.0.0.1:8180/ecws/status' |grep PaymentServiceDependencyCheck|cut -f2 -d "="
UserParameter=DBConnection.Active,curl -s 'http://127.0.0.1:8180/ecws/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f1 -d ","
UserParameter=DBConnection.Available,curl -s 'http://127.0.0.1:8180/ecws/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f2 -d ","
UserParameter=DBConnection.Opened,curl -s 'http://127.0.0.1:8180/ecws/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f3 -d ","

If you want to install it to other servers, Please modify these item:
http://127.0.0.1:8180/ecws/status
1. port: 8180 changed to correct port
2. /ecws changed to correct directory

Then you must be restart zabbix_agentd


-------------------------------------------------------------------------
Sum of multi-server Item data
-------------------------------------


Attention: you can put these shell to anyone server.

 Please see the shell “payflow-int.sh”
1. you must replace URL from “http://payflow-app0[1-2].int.real.com:9080/payflow/status”
A.[1-2] is payflow-app01.int real.com and payflow-app02.int.real.com,if you have 01-09, you can use [1-9].
B. port: 9080 changed to correct port
C. /payflow/status changed to correct directory
2. if you want to change other UserParameter, you must change “grep ServerInfo.JVMInfo” to what you need.

 Copy flow-int.sh,pws-int.sh,rcws-int.sh to the correct server.
 Add these UserParameter to /etc/zabbix/zabbix-agented.conf

UserParameter=Payflow-int.ThreadCount,/data/zabbix/bin/payflow-int.sh ThreadCount
UserParameter=Payflow-int.active,/data/zabbix/bin/payflow-int.sh active
UserParameter=Payflow-int.available,/data/zabbix/bin/payflow-int.sh available
UserParameter=Payflow-int.opened,/data/zabbix/bin/payflow-int.sh opened
UserParameter=Payflow-int.PayflowApplication.ModeRequest.NEW_REQUEST,/data/zabbix/bin/payflow-int.sh PayflowApplication.ModeRequest.NEW_REQUEST
UserParameter=Payflow-int.PayflowApplication.ModeRequest.SUBMIT,/data/zabbix/bin/payflow-int.sh PayflowApplication.ModeRequest.SUBMIT
UserParameter=Payflow-int.PayflowApplication.Error,/data/zabbix/bin/payflow-int.sh Error

# Sum Total of RCWS-INT

UserParameter=RCWS-INT.ThreadCount,/data/zabbix/bin/rcws-int.sh ThreadCount
UserParameter=RCWS-INT.Active,/data/zabbix/bin/rcws-int.sh Active
UserParameter=RCWS-INT.available,/data/zabbix/bin/rcws-int.sh available
UserParameter=RCWS-INT.opened,/data/zabbix/bin/rcws-int.sh opened
UserParameter=RCWS-INT.createOrder,/data/zabbix/bin/rcws-int.sh createOrder
UserParameter=RCWS-INT.createNewOrder,/data/zabbix/bin/rcws-int.s createNewOrder
UserParameter=RCWS-INT.PreviewOrder,/data/zabbix/bin/rcws-int.s PreviewOrder
UserParameter=RCWS-INT.PWSFacade.authorize,/data/zabbix/bin/rcws-int.s PWSFacade.authorize
UserParameter=RCWS-INT.PWSFacade.settlementCharge,/data/zabbix/bin/rcws-int.s PWSFacade.settlementCharge
UserParameter=RCWS-INT.POAPPaymentService.authorizeBill,/data/zabbix/bin/rcws-int.s POAPPaymentService.authorizeBill

# Sum Total of PWS-INT

UserParameter=PWS-INT.ThreadCount,/data/zabbix/bin/pws-int.sh ThreadCount
UserParameter=PWS-INT.PaymentTransactionService.authorize,/data/zabbix/bin/pws-int.sh PaymentTransactionService.authorize
UserParameter=PWS-INT.PaymentTransactionService.authenticatePaymentMethod,/data/zabbix/bin/pws-int.sh PaymentTransactionService.authenticatePaymentMethod
UserParameter=PWS-INT.PaymentTransactionService.settle,/data/zabbix/bin/pws-int.sh PaymentTransactionService.settle
UserParameter=PWS-INT.VCastPaymentProcessorAdapter.authorize,/data/zabbix/bin/pws-int.sh VCastPaymentProcessorAdapter.authorize
UserParameter=PWS-INT.VCastPaymentProcessorAdapter.settle,/data/zabbix/bin/pws-int.sh VCastPaymentProcessorAdapter.settle

 Then you must restart zabbix_agented
 You add the UserParameter to anyone server. Please Reference in front of the UserParameter.

----------------------------------
shell payflow-int.sh
---------------------------------
#:!/bin/sh
if [ "$1" = "" ] ; then
echo "Please enter parameter!"
else
        #Sum Total of ThreadCount
        if [ "$1" = "ThreadCount" ] ; then
                echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{
print sum}'`
        fi

        #Sum Total of DBConnection.active
        if [ "$1" = "active" ] ; then
                echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=
$1}END{print sum}'`
        fi

       #Sum Total of DBConnection.available
        if [ "$1" = "available" ] ; then
                echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f2 -d ","|awk 'BEGIN{sum=0}{sum+=
$1}END{print sum}'`
        fi

        #Sum Total of DBConnection.opened
        if [ "$1" = "opened" ] ; then
                echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f3 -d ","|awk 'BEGIN{sum=0}{sum+=
$1}END{print sum}'`
        fi

        #Sum Total of PayflowApplication.ModeRequest.NEW_REQUEST
        if [ "$1" = "PayflowApplication.ModeRequest.NEW_REQUEST" ] ; then
                echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep PayflowApplication.ModeRequest.NEW_REQUEST|cut -f2 -d "="|cut -f1 -d ","|awk 'B
EGIN{sum=0}{sum+=$1}END{print sum}'`
        fi

        #Sum Total of PayflowApplication.ModeRequest.SUBMIT
        if [ "$1" = "PayflowApplication.ModeRequest.SUBMIT" ] ; then
                 echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep PayflowApplication.ModeRequest.SUBMIT|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN
{sum=0}{sum+=$1}END{print sum}'`
        fi

        #Sum Total of Error
        if [ "$1" = "Error" ] ; then
                 echo `curl -s 'http://payflow-app0[1-2].int.real.com:9080/payflow/status' |grep Error|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{print sum}'`
        fi

fi

----------------------------------------------------------------
Shell pws-int.sh
----------------------------------------------------------------

#!/bin/sh
if [ "$1" = "" ] ; then
echo "Please enter parameter!"
else
        #Sum Total of ThreadCount
        if [ "$1" = "ThreadCount" ] ; then
                echo `curl -s 'http://pws-app0[1-2].int.real.com:8480/pws/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{print su
m}'`
        fi

        #Sum Total of PaymentTransactionService.authorize
        if [ "$1" = "PaymentTransactionService.authorize" ] ; then
                echo `curl -s 'http://pws-app0[1-2].int.real.com:8480/pws/status' |grep PaymentTransactionService.authorize|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum
+=$1}END{print sum}'`
        fi

       #Sum Total of PaymentTransactionService.authenticatePaymentMethod
        if [ "$1" = "PaymentTransactionService.authenticatePaymentMethod" ] ; then
                echo `curl -s 'http://pws-app0[1-2].int.real.com:8480/pws/status' |grep PaymentTransactionService.authenticatePaymentMethod|cut -f2 -d "="|cut -f2 -d ","|awk '
BEGIN{sum=0}{sum+=$1}END{print sum}'`
        fi

        #Sum Total of PaymentTransactionService.settle
        if [ "$1" = "PaymentTransactionService.settle" ] ; then
                echo `curl -s 'http://pws-app0[1-2].int.real.com:8480/pws/status' |grep PaymentTransactionService.settle|cut -f2 -d "="|cut -f3 -d ","|awk 'BEGIN{sum=0}{sum+=$
1}END{print sum}'`
        fi

        #Sum Total of VCastPaymentProcessorAdapter.authorize
        if [ "$1" = "VCastPaymentProcessorAdapter.authorize" ] ; then
                echo `curl -s 'http://pws-app0[1-2].int.real.com:8480/pws/status' |grep VCastPaymentProcessorAdapter.authorize|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{
sum+=$1}END{print sum}'`
        fi

        #Sum Total of VCastPaymentProcessorAdapter.settle
        if [ "$1" = "VCastPaymentProcessorAdapter.settle" ] ; then
                 echo `curl -s 'http://pws-app0[1-2].int.real.com:8480/pws/status' |grep VCastPaymentProcessorAdapter.settle|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{su
m+=$1}END{print sum}'`
        fi

fi


------------------------------------------------------------------
shell rcws-int.sh
-----------------------------------------------------------------
#!/bin/sh
if [ "$1" = "" ] ; then
echo "Please enter parameter!"
else
        #Sum Total of ThreadCount
        if [ "$1" = "ThreadCount" ] ; then
                echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep ServerInfo.JVMInfo|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{print
sum}'`
        fi

        #Sum Total of DBConnection.Active
        if [ "$1" = "Active" ] ; then
                echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END
{print sum}'`
        fi

       #Sum Total of DBConnection.available
        if [ "$1" = "available" ] ; then
                echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f2 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END
{print sum}'`
        fi

        #Sum Total of DBConnection.opened
        if [ "$1" = "opened" ] ; then
                echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep DBConnection.DBConnection|cut -f2 -d "="|cut -f3 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END
{print sum}'`
        fi

        #Sum Total of createOrder
        if [ "$1" = "createOrder" ] ; then
                echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep createOrder|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{print sum}'`
        fi

        #Sum Total of createNewOrder
        if [ "$1" = "createNewOrder" ] ; then
                 echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep createNewOrder|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{print sum
}'`
        fi

        #Sum Total of PreviewOrder
        if [ "$1" = "PreviewOrder" ] ; then
                 echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep PreviewOrder|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{print sum}'
`
        fi

        #Sum Total of PWSFacade.authorize
        if [ "$1" = "PWSFacade.authorize" ] ; then
                 echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep PWSFacade.authorize|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}END{prin
t sum}'`
        fi
       
        #Sum Total of PWSFacade.settlementCharge
        if [ "$1" = "PWSFacade.settlementCharge" ] ; then
                 echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep PWSFacade.settlementCharge|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum+=$1}E
ND{print sum}'`
        fi

        #Sum Total of POAPPaymentService.authorizeBill
        if [ "$1" = "POAPPaymentService.authorizeBill" ] ; then
                 echo `curl -s 'http://rcws-app0[1-2].int.real.com:8380/rcws/status' |grep POAPPaymentService.authorizeBill|cut -f2 -d "="|cut -f1 -d ","|awk 'BEGIN{sum=0}{sum
+=$1}END{print sum}'` 
        fi

fi

分享到:
评论

相关推荐

    zabbix 安装使用手册(HA)

    zabbix_install.rar中有脚本和所需的软件包,帮助快速部署。手册中有书签协助导读。 目 录 1. zabbix简介 5 2. zabbix配置文件 6 3. 系统规划 7 4. zabbix server安装 7 5. mysql数据库双主同步配置说明 22 6. 安装...

    zabbix6.2版本基于centos stream9 的部署手册

    # dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent # mysql -uroot -p password mysql&gt; create database zabbix character set utf8...

    centos 7.5 安装zabbix4.0

    下载zabbix server源码包 `wget -o zabbix-4.0.4.tar.gz &lt;https://sourceforge.net/projects/zabbix/files/ZABBIX Latest Stable/4.0.4/zabbix-4.0.4.tar.gz/download`&gt; 安装依赖 `yum install wget telnet ...

    zabbix-agent 客户端一键部署脚本

    yum install zabbix-agent -y #修改zabbix_agent.conf配置文件 sed -i.bak "s/^Server=127.0.0.1/Server=$Zabbix_Service/" /etc/zabbix/zabbix_agentd.conf sed -i "s/ServerActive=127.0.0.1

    rabbitmq-zabbix-master

    Install the files into /etc/zabbix/ folder, change permissions to Zabbix. Setup configuration (see below) Import the template to your zabbix server Make sure zabbix_sender is installed WARNING ...

    zabbix-release-5.0-1.el7.noarch.rpm

    Zabbix5.0LTS rpm安装包 rpm -Uvh zabbix-release-5.0-1.el7.noarch.rpm yum install zabbix-server-mysql zabbix-agent

    zabbix-agent2部署安装Zabbix Linux代理,yum源资源,直接yum install -y ***即可

    Zabbix Server:Zabbix 服务端,是 Zabbix 的核心组件。它负责接收监控数据并触发告警,还负责将监控数据持久化到数据库中。 ...部署安装Zabbix Linux代理,yum源资源,直接yum install -y ***即可

    zabbix一键部署脚本

    zabbix的server端一键部署脚本,再也不用担心被墙了建议使用centos7版本,zabbix版本4.4子版本1自动部署方便快捷

    zabbix-appliance-6.4.11-netinstall.iso

    Install Zabbix Appliance zabbix_appliance-6.4.11

    ansible-zabbix-server

    zabbix_server_install_packages zabbix_server_AlertScriptsPath zabbix_server_AllowRoot zabbix_server_CacheSize zabbix_server_CacheUpdateFrequency zabbix_server_DBHost zabbix_server_DBName zabbix...

    Zabbix Cookbook

    This includes installation of the Zabbix server and agent. At the end of this chapter is the procedure to install Zabbix in a distributed way. Chapter 2, Getting Around in Zabbix, helps you discover ...

    zabbix_4.2_rpm.zip

    zabbix离线安装依赖包:由于zabbix server需要依赖MySQL及PHP的相关依赖,这里放在根目录下zabbix_rpms文件夹下,直接使用yum clean all ; yum localinstall –y --skip-broken ./* 安装即可!

    centos7部署Zabbix4.0

    Zabbix4.0部署方案 Zabbix4.0 系统:centos7.6 先安装好yum源和epel-release源(epel源必须) ...yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent 遇到此问题 warning: /var/cache/yum/x86_

    zabbix-docker:用于docker-compose的zabbix-server

    用于docker-compose的zabbix-server 建树Linux 使用容器化环境部署zabbix,部署重新: 1.需要安装docker 2.需要安装docker-compose 安装泊坞窗 安装必要的一些系统工具yum install -y yum-utils device-mapper-...

    安装du-server-zabbix-5.0.1

    Zabbix的安装程序和配置程序sudo ... Zabbix伺服器安装程序,界面,代理# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent`C。 Créerla base dedonnées首创在多纳德基础上投票

    阿里云repo方式安装zabbix4.0

    1.安装zabbix的repo源 rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm ...yum install zabbix-server-mysql zabbix-web-my

    添加 zabbix-agent

    文章目录添加 zabbix-agent安装 zabbix-agent去zabbix-server 的web界面下添加主机管理图形与窗口配置触发器解决图形中文乱码问题 添加 zabbix-agent 安装 zabbix-agent 安装zabbix-agent wget -P /etc/yum.repos.d/...

    zabbix 添加你需要监控的主机步骤详解

    [root@localhost ~]# yum install zabbix40-agent -y --被监控的主机192.168.179.104安装上agent [root@localhost ~]# rpm -qc zabbix40-agent /etc/zabbix/zabbix_agentd.conf Server=192.168.179.103 --要将数据给...

    zabbix.tar.gz

    yum -y install gcc pcre-devel openssl-devel php php-mysql php-fpm mariadb mariadb-devel mariadb-server yum -y install ...

    zabbix 4.4安装指南(centos7.x, mysql )

    1,安装zabbix程序 ...# yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent 3,创建初始数据库 mysql(请提前安装mysql,详见参考链接) # mysql -uroot -p password mysql&gt; create database zabbix

Global site tag (gtag.js) - Google Analytics