Instructions

Installation · Chapter 7

Installation via command line

With the card prepared with the operating system and the Raspberry connected to the internet, the system installs with a single line. A Linux computer with Ubuntu Server (x86) has its own line: see the note at the end of step 2.

Before you start

You need: the device powered on and connected by cable (chapter 5), its IP address, and the username and password you created when installing the operating system (chapter 4).

1

Connect to the device over SSH

Open the Terminal application on your computer; it must be connected to the same network as the Raspberry you are going to install. Type ssh, followed by the username and the device IP address:

Terminal (on your computer)
ssh username@device-IP-address

For example: ssh [email protected]

SSH connection to the device
SSH connection to the device.
The first time

The first connection will ask whether you trust the device: answer yes. Then type the password; it does not show as you type, which is normal.

2

Paste the installation command

Once inside the device, paste the command that matches your model and press Enter:

Raspberry Pi 5
curl -fsSL "https://panel.stream-gateway.com/install.sh" | sudo bash
Raspberry Pi 4
curl -fsSL "https://panel.stream-gateway.com/install-pi4.sh" | sudo bash
Linux computer (Ubuntu Server LTS, x86)
curl -fsSL "https://panel.stream-gateway.com/releases/install-linux.sh" | sudo bash
Linux computer

On a Linux computer there is no card to prepare (chapter 4 does not apply): prepare it as described in chapter 3, connect over SSH with the user you created when installing Ubuntu, and paste the Linux computer line. From here on, the steps and the screens are the same: the summary, the Gateway UI address, the first sign-in and the activation (chapter 9). A computer handles many more streams than a Raspberry, up to 250 depending on the hardware.

Installation command in the terminal
The installation command pasted in the terminal.
3

Wait for it to finish

The installation is discreet: you will see an activity indicator while it works, with no technical logs on screen. It takes several minutes: it downloads and installs the whole system.

4

Installation complete

When done, the terminal shows a summary and the device reboots by itself.

Installation complete screen
Final installation summary.

The summary includes four items. Copy and save them, or take a picture of this final screen.

  • Version: the installed system version.
  • Device ID: the unique identifier of the device.
  • Gateway UI: the address to open the interface in the browser.
  • MAC: the device physical network address.
Normal notice about eth1

If you see a message that «eth1 has no link», it is normal: it means no multicast network is connected. The device will run in unicast mode; you can connect the multicast cable later.

Done

Note the Gateway UI address: it is the one you will open in the browser to use the device (chapter 8). The system is now installed.