summaryrefslogtreecommitdiffstats
path: root/docs/guides
diff options
context:
space:
mode:
authorTina Luedtke <kickoke@users.noreply.github.com>2022-02-08 00:49:27 -0800
committerGitHub <noreply@github.com>2022-02-08 08:49:27 +0000
commit29e4ad3b6529bbe7a5c76b2fd943456edd5363a6 (patch)
treec1d56d82b297f9343e48c13d3a4bdd6eddad6783 /docs/guides
parenta3db31a586eb868ec9e0cf262b5702d784d0ab1c (diff)
Added interactive kickstart scripts where possible (#12098)
Diffstat (limited to 'docs/guides')
-rw-r--r--docs/guides/export/export-netdata-metrics-graphite.md5
-rw-r--r--docs/guides/monitor/lamp-stack.md5
-rw-r--r--docs/guides/monitor/pi-hole-raspberry-pi.md5
-rw-r--r--docs/guides/step-by-step/step-00.md10
4 files changed, 10 insertions, 15 deletions
diff --git a/docs/guides/export/export-netdata-metrics-graphite.md b/docs/guides/export/export-netdata-metrics-graphite.md
index 2bea1c5527..633f19127e 100644
--- a/docs/guides/export/export-netdata-metrics-graphite.md
+++ b/docs/guides/export/export-netdata-metrics-graphite.md
@@ -3,6 +3,7 @@ title: Export and visualize Netdata metrics in Graphite
description: "Use Netdata to collect and export thousands of metrics to Graphite for long-term storage or further analysis."
image: /img/seo/guides/export/export-netdata-metrics-graphite.png
-->
+import { OneLineInstallWget } from '../../../src/components/OneLineInstall/'
# Export and visualize Netdata metrics in Graphite
@@ -31,9 +32,7 @@ Let's get started.
If you don't have the Netdata Agent installed already, visit the [installation guide](/packaging/installer/README.md)
for the recommended instructions for your system. In most cases, you can use the one-line installation script:
-```bash
-wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
-```
+<OneLineInstallWget/>
Once installation finishes, open your browser and navigate to `http://NODE:19999`, replacing `NODE` with the IP address
or hostname of your system, to find the Agent dashboard.
diff --git a/docs/guides/monitor/lamp-stack.md b/docs/guides/monitor/lamp-stack.md
index 100dc7dd7a..91757ced36 100644
--- a/docs/guides/monitor/lamp-stack.md
+++ b/docs/guides/monitor/lamp-stack.md
@@ -7,6 +7,7 @@ author_title: "Editorial Director, Technical & Educational Resources"
author_img: "/img/authors/joel-hans.jpg"
custom_edit_url: https://github.com/netdata/netdata/edit/master/docs/guides/monitor/lamp-stack.md
-->
+import { OneLineInstallWget } from '../../../src/components/OneLineInstall/'
# LAMP stack monitoring (Linux, Apache, MySQL, PHP) with Netdata
@@ -59,9 +60,7 @@ To follow this tutorial, you need:
If you don't have the free, open-source Netdata monitoring agent installed on your node yet, get started with a [single
kickstart command](/docs/get-started.mdx):
-```bash
-wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
-```
+<OneLineInstallWget/>
The Netdata Agent is now collecting metrics from your node every second. You don't need to jump into the dashboard yet,
but if you're curious, open your favorite browser and navigate to `http://localhost:19999` or `http://NODE:19999`,
diff --git a/docs/guides/monitor/pi-hole-raspberry-pi.md b/docs/guides/monitor/pi-hole-raspberry-pi.md
index 8d0fb06a81..a45c4d9eb5 100644
--- a/docs/guides/monitor/pi-hole-raspberry-pi.md
+++ b/docs/guides/monitor/pi-hole-raspberry-pi.md
@@ -4,6 +4,7 @@ description: "Monitor Pi-hole metrics, plus Raspberry Pi system metrics, in minu
image: /img/seo/guides/monitor/netdata-pi-hole-raspberry-pi.png
custom_edit_url: https://github.com/netdata/netdata/edit/master/docs/guides/monitor/pi-hole-raspberry-pi.md
-->
+import { OneLineInstallWget } from '../../../src/components/OneLineInstall/'
# Monitor Pi-hole (and a Raspberry Pi) with Netdata
@@ -52,9 +53,7 @@ possible historic data.
On Raspberry Pis running Raspbian, the best way to install Netdata is our one-line kickstart script. This script asks
you to install dependencies, then compiles Netdata from source via [GitHub](https://github.com/netdata/netdata).
-```bash
-wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
-```
+<OneLineInstallWget/>
Once installed on a Raspberry Pi 4 with no accessories, Netdata starts collecting roughly 1,500 metrics every second and
populates its dashboard with more than 250 charts.
diff --git a/docs/guides/step-by-step/step-00.md b/docs/guides/step-by-step/step-00.md
index 0d052f2560..b7cf5d144e 100644
--- a/docs/guides/step-by-step/step-00.md
+++ b/docs/guides/step-by-step/step-00.md
@@ -3,6 +3,7 @@ title: "The step-by-step Netdata guide"
date: 2020-03-31
custom_edit_url: https://github.com/netdata/netdata/edit/master/docs/guides/step-by-step/step-00.md
-->
+import { OneLineInstallWget, OneLineInstallCurl } from '../../../src/components/OneLineInstall/'
# The step-by-step Netdata guide
@@ -48,14 +49,11 @@ Netdata. We use this information to better understand how we can improve the Net
To install Netdata, run the following as your normal user:
-´´´bash
-wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
-´´´
+<OneLineInstallWget/>
+
Or, if you have cURL but not wget (such as on macOS):
-´´´bash
-curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh
-´´´
+<OneLineInstallCurl/>
Once finished, you'll have Netdata installed, and you'll be set up to get _nightly updates_ to get the latest features,