标签:fir url config stat https x64 download mys ESS
RHEL7.4 X64 编译安装zabbix-3.0.24官网下载源码包:zabbix-3.0.24.tar.gz
地址:https://www.zabbix.com/download
一、系统环境准备
vi /etc/selinux/config --disabled
setenforce 0
systemctl stop firewalld
二、编译安装
tar xf szabbix-3.0.24.tar.gz -C /usr/local/zabbix
cd /usr/local/zabbix_server
./configure --prefix=/usr/local/zabbix_server --enable-server --with-mysql --with-net-snmp --with-libcurl --with-libxml2 --enable-agent
提示unable to find net-snmp-config 或者提示缺少其它相关文件,
yum install xxx-devel 相关包即可
make&&make install
三、配置zabbix_server
vi /usr/local/zabbix_server/etc/zabbix_server.conf
LogFile=/tmp/zabbix_server.log
DBHost=192.168.10.100
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
JavaGateway=本机IP
StartJavaPollers=5
四、启动服务
/usr/local/zabbix_server/sbin/zabbix_server -c /usr/local/zabbix_server/etc/zabbix_server.conf //启动服
netstat -anp | grep 10051 查看端口是否起来
五、安装zabbix-web
yum -y install httpd php php-mysql libXpm php-bcmath php-gd php-mbstring php-xml t1lib
mkdir -p /var/www/html/zabbix
cp -a /usr/local/zabbix_server/frontends/* /var/www/html/zabbix/
六、配置PHP 以及启动httpd
vi /etc/php.ini
date.timezone = Asia/Shanghai
post_max_size = 16M
max_execution_time = 300
max_input_time = 300
service httpd start
七、用浏览器访问以及安装指导步骤安装
用浏览器访问http://192.168.10.100/zabbix
并按照提示安装:
八、配置满足zabbix 的php条件生成zabbix.conf.php
并且如果保存失败,手动下载下来,上传至:/var/www/html/zabbix/conf/zabbix.conf.php
标签:fir url config stat https x64 download mys ESS
原文地址:http://blog.51cto.com/13396187/2330568