Stage 2: Install and Configure the ChirpStack Network Server
Install the Prerequisites
Follow the instructions for your operating system.
Windows 10 Prerequisites
If you do not have Git installed, download and install Git. You can choose all the defaults for the purposes of this lab.
Install Make as follows:
-
Open PowerShell as an administrator by entering PowerShell into the Windows search bar, right-clicking on Windows PowerShell App and selecting Run as Administrator.
-
Execute the following command to install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Warning
If you see an error, visit Installing Chocolatey.
-
Execute the following command to install Make via Chocolatey:
choco install make
-
At the prompt enter:
make --version
-
Press Enter. The version number should display.
Warning
If you see an error, repeat the steps above, checking each step.
Install SSH as follows:
-
Open PowerShell.
Note
To open PowerShell: enter the text PowerShell into the Windows Search bar and select Windows PowerShell.
-
Enter the following at the command prompt:
ssh
If no error message displays, SSH is installed and you can proceed to the next step.
If an error displays, download and install PuTTY.
macOS Prerequisites
Follow these instructions to install make and git.
-
Install Homebrew (following the instructions on the Homebrew page).
-
Open Terminal.
-
If you do not have make installed, enter:
$ brew install make
-
If you do not have Git installed, enter:
$ brew install git
Linux Prerequisites
Follow these instructions to install make and git.
Note
Instructions are provided for Debian/Ubuntu based Linux, tested on Ubuntu 20.04. If you are using Linux Arch, all the tools listed can be installed using Pacman.
-
Open Terminal.
-
Enter the following command:
$ sudo apt update && sudo apt upgrade
-
If you do not have make installed, enter the following command:
$ sudo apt install build-essential
Accept all prompts.
-
If you do not have Git installed, enter the following command:
$ sudo apt install git
Accept all prompts.