美文网首页
树莓派Pi3安装ZABBIX3

树莓派Pi3安装ZABBIX3

作者: fb80af0f4245 | 来源:发表于2018-01-23 14:18 被阅读0次

    # apt-getinstall zabbix-server-mysql

    # apt-getinstall zabbix-frontend-php

    #apt-getinstall php*mysql

    # mysql

    >create database zabbix character set utf8 collate utf8_bin;

    > grantall privileges on zabbix.* to zabbix@'%' identified by 'hello2018';

    > flushprivileges;

    # zcat/usr/share/zabbix-server-mysql/{schema,images,data}.sql.gz | mysql -uzabbix-phello2018 zabbix

    # nano/etc/zabbix/zabbix_server.conf

    DBHost=localhost

    DBName=zabbix

    DBUser=zabbix

    DBPassword=hello2018

    # nano/etc/apache2/conf-enabled/zabbix-frontend-php.conf

    php_valuedate.timezone Asia/Chongqing

    # nano/etc/php/7.0/apache2/php.ini

    ;date.timezone=

    改成:

    date.timezone= Asia/Chongqing

    # cd/usr/share/zabbix/conf/

    # mvzabbix.conf.php /etc/zabbix/

    #systemctl restart zabbix-server

    #systemctl restart apache2

    http://192.168.1.18/zabbix/

    默认账号密码Admin/zabbix

    相关文章

      网友评论

          本文标题:树莓派Pi3安装ZABBIX3

          本文链接:https://www.haomeiwen.com/subject/jpssaxtx.html