48
Verify the integrity of the script with this:
49
50
```bash
51
-[ "b6d16c171ccad073b86327246151d875" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
51
+[ "735e9966a4cf0187863e06a5282b34a7" = "$(curl -Ss https://my-netdata.io/kickstart.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
52
```
53
54
_It should print `OK, VALID` if the script is the one we ship._
67
- `--dont-start-it`: Prevent the installer from starting Netdata automatically.
68
- `--stable-channel`: Automatically update only on the release of new major versions.
69
- `--no-updates`: Prevent automatic updates of any kind.
70
+- `--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.
71
72
Example using all the above parameters:
73
74
```bash
74
-$ bash <(curl -Ss https://my-netdata.io/kickstart.sh) --dont-wait --dont-start-it --no-updates --stable-channel
75
+$ bash <(curl -Ss https://my-netdata.io/kickstart.sh) --dont-wait --dont-start-it --no-updates --stable-channel --local-files /tmp/my-selfdownloaded-tarball.tar.gz /tmp/checksums.txt /tmp/manually.downloaded.go.d.binary.tar.gz /tmp/manually.downloaded.go.d.config.tar.gz
76
```
76
-
77
+Note: `--stable-channel` and `--local-files` overlap, if you use the tarball override the stable channel option is not effective
78
</details>
79
80
Once Netdata is installed, see [Getting Started](../../docs/GettingStarted.md).
109
Verify the integrity of the script with this:
110
111
```bash
111
-[ "4415e8c13e529a795abb953a9be14ad5" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
112
+[ "5c432e78d5f40403e8b7c00b1a19a7ca" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID"
113
```
114
115
*It should print `OK, VALID` if the script is the one we ship.*
120
- `--dont-start-it`: Prevent the installer from starting Netdata automatically.
121
- `--stable-channel`: Automatically update only on the release of new major versions.
122
- `--no-updates`: Prevent automatic updates of any kind.
123
+- `--local-files`: Used for offline installations. Pass two file paths, one for the tarball and one fir the checksum file, to force kickstart run the process using those files.
124
125
Example using all the above parameters:
126
127
```sh
126
-$ bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh) --dont-wait --dont-start-it --no-updates --stable-channel
128
+$ bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh) --dont-wait --dont-start-it --no-updates --stable-channel --local-files /tmp/my-selfdownloaded-tarball.tar.gz /tmp/checksums.txt
129
```
130
+Note: `--stable-channel` and `--local-files` overlap, if you use the tarball override the stable channel option is not effective
131
132
If your shell fails to handle the above one liner, do this:
133
507
- Protect yourself from the rare instance when major bugs slip through our testing and negatively affect a Netdata installation
508
- Retain more control over the Netdata version you use
509
510
+## Offline installations
511
+
512
+You can install Netdata on systems without internet access, but you need to take
513
+a few extra steps to make it work.
514
+
515
+By default, the `kickstart.sh` and `kickstart-static64.sh` download Netdata
516
+assets, like the precompiled binary and a few dependencies, using the system's
517
+internet connection, but you can also supply these files from the local filesystem.
518
+
519
+First, download the required files. If you're using `kickstart.sh`, you need the
520
+Netdata tarball, the checksums, the go.d plugin binary, and the go.d plugin
521
+configuration. If you're using `kickstart-static64.sh`, you need only the
522
+Netdata tarball and checksums.
523
+
524
+Download the files you need to a system of yours that's connected to the
525
+internet. You can use the commands below, or visit the [latest Netdata release
526
+page](https://github.com/netdata/netdata/releases/latest) and [latest go.d
527
+plugin release page](https://github.com/netdata/go.d.plugin/releases) to
528
+download the required files manually.
529
+
530
+```bash
531
+cd /tmp
532
+
533
+# Since you won't be having an active internet connection on the destination, you will need to manually get the kickstart script itself
534
+# Download kickstart.sh or kickstart-static64.sh, depending the installation you have chosen to run
535
+curl -s https://my-netdata.io/kickstart.sh > kickstart.sh
536
+or
537
+curl -s https://my-netdata.io/kickstart-static64.sh > kickstart-static64.sh
538
+
539
+# Netdata tarball
540
+curl -s https://api.github.com/repos/netdata/netdata/releases/latest | grep "browser_download_url.*tar.gz" | cut -d '"' -f 4 | wget -qi -
541
+
542
+# Netdata checksums
543
+curl -s https://api.github.com/repos/netdata/netdata/releases/latest | grep "browser_download_url.*txt" | cut -d '"' -f 4 | wget -qi -
544
+
545
+# Netdata dependency handling script
546
+curl -s https://raw.githubusercontent.com/netdata/netdata-demo-site/master/install-required-packages.sh | wget -qi -
547
+
548
+# go.d plugin
549
+# For binaries for OS types and architectures not listed on [go.d releases](https://github.com/netdata/go.d.plugin/releases/latest), kindly open a github issue and we will do our best to serve your request
550
+export OS=$(uname -s | tr '[:upper:]' '[:lower:]') ARCH=$(uname -m | sed -e 's/i386/386/g' -e 's/i686/386/g' -e 's/x86_64/amd64/g' -e 's/aarch64/arm64/g' -e 's/armv64/arm64/g' -e 's/armv6l/arm/g' -e 's/armv7l/arm/g' -e 's/armv5tel/arm/g') && curl -s https://api.github.com/repos/netdata/go.d.plugin/releases/latest | grep "browser_download_url.*${OS}-${ARCH}.tar.gz" | cut -d '"' -f 4 | wget -qi -
551
+
552
+# go.d configuration
553
+curl -s https://api.github.com/repos/netdata/go.d.plugin/releases/latest | grep "browser_download_url.*config.tar.gz" | cut -d '"' -f 4 | wget -qi -
554
+```
555
+
556
+Move these files to the `/tmp` directory on the offline system in whichever way
557
+your defined policy allows (if any).
558
+
559
+Now you can run either the `kickstart.sh` or `kickstart-static64.sh` scripts
560
+using the `--local-files` option. This option requires you to specify
561
+the location and names of the files you just downloaded.
562
+
563
+!!! note When using `--local-files`, the `kickstart.sh` or
564
+ `kickstart-static64.sh` scripts won't download any Netdata assets from the
565
+ internet. But, you may still need a connection to install dependencies using
566
+ your system's package manager. The scripts will warn you if your system
567
+ doesn't have all the dependencies.
568
+
569
+```bash
570
+# kickstart.sh
571
+bash kickstart.sh --local-files /tmp/netdata-version-number-here.tar.gz /tmp/sha256sums.txt /tmp/go.d-binary-filename.tar.gz /tmp/config.tar.gz /tmp/install-required-packages.sh
572
+
573
+# kickstart-static64.sh
574
+bash kickstart-static64.sh --local-files /tmp/netdata.tar.gz /tmp/checksums.txt
575
+```
576
+
577
+Now that you're finished with your offline installation, you can move on to our
578
+[getting started guide](../../docs/GettingStarted.md)!
579
+
580
## Automatic updates
581
582
By default, Netdata's installation scripts enable automatic updates for both nightly and stable release channels.