How to install Pyxsoft Anti Malware for Cpanel Servers Today We Learn How to Install pyxsoft and protect Cpanel Server


Software Requirements

  • WHM/cPanel version 11.30 or superior
  • Apache Web Server
  • Mod Security 2.5 or superior installed
  • ClamAV Antivirus installed
  • Internal WHM Ioncube loader enabled

Note: The plugin doesn’t work with Litespeed, Lighttpd or Nginx web servers.

License Requirements

You don’t need to buy a license right now. The plugin will work in trial mode up to 7 days.

Installing the Antimalware plugin

Execute the following commands in a SSH console:

cd ~
tar -xzf anti_malware.tar.gz
cd anti_malware

If the installation ends successfully, enter WHM and go to Pyxsoft Antimalware.

Installing Mod Security

To install mod security you need to perform the next steps. It depends on your EasyApache version.

For EasyApache 3:

Be careful when recompiling your system. Do it at your own risk.

  1. Log into your WHM panel
  2. Click on EasyApache 3 option
  3. Click on “Previously Saved Config” and “Start cusomizing based on profile” button.
  4. Select Apache 2.2 (or Apache 2 if you use PHP 4) and go to Next Step
  5. Select your prefered PHP Version. PHP 5 is recommended. Go to Next Step.
  6. Select minor version or use the selected one. Go to Next Step.
  7. Check the Mod Security option. Leave the other options as suggested.
  8. Click “Save and Build”. Click on “Yes” when asked you to recompile Apache and PHP
  9. Wait until the process is finished.

For EasyApache 4:

  1. Log into your server using SSH and perform the next command:

yum install ea-apache24-mod_security2


IMPORTANT: After the mod security installation, go to WHM > Mod Security Vendors and ensure that OWASP ModSecurity Core Rule Set Is *not installed*.

Users are reporting many problems with WordPress sites when the OWASP rules are installed.

Installing ClamAV

Installing ClamAV is easier than installing mod_security:

  1. Log into your WHM panel
  2. Click on Manage Plugins option.
  3. At the right side of the screen, locate ClamAV and check “Install and keep updated”
  4. Press Save

cPanel will install ClamAV in your server. It will take about 20 minutes. Do not interrupt the operation.


Enabling Ioncube

Internal Ioncube loaders must be enabled ir order to execute the AM plugin. Follow the next steps:

  1. Log into your WHM panel
  2. Go to Tweak Settings > PHP
  3. Select “ioncube” in cPanel PHP loader. If you had selected sourceguardian, it means that you probabilly have another extension in conflict with Anti Malware Plugin.
  4. Save changes.
Was this answer helpful? 4 Users Found This Useful (8 Votes)