Skip to main content

Updates and Upgrades

The Knocknoc software is managed by your operating system, as such updates can be managed within your patching cycle and complete control.

These are applied by utilizing your relevant package management system, as below.

 

On Debian / Ubuntu and similar variants:

# update your package information
sudo apt update

# update the software
sudo apt install --only-upgrade knocknoc-server knocknoc-agent

# restart the services if they are not restarted
sudo systemctl restart knocknoc-server
sudo systemctl restart knocknoc-agent

On Red Hat / CentOS / Oracle Linux:

# update your package information
sudo yum check-update

# update the software
#
# on older systems
sudo yum update knocknoc-server knocknoc-agent
# on newer systems
sudo dnf upgrade knocknoc-server knocknoc-agent

# restart the services if they are not restarted
sudo systemctl restart knocknoc-server
sudo systemctl restart knocknoc-agent