download and unzip prometheus from official site
cp node_exporter /usr/local/bin/
useradd –no-create-home –shell /bin/false nodeusr
chown -R nodeusr:nodeusr /usr/local/bin/node_exporter
nano /etc/systemd/system/node_exporter.service
[Unit]
Description=NodeExporter
[Service]
TimeoutStartSec=0
User=nodeusr
ExecStart=/usr/local/bin/node_exporter \
--web.listen-address=:9100
[Install]
WantedBy=multi-user.target
systemd: systemctl daemon-reload
systemctl enable node_exporter
systemctl start node_exporter
__IP__:9100/metrics