BitNinja provides a single command for installation, that detects your OS and installs the applications quickly – it is explained here. If in some cases it didn’t work, you could try an alternative manual installation.
CentOS / Cloudlinux
Add BitNinja repository:
rpm -Uvh http://rpm.bitninja.io/1.0/noarch/bitninja-repo-1.0-1.noarch.rpm
Install the application:
yum install bit ninja
Add license key to the config file (/etc/bitninja/bitninja.ini):
bitninja-config --set license_key=[Your license key will be on time4vps.com ClientArea dashboard]
Start BitNinja:
/etc/init.d/bitninja start
Ubuntu
Add BitNinja repository:
sudo su -c "echo deb http://apt.bitninja.io/debian/ bitninja non-free >> /etc/apt/sources.list.d/bitninja.list"
Trust the bitninja GPG key:
sudo su -c "apt-key adv --keyserver keyserver.ubuntu.com --recv-key 7F8B47DC"
Run the update command:
sudo apt-get update
Run the install script:
sudo apt-get install bitninja
Add license key to the config file (/etc/bitninja/bitninja.ini):
sudo bitninja-config --set license_key=[Your license key will be on time4vps.com ClientArea dashboard]
Start BitNinja:
sudo /etc/init.d/bitninja start
Debian
Add BitNinja repository:
echo deb http://apt.bitninja.io/debian/ bitninja non-free >> /etc/apt/sources.list.d/bitninja.list
Trust the bitninja GPG key:
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 7F8B47DC
Run the update command:
apt-get update
Run the install script:
apt-get install bitninja
Add license key to the config file (/etc/bitninja/bitninja.ini):
bitninja-config --set license_key=[Your license key will be on time4vps.com ClientArea dashboard]
Start BitNinja:
/etc/init.d/bitninja start
Install BitNinja on WHM
Install the BitNinja with your license key:
wget -qO- https://get.bitninja.io/bitninja-whm.tar.gz | tar -zx && ./bitninja-whm/install --license_key=[Your license key will be on time4vps.com ClientArea dashboard]
Alternative installation command:
curl https://get.bitninja.io/bitninja-whm.tar.gz | tar -zx && ./bitninja-whm/install --license_key=[Your license key will be on time4vps.com ClientArea dashboard]