Centos7.2 zabbix3.0安装
2016-08-01 00:35
706 查看
设置主机名:vi /etc/hosts10.0.0.252 zabbix-serverhostnamectl set-hostname zabbix-server关闭防火墙: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 -pcreate database zabbix character set utf8 collateutf8_bin;grant all privileges on zabbix.* to zabbix@localhostidentified by 'zabbix2016'; 导入初始模式和数据cd /usr/share/doc/zabbix-server-mysql-3.0.4/zcat create.sql.gz |mysql -uroot zabbix vi /etc/zabbix/zabbix_server.conf91:DBName=zabbix107:DBUser=zabbix116:DBPassword=zabbix2016 systemctl start zabbix-server systemctl 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://10.0.0.252/zabbix/setup.php 安装和配置客户端rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm yum -y install zabbix-agentvim /etc/zabbix/zabbix_agentd.confServer=zabbix-server-ipsystemctl enable zabbix-agentsystemctl start zabbix-agent zabbix3.0中文显示乱码的问题解决办法 http://blog.csdn.net/xiegh2014/article/details/52038536
相关文章推荐
- CentOS 7.2安装zabbix 3.0 LTS
- Centos7.2安装zabbix3.0
- centos7.2 安装zabbix3.0详解
- CentOS6.7下LNMP环境安装zabbix3.0
- CentOS6.5上Zabbix3.0的RPM安装【四】-乱码
- centos 7 安装zabbix3.0
- ZABBIX3.0在CentOS6.6上的安装部署
- CentOS 7.2 安装Zabbix3.X
- CentOS-7 编译安装 Zabbix-3.0
- 基于centos 7安装的zabbix3.0版本
- Centos7 ZABBIX3.0安装
- Centos7.2 安装zabbix3.X
- CentOS 7.2 安装部署 Zabbix 3.0.4 详解
- 解决CentOS 7安装zabbix 3.0 无法启动zabbix-server的问题[segfault at 18 ip 00007f78842b4bd0 sp 00007fff1995a818 error 4 in libpthread-2.17.so[7f78842ab000+16000]]
- centos6.5 下安装配置zabbix3.0
- Centos 7.0 下安装 Zabbix server 3.0服务器的安装及 监控主机的加入(1)
- CentOS6.5上Zabbix3.0的RPM安装【三】-安装并添加Agent
- centos 6.6安装zabbix3.0
- zabbix 3.0快速安装简介(centos 7)
- CentOS 7.0 x64下Zabbix 3.0 安装笔记