ubuntu16.04安装zabbix-agent
环境:
root@localhost:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.7 LTS
Release: 16.04
Codename: xenial
root@localhost:~# dpkg --print-architecture
armhf
联网安装:
#下载
root@localhost:~# wget http://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-1%2Bubuntu16.04_all.deb
root@localhost:~# dpkg -i zabbix-release_6.0-1+ubuntu16.04_all.deb
root@localhost:~# apt update
#安装
root@localhost:~# apt install zabbix-agent
#配置
root@localhost:~# vim /etc/zabbix/zabbix_agentd.conf
#将下述3项做修改,IP填zabbix服务器IP,名称为服务器名称
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=Zabbix server
#重启并设置开机启动
root@localhost:~# systemctl restart zabbix-agent.service
root@localhost:~# systemctl enable zabbix-agent.service
后面更新离线安装...