SCP 10.25.133.184:/usr/local/zabbix-2.4.1.tar.gz/usr/local
1, in order to security considerations Zabbix only use the ordinary user to run, if your current user is called Ttlsa, then you run him, he then uses Ttlsa identity to run. But if you run Zabbix in the root environment, then Zabbix will actively use the Zabbix user to run it. But if your system does not have a user named Zabbix, you need to create a user:
# Groupadd Zabbix
# useradd-g Zabbix Zabbix
2. Compiling:
./configure--prefix=/usr/local/zabbixagent/--enable-agent
./configure--prefix=/u01/zabbixagent/--enable-agent
Make
Make install
3. Configure zabbix_agentd.conf
Pidfile=/usr/local/zabbixagent/etc/zabbix_agentd.pid
Logfile=/usr/local/zabbixagent/log/zabbix_agentd.log
server=10.25.133.181
serveractive=10.25.133.181
hostname=10.25.133.183
3. Start:
Cd/usr/local/zabbixagent
chmod 777 *
/usr/local/zabbixagent/sbin/zabbix_agentd
Original link: http://www.ttlsa.com/zabbix/install-zabbix-on-linux-5-ttlsa/
Installation under the Zabbix_agent-linux