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.
- Log into you Knocknoc Server command
line.line Becomeand become the rootuser using
user.sudo -i- 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
- 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
orjournalctl -u knocknoc |grep knocknoc-admin
- 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.