This project is a bash script that aims to install node exporter on Ubuntu servers, as easily as possible!
- Default node exporter port is 9100.
Run the following command to install the latest version of node exporter on your Ubuntu server:
curl https://raw.githubusercontent.com/ongtungduong/node-exporter-installer/main/install-node-exporter.sh | bash
Run the following command to install the latest version of node exporter with custom port on your Ubuntu server.
Replace with your custom port before running the command.
curl https://raw.githubusercontent.com/ongtungduong/node-exporter-installer/main/install-node-exporter.sh | EXPORTER_PORT=<PORT> bash
Run the following command to install specific version of node exporter on your Ubuntu server.
Replace with your custom version before running the command.
curl https://raw.githubusercontent.com/ongtungduong/node-exporter-installer/main/install-node-exporter.sh | EXPORTER_VERSION=<VERSION> bash