Agent Setup

Agent Manager is required to activate Firewall and Antivirus. There are three methods of installation: plugin for WordPress websites and Manual/Automatic for other PHP based websites.

Installation guide:

Select the site you added in your account and go to the «Agent manager» section in the left menu. For WordPress websites please follow the instructions for WordPress Plugin activation.

Document image

Manual installation:

Click on the «NEXT» button in the «MANUAL» column Click on the «DOWNLOAD AGENT» button and download the agent manager

Document image

Download the agent manager to the root directory of your site and wait until the installation of the antivirus and firewall is complete

Document image

Antivirus and firewall modules are now available to you!

Automatic installation:

Click on the «NEXT» button in the «AUTOMATIC» column Fill in the fields for access (FTP)

Document image

Click on the "CONFIRM" button and wait until the agents are installed

Document image

Antivirus and firewall modules are now available to you!

Document image

We will not store FTP access after the installation process is done!



Requirements



Minimum requirements for the correct operation of the modules

  • php 7.0
  • php - json
  • php - sodium

Recommended requirements:

  • php 7.4
  • php - gmp
  • php - json
  • php - sodium
  • php - pdo

What to check if agent can’t be installed?

  • Check the version of your PHP, at the moment, versions below 7.0 are not supported by our agent manager, however we plan to do this
  • If you have an old version of PHP, we recommend that you upgrade for your own safety
  • Check permissions on your site and users rights

Additional recommendations

Give permissions to edit the downloaded file to the user who runs PHP. To find out which user php is running from, you need to find the PHP configuration file, for example, in /etc/php/fpm/pool.d/www.conf It has a www section and user and group values.

[www] user = www-data group = www-data

The PHP interpreter usually runs on behalf of www-data or apache. Typically, a file is uploaded on behalf of the FTP user. Then you need to change the owner of the file, for example:

chown www-data: www-data [your_agent_name].am.php

And give write permissions to this file (for owner and group):

chmod 664 [your_agent_name].am.php

Grant write permissions to the root directory and to the index.php file for the user PHP is running from.

chown www-data:www-data index.php chmod 664 index.php

If you use a special web hosting control panel, then you can go to the attributes (or settings) of these files and also configure the rights

  • Make sure that you correctly added the site to your account (check the HTTP or HTTPS protocol)
  • Check if you downloaded your agent correctly during manual installation. Try to request it on your site

site.com/your_name_agent_here.am.php

If the agent is loaded correctly, you will see a 32-character string, for example: peT67cBvQUS8zpZ2uXuaOGz2W196oNnX