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:

  1. Open PowerShell as an administrator by entering PowerShell into the Windows search bar, right-clicking on Windows PowerShell App and selecting Run as Administrator.

  2. 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.

  3. Execute the following command to install Make via Chocolatey:

    choco install make
  4. At the prompt enter:

    make --version
  5. Press Enter. The version number should display.

    Warning

    If you see an error, repeat the steps above, checking each step.

Install SSH as follows:

  1. Open PowerShell.

    Note

    To open PowerShell: enter the text PowerShell into the Windows Search bar and select Windows PowerShell.

  2. 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.

  1. Install Homebrew (following the instructions on the Homebrew page).

  2. Open Terminal.

  3. If you do not have make installed, enter:

    $ brew install make
  4. 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.

  1. Open Terminal.

  2. Enter the following command:

    $ sudo apt update && sudo apt upgrade
    
  3. If you do not have make installed, enter the following command:

    $ sudo apt install build-essential
    

    Accept all prompts.

  4. If you do not have Git installed, enter the following command:

    $ sudo apt install git
    

    Accept all prompts.