Skip to content

Zero Touch Installation

The ZeroTouch (ZT or ZTI) installation is the simplest way to install FTS. Has been tested on the cloud and on the RasberryPi; however, only on Digital Ocean cloud you will have the perfect experience, where all is installed and configured.

If you accept all the defaults, when completed your RaspPi will be configured similar to the following:

image

Instructions

To install, enter into the console on an Ubuntu 22.04 server:

wget -qO - bit.ly/freetakhub2 | sudo bash
alternatively, use the long form
wget -qO - https://raw.githubusercontent.com/FreeTAKTeam/FreeTAKHub-Installation/main/scripts/easy_install.sh | sudo bash
If you are still wanting to use the previous "legacy" version, please use the following command (please note this must be done in Ubuntu 22.04)

wget -qO - bit.ly/freetakhub2 | sudo INSTALL_TYPE=legacy bash

NOTE: * Intel-based architecture * The map in the web interface may not work with non-Intel-based architecture.

how ZT works

The command wget -qO - bit.ly/freetakhub2 | sudo bash is a combination of several commands and options used together to perform a specific task. Here's a breakdown of what each part of the command does:

wget : This is the command for a popular network downloader utility.

-q : This option tells wget to operate in quiet mode, which suppresses the usual output.

O - : as the capital letter 'o'. The -O - option tells wget to redirect the downloaded content to standard output (stdout) instead of saving it to a file. The - character is used here to denote stdout.

bit.ly/freetakhub2 : This is a shortened URL using the bit.ly service. It redirects to a longer URL from which wget will download content.

| : This is a pipe. It takes the output of the command on its left (wget in this case) and uses it as the input for the command on its right.

sudo : This command is used to execute the following command (bash) with superuser (root) privileges. It's required for commands that need higher permissions to run, typically for installing software or modifying system files.

bash : This is the command to invoke the Bash shell. When used without a filename, bash will read and execute commands from its standard input (which, in this case, is the output of wget).

Putting it all together, wget -qO - bit.ly/freetakhub2 | sudo bash downloads the content from the URL shortened as bit.ly/freetakhub2, then immediately executes that content as a bash script with superuser privileges.

Zero Touch Deployment Diagram

This script will install and configure FreeTAKHub components.

  1. FreeTAKServer (FTS): The core server that interfaces with TAK-enabled clients
  2. FreeTAKServer User Interface (FTS-UI): A web-based user interface.
  3. Video Server: based on RTSP Simple Server. Handles video streaming.
  4. Server: Handle integration services (see below)
  5. FreeTAKHub Integration Server: Based on Node Red. Handles FTS integrations like SALUTE reports & video checking services (checks if videos are running and notifies FTS).
  6. FreeTAKHub Voice Server: Uses Murmur or Mumble VOIP Server for voice chatting.
  7. FreeTAKHub Webmap: A mapping component on the web interface.

FreeTAK 2.1 ZTI deployment

Custom Deployment (Advanced)

This script prompts the user to select specific FreeTAKHub components to install:

wget -qO - https://raw.githubusercontent.com/FreeTAKTeam/FreeTAKHub-Installation/main/scripts/advanced_install.sh | sudo bash

Shortened URL for Custom Deployment (under construction)

wget -qO rb.gy/ocghax | sudo bash

Verify your installation

at the end of the ZT you will see a report that will provide credentials and a play recap you may now proceed to Installation Check

Services

the current name of the services installed by the Zero Touch :

  • fts.service
  • fts-ui.service
  • mumble-server.service
  • nodered.service
  • mediamtx.service (was rtsp-simple-server.service)

use

 systemctl list-units --type=service
to see if they are installed and active

to get the exact location/status use

systemctl status [SERVICENAME].service

this command will output the status of all the services

sudo systemctl status fts.service fts-ui.service mumble-server.service nodered.service mediamtx.service

how to start / stop / enable a service?