Server Installation
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 knocknocKnocknoc server very quickly.
Self-Hosted Servers
- Log into you Knocknoc Server via the command line and become the root user.
- Run this command it will configure apt, setup secure repository access, and install
knocknocKnocknoc 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
- Accept the License Agreement.
- Knocknoc Server will ask the IP to listen on and the port. By default it will listen on all IP's on port 8756, this is because in most instances Knocknoc will sit behind a web proxy or firewall that will redirect port 443 to Knocknoc server.
- The install will then ask for TrustedForwarders, by default 127.0.0.1/32 is entered but if the server is behind a reverse proxy, this IP will need to be listed.
- Lastly the install will generate an SSL certificate and key where it will ask you for Organizational Details.
- You are now ready to log into your Knocknoc admin portal.
Note - you need a license to use knocknocKnocknoc server, the details can be found here.
This is currently only supported on Debian 11 or 12.