zabbix3.0-CentOS7
2018-03-21 17:58
211 查看
----------系统环境:CentOS7----------
----------server部署:10.0.0.61 server端的端口是10051----------
rpm -i http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm ## 使用官方的源安装
yum clean all
yum install zabbix-server-mysql zabbix-web-mysql -y
yum -y install mariadb-server
systemctl start mariadb.service
mysql
create database zabbix character set utf8 collate utf8_bin;
grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
exit
zcat /usr/share/doc/zabbix-server-mysql-3.0.13/create.sql.gz|mysql -uzabbix -pzabbix zabbix
sed -i.ori '115a DBPassword=zabbix' /etc/zabbix/zabbix_server.conf
sed -i.ori '18a php_value date.timezone Asia/Shanghai' /etc/httpd/conf.d/zabbix.conf
systemctl start zabbix-server
systemctl start httpd
systemctl enable zabbix-server.service httpd.service mariadb.service
浏览器访问 http://10.0.0.61/zabbix/
浏览器访问后看这个连接的下面部分 http://blog.csdn.net/qq_41833774/article/details/79558634
----------agent部署:agent端的端口是10050----------
##服务端也需要下载agent包,因为本身也需要监控,而且下面的测试也会用到
rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
yum clean all
yum install zabbix-agent -y
sed -i.ori 's#Server=127.0.0.1#Server=172.16.1.61#' /etc/zabbix/zabbix_agentd.conf
systemctl start zabbix-agent.service
官方文档 https://www.zabbix.com/download?zabbix=3.0&os_distribution=centos&os_version=7&db=MySQL
----------server部署:10.0.0.61 server端的端口是10051----------
rpm -i http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm ## 使用官方的源安装
yum clean all
yum install zabbix-server-mysql zabbix-web-mysql -y
yum -y install mariadb-server
systemctl start mariadb.service
mysql
create database zabbix character set utf8 collate utf8_bin;
grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
exit
zcat /usr/share/doc/zabbix-server-mysql-3.0.13/create.sql.gz|mysql -uzabbix -pzabbix zabbix
sed -i.ori '115a DBPassword=zabbix' /etc/zabbix/zabbix_server.conf
sed -i.ori '18a php_value date.timezone Asia/Shanghai' /etc/httpd/conf.d/zabbix.conf
systemctl start zabbix-server
systemctl start httpd
systemctl enable zabbix-server.service httpd.service mariadb.service
浏览器访问 http://10.0.0.61/zabbix/
浏览器访问后看这个连接的下面部分 http://blog.csdn.net/qq_41833774/article/details/79558634
----------agent部署:agent端的端口是10050----------
##服务端也需要下载agent包,因为本身也需要监控,而且下面的测试也会用到
rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
yum clean all
yum install zabbix-agent -y
sed -i.ori 's#Server=127.0.0.1#Server=172.16.1.61#' /etc/zabbix/zabbix_agentd.conf
systemctl start zabbix-agent.service
官方文档 https://www.zabbix.com/download?zabbix=3.0&os_distribution=centos&os_version=7&db=MySQL
相关文章推荐
- Centos 6.5 + Zabbix 3.0
- zabbix 3.0快速安装简介(centos 7)
- centos安装zabbix3.0
- Centos 6.5 下安装 Zabbix server 3.0服务器的安装及 监控主机的加入(2)
- centos6.5 下安装配置zabbix3.0
- CentOS6.5上Zabbix3.0的RPM安装【二】-汉化
- zabbix 3.0快速安装简介(centos 6)
- centos 6.6安装zabbix3.0
- Centos7.2安装zabbix3.0
- centos 7 安装zabbix3.0
- ZABBIX3.0在CentOS6.6上的安装部署
- Centos 7安装部署zabbix3.0实战(服务器端)
- 基于centos 7安装的zabbix3.0版本
- 基于CentOS6.6的Zabbix3.0安装
- CentOS 7.0 x64下Zabbix 3.0 安装笔记 / linux运维之ZABBIX通过自带web检测功能检测网站是否正常
- centos 6 安装zabbix 3.0
- centos6.5 zabbix3.0客户端安装一键脚本
- centos6.5 zabbix3.0服务端安装
- Zabbix 3.0 Beta on CentOS 6
- Centos7 ZABBIX3.0安装