Python 2.6:
- python-simplejson (>= 2.1)
First of all, download and extract the tar-ball:
wget -O elasticarmor.tar.gz https://github.com/NETWAYS/elasticarmor/archive/master.tar.gz
tar -xzvf elasticarmor.tar.gz && cd elasticarmor-master
Install ElasticArmor as Python module:
python2 setup.py install
Install the init script:
Debian
install -m 0744 etc/init.d/elasticarmor /etc/init.d/elasticarmor
update-rc.d elasticarmor defaults
Others
install -m 0744 etc/init.d/elasticarmor /etc/init.d/elasticarmor
chkconfig --add elasticarmor
Create the system user and group:
useradd -c "elasticarmor" -s /sbin/nologin -r elasticarmor
Done. You can now start configuring ElasticArmor.