Skip to main content

Server Installation

Quick Start

For the admin who know what they need, and need a fast way to get it, you can use this command to setup and install knocknoc server very quickly. Currently only supported on Debian 11 or 12.

Simply run this command as a root user on your Debian system, and it will configure apt, setup secure repository access, and install knocknoc server.

curl -sSL https://packages.knocknoc.io/setup/setup_knocknoc.sh | bash

Note - you need a license to use knocknoc server, and a repository username and password. Both of these things are available in the Knocknoc Licensing Portal. 

The script asks you for the repository username and password straight after agreeing to the license agreement, so please have this handy before you run the above command.

Once the script is completed, you should be able to obtain the knocknoc-admin password from the logs, and then browse to /admin on your instance address to continue the next steps.
You will need to license the server, and then configure authentication, agents, backends and acl.sacls

 

NTP

Its important all the servers in the knocknoc cluster and agents have the correct time. We recommend using chrony on a linux VM to keep the time, or whatever you need to get the job done. Time is an important aspect of authentication, and users are authorised for a time window that is correct for the current time, relative to now. Hence, please keep all the servers time correct.