惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
The Cloudflare Blog
IT之家
IT之家
雷峰网
雷峰网
小众软件
小众软件
博客园 - 叶小钗
博客园 - 聂微东
爱范儿
爱范儿
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
博客园 - 【当耐特】
V
V2EX
博客园_首页
T
Tailwind CSS Blog

博客园 - 悄悄的来,匆匆的走

用npm 启动的前端项目在别人的电脑上访问不了,但是Java启动的项目可以 新建了一个微信群深圳技术交流群 OpenClaw 跨境电商 POD 领域实操指南 大文件清理工具 鸿蒙开发hello word 修改es的副本数-如果是测试环境的话 如果idea -java 编译内存不够修改这个地方 电脑往小米手机里快速传输文件方法 Flutter 开发文档 永久配置idea + Gradle 输出编码乱码(彻底解决) Firefox 插件开发教程地址 Ubuntu 安装redis linux Ubuntu安装mysql 优化一个spring项目的启动耗时-日志1 在 Ubuntu 系统中使用apt卸载 Jenkins 清理atp安装的jenkins Ubuntu 安装 jenkins支持jdk1.8的版本 清理干净Jenkins apt 安装的 Jenkins CentOS安装maven
Ubuntu 安装Node Exporter
悄悄的来,匆匆的走 · 2025-08-14 · via 博客园 - 悄悄的来,匆匆的走

wget https://github.com/prometheus/node_exporter/releases/download/v1.6.1/node_exporter-1.6.1.linux-amd64.tar.gz

# 解压

tar xvfz node_exporter-1.6.1.linux-amd64.tar.gz

# 移动到系统目录

sudo mv node_exporter-1.6.1.linux-amd64/node_exporter /usr/local/bin/

创建系统服务(开机自启)

sudo nano /etc/systemd/system/node_exporter.service

[Unit]
Description=Node Exporter
Documentation=https://prometheus.io/docs/guides/node-exporter/
Wants=network-online.target
After=network-online.target

[Service]
User=nobody
Group=nogroup
Type=simple
# 启动Node Exporter,默认监听9100端口
ExecStart=/usr/local/bin/node_exporter \
  --collector.systemd \
  --collector.processes \
  --collector.filesystem.ignored-mount-points="^/(sys|proc|dev|host|etc)($$|/)"

[Install]
WantedBy=multi-user.target

步骤 3:启动并验证服务

sudo systemctl daemon-reload

启动 Node Exporter 并设置开机自启:

sudo systemctl start node_exporter 

sudo systemctl enable node_exporter

检查服务状态:

sudo systemctl status node_exporter

若显示 active (running) 则表示启动成功。