Created
October 20, 2020 09:35
-
-
Save andrewm4894/f652ba2d53e74d530dc4b307075be8e1 to your computer and use it in GitHub Desktop.
Little script I am using when I want to install Netdata from a feature branch I am working on.
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
sudo apt-get update | |
# install python3 | |
#sudo apt-get install python3.7 | |
#sudo apt install python3 | |
sudo apt-get install python3-pip | |
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 | |
# update | |
sudo apt-get update | |
# install netdata from source | |
mkdir tmp | |
sudo curl -Ss 'https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh' > tmp/install-required-packages.sh && bash tmp/install-required-packages.sh --dont-wait -i netdata | |
sudo curl -Ss 'https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh' > tmp/install-required-packages.sh && bash tmp/install-required-packages.sh --dont-wait -i netdata-all | |
git clone --branch anomalies-collector https://github.com/andrewm4894/netdata.git --depth=100 | |
cd netdata | |
sudo ./netdata-installer.sh --dont-wait | |
cd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment