How to install Pyxsoft Anti Malware for cPanel dedicated server

(Last Updated On: June 16, 2017)

Install pyxsoft anti-malware for Cpanel dedicated server or VPS server to secure server from virus and malware and increase Cpanel security learn how to install pyxsoft antimalware plugin on Cpanel dedicated server step by step

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 an SSH console:

cd ~
wget http://www.pyxsoft.com/software/antimalware/anti_malware.tar.gz
tar -xzf anti_malware.tar.gz
cd anti_malware
sh install.sh

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 customizing 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 preferred 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 on 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 source guardian, it means that your probability has another extension in conflict with Anti-Malware Plugin.
  4. Save changes.

 

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website is using cookies to improve the user-friendliness. You agree by using the website further.

Privacy policy