3 useradd -g zabbix -d /dev/null zabbix
4 chown -R zabbix:zabbix /var/log/zabbix /var/run/zabbix /etc/zabbix
5 echo "zabbix-agent 10050/tcp Zabbix Agent" >> /etc/services
6 echo "zabbix-agent 10050/udp Zabbix Agent" >> /etc/services
7 echo "zabbix-trapper 10051/tcp Zabbix Trapper" >> /etc/services
8 echo "zabbix-trapper 10051/udp Zabbix Trapper" >> /etc/services
13 rm -rf /var/run/zabbix