1.下载安装包并安装
wget https://dl.influxdata.com/kapacitor/releases/kapacitor-1.5.3.x86_64.rpm
sudo yum install kapacitor-1.5.3.x86_64.rpm
2.启动并查看运行状态
[xxgis@centos7a ~]$ sudo systemctl start kapacitor
[xxgis@centos7a ~]$ sudo systemctl status kapacitor
● kapacitor.service - Time series data processing engine.
Loaded: loaded (/usr/lib/systemd/system/kapacitor.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2020-05-06 01:44:32 EDT; 1min 53s ago
Docs: https://github.com/influxdb/kapacitor
Main PID: 28890 (kapacitord)
CGroup: /system.slice/kapacitor.service
└─28890 /usr/bin/kapacitord -config /etc/kapacitor/kapacitor.conf
May 06 01:44:32 centos7a systemd[1]: Started Time series data processing engine..
May 06 01:44:32 centos7a kapacitord[28890]: '##:::'##::::'###::::'########:::::'###:::::'######::'####:'########::'#######::'########::
May 06 01:44:32 centos7a kapacitord[28890]: ##::'##::::'## ##::: ##.... ##:::'## ##:::'##... ##:. ##::... ##..::'##.... ##: ##.... ##:
May 06 01:44:32 centos7a kapacitord[28890]: ##:'##::::'##:. ##:: ##:::: ##::'##:. ##:: ##:::..::: ##::::: ##:::: ##:::: ##: ##:::: ##:
May 06 01:44:32 centos7a kapacitord[28890]: #####::::'##:::. ##: ########::'##:::. ##: ##:::::::: ##::::: ##:::: ##:::: ##: ########::
May 06 01:44:32 centos7a kapacitord[28890]: ##. ##::: #########: ##.....::: #########: ##:::::::: ##::::: ##:::: ##:::: ##: ##.. ##:::
May 06 01:44:32 centos7a kapacitord[28890]: ##:. ##:: ##.... ##: ##:::::::: ##.... ##: ##::: ##:: ##::::: ##:::: ##:::: ##: ##::. ##::
May 06 01:44:32 centos7a kapacitord[28890]: ##::. ##: ##:::: ##: ##:::::::: ##:::: ##:. ######::'####:::: ##::::. #######:: ##:::. ##:
May 06 01:44:32 centos7a kapacitord[28890]: ..::::..::..:::::..::..:::::::::..:::::..:::......:::....:::::..::::::.......:::..:::::..::
May 06 01:44:32 centos7a kapacitord[28890]: 2020/05/06 01:44:32 Using configuration at: /etc/kapacitor/kapacitor.conf
3.防火墙操作
sudo firewall-cmd --state
sudo firewall-cmd --list-port
sudo firewall-cmd --add-port=9092/tcp --permanent (永久开放端口)
sudo firewall-cmd --reload (生效)