This page covers detailed instructions on using and configuring the automatic one-line installation script named
kickstart.sh
.
This method is fully automatic on all Linux distributions. To install Netdata from source, including all dependencies required to connect to Netdata Cloud, and get automatic nightly updates, run the following as your normal user:
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
See our installation guide for details about automatic updates or nightly vs. stable releases.
kickstart.sh
do?The kickstart.sh
script does the following after being downloaded and run using bash
:
--dont-wait
option, it will ask for your permission first./usr/src/netdata.git
../netdata-installer.sh
from the source tree, using any optional
parameters you have specified.netdata-updater.sh
to cron.daily
, so your Netdata installation will be updated with new nightly
versions, unless you override that with an optional parameter.The kickstart.sh
script passes all its parameters to netdata-installer.sh
, which you can use to customize your
installation. Here are a few important parameters:
--dont-wait
: Enable automated installs by not prompting for permission to install any required packages.--dont-start-it
: Prevent the installer from starting Netdata automatically.--stable-channel
: Automatically update only on the release of new major versions.--nightly-channel
: Automatically update on every new nightly build.--disable-telemetry
: Opt-out of anonymous statistics we use to make
Netdata better.--no-updates
: Prevent automatic updates of any kind.--reinstall
: If an existing install is detected, reinstall instead of trying to update it. Note that this
cannot be used to change installation types.--local-files
: Used for offline installations. Pass four file paths: the Netdata
tarball, the checksum file, the go.d plugin tarball, and the go.d plugin config tarball, to force kickstart run the
process using those files. This option conflicts with the --stable-channel
option. If you set this and
--stable-channel
, Netdata will use the local files.To use md5sum
to verify the integrity of the kickstart.sh
script you will download using the one-line command above,
run the following:
[ "35e92cd3fd8a29621e23962ac5626dfc" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
If the script is valid, this command will return OK, VALID
.
When you're finished with installation, check out our single-node or infrastructure monitoring quickstart guides based on your use case.
Or, skip straight to configuring the Netdata Agent.
Read through Netdata's documentation, which is structured based on actions and solutions, to enable features like health monitoring, alarm notifications, long-term metrics storage, exporting to external databases, and more.