centos7.2 安装zabbix3.0详解
2016-12-14 15:45
645 查看
关闭防火墙:systemctl stop firewalld.servicesystemctl disable firewalld.service 关闭selinux:[root@localhost ~]# setenforce 0 [root@localhost ~]# sed -i'/SELINUX/s/enforcing/disabled/' /etc/selinux/config 配置yun源rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm安装服务器端包yum install -y zabbix-server-MySQL zabbix-web-mysql zabbix-agent mariadb-server 启动mariadbsystemctl start mariadbsystemctl enable mariadb 创建zabbix数据库mysql -uroot -pEnter password: ##输入MySQL密码,默认为空create database zabbix character set utf8 collate utf8_bin;##创建数据库zabbix,并且数据库编码使用utf8grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix2016';##允许账户能从本机连接至数据库zabbixquit;导入初始模式和数据cd /usr/share/doc/zabbix-server-mysql-3.0.6/zcat create.sql.gz |mysql -uroot zabbix vim /etc/zabbix/zabbix_server.conf91:DBName=zabbix107:DBUser=zabbix116:DBPassword=zabbix2016 systemctl start zabbix-serversystemctl enable zabbix-server vim /etc/httpd/conf.d/zabbix.conf php_valuemax_execution_time 300 php_valuememory_limit 128M php_valuepost_max_size 16M php_valueupload_max_filesize 2M php_valuemax_input_time 300 php_valuealways_populate_raw_post_data -1 #php_value date.timezone Europe/Riga php_valuedate.timezone Asia/Shanghai systemctl start httpd.servicesystemctl enable httpd.servicehttp://ip地址/zabbix/setup.php安装和配置客户端rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpmyum -y install zabbix-agentvim /etc/zabbix/zabbix_agentd.confServer=zabbix-server-ipsystemctl enable zabbix-agentsystemctl start zabbix-agent zabbix3.0中文显示乱码的问题解决办法
[root@zabbix-server include]# pwd/usr/share/zabbix/include[root@zabbix-server include]# vi defines.inc.php#修改第93行define('ZBX_FONT_NAME','msyh');#修改第45行改为define('ZBX_GRAPH_FONT_NAME','msyh')然后下载微软雅黑字体,改名为msyh传入 /usr/share/zabbix/fonts目录下即可
相关文章推荐
- CentOS 7.2安装zabbix 3.0 LTS
- Centos7.2 zabbix3.0安装
- CentOS 7.2 安装部署 Zabbix 3.0.4 详解
- Centos7.2安装zabbix3.0
- CentOS 7.2安装Zabbix 3.2教程详解
- zabbix 3.0快速安装简介(centos 6)
- 基于centos 7安装的zabbix3.0版本
- CentOS6.5上Zabbix3.0的RPM安装【一】-安装并配置Server
- 解决CentOS 7安装zabbix 3.0 无法启动zabbix-server的问题[segfault at 18 ip 00007f78842b4bd0 sp 00007fff1995a818 error 4 in libpthread-2.17.so[7f78842ab000+16000]]
- Centos7下安装及配置Zabbix3.0
- Centos 7.0 下安装 Zabbix server 3.0服务器的安装及 监控主机的加入(1)
- CentOS 7.2 下编译安装PHP7.0.10+MySQL5.7.14+Nginx1.10.1的方法详解(mini版本)
- Centos 6.5 下安装 Zabbix server 3.0服务器的安装及 监控主机的加入(2)
- zabbix专题:第二章 zabbix3.0安装详解
- centos 7 安装zabbix3.0
- Centos 7安装部署zabbix3.0实战(服务器端)
- 编译安装Zabbix 3.0及分开部署配置详解
- 编译安装zabbix 3.0及分开部署配置详解
- CentOS6.5上Zabbix3.0的RPM安装【三】-安装并添加Agent
- Centos7.2 安装zabbix3.X