Skip to main content

Server Installation

Self-Hosted Server Setup

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

  1. Log into you Knocknoc Server command line.
  2. line
  3. Becomeand become the root user using sudo -i user.
  4. Run this command it will configure apt, setup secure repository access, and install knocknoc server.
    curl -sSL https://packages.knocknoc.io/setup/setup_knocknoc.sh | bash
  5. Once the script is completed, you should be able to obtain the knocknoc-admin password from the logs
    cat /var/log/syslog |grep knocknoc-admin or journalctl -u knocknoc |grep knocknoc-admin
  6. Then browse to https://YourKnocknoc.url/admin to continue the next steps.

Note - you need a license to use knocknoc server, the details can be found here.

This is currently only supported on Debian 11 or 12.