Code Monkey home page Code Monkey logo

takserver-deb-installer's Introduction

takserver-deb-installer

First:

  • Download the .deb installer from tak.gov
  • Upload to Google Drive
  • Share the file, set share permissions to "anyone with the link"
  • Get the sharing link, you will need the file id during the script install

https://drive.google.com/file/d/<FILE ID STRING HERE>/view?usp=sharing

*** If you are setting up a FQDN for SSL, make sure you already have your DNS entry (A Record) setup to point your server IP to the domain name you want the server hosted at. ***

Second:

  • Login as root user to your install target machine
  • Download and Run the install script with the command below

cd /tmp/ && git clone https://github.com/atakhq/takserver-deb-installer.git && cd ./takserver-deb-installer && sudo chmod +x install-deb.sh && . install-deb.sh

What the script does:

  • creates ubuntu user 'tak' with random 15char password to install the service under

  • installs takserver and enables the service to run at startup on reboots

  • disables insecure ports in CoreConfig.xml

  • configures certificate enrollment

  • Optional:

    • Configure FQDN for seamless cert enrollment and no SSL warnings in browser
    • Setup simple-rtsp-server for video streaming
    • Additional user connection datapackage creation
  • Instruction at the end with link to admin login with random gen password

Install Complete image

Notes:

If you encounter this error:

Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process XXXXXX (unattended-upgr)

Open a new SSH terminal, and fire this command to remove the apt upgrade lock - REPLACE XXXXXX with the process ID shown in the error

sudo kill -9 XXXXXX

  • 5/1/2023

    • Minor changes to improve stability on some people reporting issues with cert gen step looping (added sudo to script commands and exported cert meta values if sed failed to update the config file)
    • Fix broken ITAK QR code
  • 4/23/2023

    • Added support for TAK Server 4.9 (some minor changes)
    • Added prompt for additional user cert creation
  • 4/22/2023

    • Added ITAK Server Auto-Setup QR Code to end of script, and png saved to /opt/tak/certs/files
    • Error trapping for dependency installs, tak server isntall, and user execution permission of the scripts
    • General improvements to speed up the install
  • 4/19/2023

    • FQDN SSL issue was fixed
    • rtsp-simple-server installer prompt added

To Do:

  • UFW

takserver-deb-installer's People

Contributors

atakhq avatar bleschke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.