summaryrefslogtreecommitdiffstats
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
parenta3db31a586eb868ec9e0cf262b5702d784d0ab1c (diff)
Added interactive kickstart scripts where possible (#12098)
-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
-rw-r--r--exporting/prometheus/README.md11
-rw-r--r--packaging/installer/README.md12
-rw-r--r--packaging/installer/methods/kickstart.md9
7 files changed, 22 insertions, 35 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,
diff --git a/exporting/prometheus/README.md b/exporting/prometheus/README.md
index 8b56b68a64..22c011e63a 100644
--- a/exporting/prometheus/README.md
+++ b/exporting/prometheus/README.md
@@ -2,8 +2,9 @@
title: "Export metrics to Prometheus"
description: "Export Netdata metrics to Prometheus for archiving and further analysis."
custom_edit_url: https://github.com/netdata/netdata/edit/master/exporting/prometheus/README.md
-sidebar_label: Using Netdata with Prometheus
+sidebar_label: "Using Netdata with Prometheus"
-->
+import { OneLineInstallWget, OneLineInstallCurl } from '../../src/components/OneLineInstall/'
# Using Netdata with Prometheus
@@ -23,15 +24,11 @@ of installing the latest Netdata and keep it upgrade automatically.
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/>
At this point we should have Netdata listening on port 19999. Attempt to take your browser here:
diff --git a/packaging/installer/README.md b/packaging/installer/README.md
index b9d754206f..e87078e6d5 100644
--- a/packaging/installer/README.md
+++ b/packaging/installer/README.md
@@ -3,7 +3,9 @@ title: "Installation guide"
custom_edit_url: https://github.com/netdata/netdata/edit/master/packaging/installer/README.md
-->
-import { Install, InstallBox } from '../../../src/components/Install/'
+import { Install, InstallBox } from '../../src/components/Install/'
+
+import { OneLineInstallWget, OneLineInstallCurl } from '../../src/components/OneLineInstall/'
# Installation guide
@@ -37,15 +39,11 @@ This method is fully automatic on all Linux distributions, including Ubuntu, Deb
To install Netdata, including all dependencies required to connect to Netdata Cloud, and get _automatic nightly
updates_, 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/>
This script will preferentially use native DEB/RPM packages if we provide them for your platform.
diff --git a/packaging/installer/methods/kickstart.md b/packaging/installer/methods/kickstart.md
index b5b3102057..3435b56062 100644
--- a/packaging/installer/methods/kickstart.md
+++ b/packaging/installer/methods/kickstart.md
@@ -3,6 +3,7 @@ title: "Install Netdata with kickstart.sh"
description: "The kickstart.sh script installs Netdata from source, including all dependencies required to connect to Netdata Cloud, with a single command."
custom_edit_url: https://github.com/netdata/netdata/edit/master/packaging/installer/methods/kickstart.md
-->
+import { OneLineInstallWget, OneLineInstallCurl } from '../../../src/components/OneLineInstall/'
# Install Netdata with kickstart.sh
@@ -18,15 +19,11 @@ The kickstart script works on all Linux distributions and macOS environments. By
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/>
## What does `kickstart.sh` do?