This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This script is to run nodeexporter as on the bare-metal instead of in a container. | |
# more information https://github.com/prometheus/node_exporter/issues/474 | |
# | |
# From the nodeexporter repo in the README.md | |
# The node_exporter is designed to monitor the host system. | |
# It's not recommended to deploy it as Docker container because it requires access to the host system. | |
# | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks. Looks like Oracle introduced the changes in the download. | |
wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-x64.tar.gz" |