forked from NicolasLoew/vps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetdata-ubuntu.sh
22 lines (21 loc) · 885 Bytes
/
netdata-ubuntu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
apt-get -y update
apt-get -y upgrade
apt-get -y install curl
curl -Ss 'https://raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh netdata
apt-get -y install curl jq nodejs
git clone https://github.com/firehol/netdata.git --depth=1
cd netdata
chmod +x netdata-installer.sh
./netdata-installer.sh
#echo "making netdata start at boot"
#killall netdata
#cp system/netdata.service /etc/systemd/system/
#systemctl daemon-reload
#systemctl enable netdata
#service netdata start
#echo "Done. Go to yourip:19999"
#manualinstallation
# Debian / Ubuntu
#apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config
# Centos / Fedora / Redhat
#yum install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autoconf-archive autogen automake pkgconfig