prometheus + granfana
下载软件:安装prometheus 服务器:[root@node01 prometheus]#
tar xvfz prometheus-2.8.1.linux-amd64.tar.gz -C /usr/local/
cd /usr/local/
ln -sv prometheus-2.8.1.linux-amd64 prometheus
cd prometheus
./prometheus --version
groupadd prometheus
useradd -g prometheus -s /sbin/nologin prometheus
id prometheus
chown -R prometheus:prometheus /usr/local/prometheus
cat /etc/passwd
mkdir -p /home/software/prometheus-date/
chown -R prometheus:prometheus /home/software/prometheus-date/
touch /usr/lib/systemd/system/prometheus.service
chown -R prometheus:prometheus /usr/lib/systemd/system/prometheus.service
vim /usr/lib/systemd/system/prometheus.service
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。