1. Log in to the server to view the server's kernel version and System Information (UNAME-A), mine is 2.6.32-431.el6.x86_64
2, from the Zabbix official website according to the kernel version to download the corresponding client.
3. Installation Steps
mkdir -p /usr/local/zabbix/ cd /usr/local/zabbix / wget http://www.zabbix.com/downloads/2.2.5/zabbix_agents_2.2.5.linux2_6_23. amd64.tar.gz tar zxvf zabbix_agents_2.2.5.linux2_6_23.amd64.tar.gz groupadd zabbix useradd -g zabbix zabbix for i in *;d o ln -s /usr/local/zabbix/bin/${i} /usr/bin/$ {i};d one for i in *;d o ln -s /usr/local/zabbix/sbin/${i} /usr/sbin/${i};d one cat >>/etc/services <<eof zabbix-agent 10050/tcp zabbix agent zabbix-agent 10050/ udp zabbix agent zabbix-trapper 10051/tcp zabbix trapper zabbix-trapper 10051/udp zabbix trapper eof cp /usr/ Local/zabbix/conf/zabbix_agentd.conf /usr/local/etc/ vi /usr/local/etc/zabbix _agentd.conf cp /usr/local/zabbix/sbin/zabbix_agentd /etc/init.d chmod a+x /etc/init.d/zabbix_agentd service zabbix_ agentd start echo "Service zabbix_agentd start" >>/etc/ Rc.local
This article is from the "Work blog" blog, please be sure to keep this source http://hellowei.blog.51cto.com/4814430/1536563