Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.89 KB

INSTALL.md

File metadata and controls

55 lines (36 loc) · 1.89 KB

Table of Contents

  1. Requirements
  2. Installation
  3. Afterwards

Please report any errors you encounter at https://github.com/certat/intelmq-webinput-csv/issues

For upgrade instructions, see UPGRADING.md.

Requirements

  • An installed python3 Flask
  • An installed intelmq installation on the same machine.

Installation

Please note that the pip3 installation method does not (and cannot) create /opt/intelmq/etc/examples/webinput_csv.conf. As workaround you need to move the file from the site-packages directory to /opt/intelmq manually. The location of this directory varies, it could be /usr/lib/python3.4/site-packages, /usr/local/lib/python3.5/dist-packages/ or similar.

From PyPi

sudo -s

pip3 install intelmq-webinput-csv

From the repository

Clone the repository if not already done:

git clone https://github.com/certat/intelmq-webinput-csv.git

If you have a local repository and you have or will do local modification, consider using an editable installation (pip install -e .).

pip3 install .

Webserver configuration and permissions

Configure your server to use the intelmq_webinput_csv executable as WSGI script. A configuration snippet for Apache can be found in contrib/apache/002_intelmq_webinput_csv.conf. Adapt the WSGIScriptAlias URL and path to your needs. On Debian systems the required wsgi package is called libapache2-mod-wsgi-py3

The backend needs to write /var/lib/intelmq/webinput_csv.csv and /var/lib/intelmq/webinput_csv.temp to save it's state. Both files need to be writeable by the used process.

Afterwards

Now continue with the User Guide.