摘要: 编辑 cacti 目录下 plugins/thold/includes/settings.php,打到132行;并注释掉该行。问题解决。 阅读全文
posted @ 2020-12-07 15:00 没有头发 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 存在BUG的版本: >=0.8.7<1.2.100.8.7至1.2.10所有版本,均会出现此故障 不受影响的版本: >=1.2.10后所有版本,<0.8.7前所有版本 问题分析: Cacti从0.8.7版本开始,也就是说在2007年(13年前)设置了时间戳的值为1600000000,转换成时间为20 阅读全文
posted @ 2020-12-04 15:56 没有头发 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Mysql 8.0之前的版本: grant all privileges on *.* to 'root'@'%' identified by '密码' with grant option; Mysql 8.0以后的版本: CREATE USER 'root'@'%' IDENTIFIED BY ' 阅读全文
posted @ 2020-11-25 17:02 没有头发 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 在导入cacti.sql数据库时出现错误: ERROR 1067 (42000) at line 1847: Invalid default value for 'status_fail_date' 解决方法: vim /etc/my.cnf 加入: sql-mode="NO_ENGINE_SUBS 阅读全文
posted @ 2020-11-20 16:24 没有头发 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #可能仅适用php5的版本 修改apache的配置文件httpd.conf在httpd.conf中找到:AddType application/x-gzip .gz .tgz在该行下面添加AddType application/x-httpd-php .php 再找继续找到:DirectoryInd 阅读全文
posted @ 2020-11-20 15:52 没有头发 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 在zabbix的web安装过程中出现: Time zone for PHP is not set (configuration parameter "date.timezone"). 解决方法: 修改时区 vim /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf 阅读全文
posted @ 2020-09-02 14:24 没有头发 阅读(3340) 评论(0) 推荐(0) 编辑
摘要: 创建数据库 MariaDB [(none)]> create database web;Query OK, 1 row affected (0.00 sec) 使用数据库 MariaDB [(none)]> use web;Database changed 创建表 MariaDB [web]> cr 阅读全文
posted @ 2020-06-28 16:55 没有头发 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 一、安装mariadb数据库 客户端:yum -y install mariadb 服务端:yum -y install mariadb-server 二、配置mariadb数据库 1.开启服务 启动服务:systemctl start mariadb 设置开机自启动:systemclt enabl 阅读全文
posted @ 2020-06-23 12:23 没有头发 阅读(86) 评论(0) 推荐(0) 编辑