Skip to content

Updating Linux WAF packages

These instructions describe the steps to update installed Wallarm WAF modules to the version 2.12.

Updating the Postanalytics Module

The postanalytics module should be updated prior to updating any other packages if it is installed on the separate server.

If the postanalytics module and Wallarm NGINX module shares the same server, then no additional actions are required. Take steps described in this document to update all packages at once.

1. Update the Wallarm WAF Packages

Run the command if postanalytics module and Wallarm WAF modules are installed on the same server:

sudo apt update
sudo apt install wallarm-node
sudo apt update
sudo apt install wallarm-node
sudo apt update
sudo apt install wallarm-node
sudo apt update
sudo apt install wallarm-node
sudo apt update
sudo apt install wallarm-node
yum update wallarm-node
yum update wallarm-node

Run the command if only Wallarm WAF module is installed on the server:

sudo apt update
sudo apt install wallarm-node-nginx
sudo apt update
sudo apt install wallarm-node-nginx
sudo apt update
sudo apt install wallarm-node-nginx
sudo apt update
sudo apt install wallarm-node-nginx
sudo apt update
sudo apt install wallarm-node-nginx
yum update wallarm-node-nginx
yum update wallarm-node-nginx

Repository access

Your system must have access to https://repo.wallarm.com to download the packages.

Ensure the access is not blocked by a firewall.

2. Check the NGINX Configuration File

Check that the configuration file is correct after updating the packages using the command:

nginx-wallarm -t

3. Restart NGINX

If you installed Wallarm with NGINX Plus or as a dynamic module for NGINX, restart the nginx service:

sudo systemctl restart nginx
sudo service nginx restart
sudo service nginx restart
sudo systemctl restart nginx

If you installed Wallarm without NGINX Plus or not as a dynamic module for NGINX, restart the nginx-wallarm service:

sudo systemctl restart nginx-wallarm
sudo systemctl restart nginx-wallarm
sudo service nginx-wallarm restart
sudo service nginx-wallarm restart
sudo service nginx-wallarm restart
sudo service nginx-wallarm restart
sudo systemctl restart nginx-wallarm