Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Latest commit

 

History

History
46 lines (34 loc) · 1.26 KB

02-Installation.md

File metadata and controls

46 lines (34 loc) · 1.26 KB

Installation

Requirements

Python 2.6:

From Source

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.