Oct
5th

Installing the cPanel Plug-In for HostingArmor

HostingArmor offers the world’s only cPanel server security plug-in. Get help installing the cPanel plug-in with this blog post. Additional help is available within our control panel, from our support team.


######################################
cd /usr/local/cpanel/bin/;
wget http://hostingarmor.com/cpanel_plugin/v1/securityscan.cpanelplugin;
/usr/local/cpanel/bin/register_cpanelplugin /usr/local/cpanel/bin/securityscan.cpanelplugin;
mkdir -p /usr/local/cpanel/base/frontend/x3/securityscan/;
cd /usr/local/cpanel/base/frontend/x3/securityscan/;
rm -rf ss.tar.gz;
rm -rf index.php;
rm -rf index.html;
rm -rf getusers.live.php;
wget http://hostingarmor.com/cpanel_plugin/v1/ss.tar.gz;
tar zxvf ss.tar.gz
######################################


After the install is complete, log into cPanel as the cPanel user (not root) and click “Security Scan Service”. Enter the API key into the box which associates with the domain you wish to scan. After 5-30 minutes, you will be able to download the security scan report from the same cPanel plug-in. The security scan is run daily. You can download past scans as well.
Note, if you receive an error like “Fatal error: Call to undefined function curl_init()” in the Hostingarmor Cpanel module, your WHM PHP needs to be recompiled with curl. Follow these steps to do so:


log into WHM
  1. click easyapache on left
  2. click start customizing based on profile
  3. click next step
  4. click next step
  5. select latest version of php 5.2.x, click next step
  6. click exhaustive options
  7. select “Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp”, click save and build, click yes, click “I understand”.


When this rebuild completes, the Hostingarmor cPanel Module will not display the curl_init error.

Leave a comment

Popular Post