WHM Server protection plugin
If you'd like to install BitNinja into WHM, all you need to do is run the following command in your Linux terminal:
wget -q https://get.bitninja.io/bitninja-whm.tar.gz; mkdir bitninja-whm; tar -zxvf bitninja-whm.tar.gz -C ./bitninja-whm && ./bitninja-whm/install --license_key=****your_license_key******
You can obtain your custom license key by logging in to https://admin.bitninja.io and clicking on the Add Server button or visiting the settings page https://admin.bitninja.io/settings/general. Look for the API key.
If you already have BitNinja installed, you can use the --no_install_bitninja
flag to install BitNinja into WHM
without downloading the full installer itself. To do this, run the following command:
wget -q https://get.bitninja.io/bitninja-whm.tar.gz; mkdir bitninja-whm; tar -zxvf bitninja-whm.tar.gz -C ./bitninja-whm && ./bitninja-whm/install --no_install_bitninja
Alternative methods
If you have curl
installed, you can also use the following commands for installation:
curl https://get.bitninja.io/bitninja-whm.tar.gz --output bitninja-whm.tar.gz | mkdir bitninja-whm; tar -zxvf bitninja-whm.tar.gz -C ./bitninja-whm && ./bitninja-whm/install --license_key=****your_license_key******
And without downloading the full installation script:
curl https://get.bitninja.io/bitninja-whm.tar.gz --output bitninja-whm.tar.gz | mkdir bitninja-whm; tar -zxvf bitninja-whm.tar.gz -C ./bitninja-whm && ./bitninja-whm/install --no_install_bitninja
WHM reseller plugin
If you are one of our resellers you can manage all customer licenses from your WHM control panel with this plugin.
To use this plugin you will need a reseller account. If you did not register yet you can do it at reseller.bitninja.io
Installing the plugin
Installing the BitNinja module is easy and follows the same steps as any other provisioning module in WHMCS.
- Download a copy of the module from bewlow.
- Upload the .zip file to your WHMCS directory. (e.g. /home/username/public_html/whmcs)
- Unzip the file
- Ensure the files extracted to /modules/servers/bitninja correctly (~/modules/servers/bitninja)