Table of Contents
Please report any errors you encounter at https://github.com/certat/intelmq-webinput-csv/issues
For upgrade instructions, see UPGRADING.md.
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.
sudo -s
pip3 install intelmq-webinput-csv
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 .
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.
Note: IntelMQ Webinput CSV uses Flask-SocketIO for asynchrous functionality, for Flask-SocketIO deployement options see their wiki.
Now continue with the User Guide.