Installation dependent packages:
[root@zabbixserver lnmp_soft]# yum -y install net-snmp-devel
> curl-devel
[root@zabbixserver lnmp_soft]# yum -y install libevent-devel-2.0.21-4.el7.x86_64.rpm
[root@zabbixserver ~]# yum -y install php-gd php-xml
[root@zabbixserver ~]# yum install php-bcmath-5.4.16-42.el7.x86_64.rpm
[root@zabbixserver ~]# yum install php-mbstring-5.4.16-42.el7.x86_64.rpm
[root@localhost lnmp]# tar zabbix-4.2.7.tar.gz
[root@localhost lnmp]# cd zabbix-4.2.7
Source installation:
[root@localhost lnmp]#./configure --enable-server \
--enable-proxy --enable-agent --with-mysql=/usr/bin/mysql_config \
--with-net-snmp --with-libcurl
Notes Documentation
// --enable-server installation of server-side software deployment zabbix
// --enable-agent install monitoring client software is deployed zabbix
// --enable-proxy agent software installation and deployment zabbix
// --with-mysql path configuration mysql_config
// --with-net-snmp allow zabbix monitor other devices via snmp protocol
State // --with-libcurl installation related curl library, so you can connect zabbix http services through curl, tests are monitoring host services
[root@localhost lnmp] make && make instal