Refine the installation procedure

Tweak this to make it more inline with the MISP installation docs, start misp-modules at startup via /etc/rc.local
pull/31/head
Trey Darley 2016-07-22 09:56:31 +00:00 committed by GitHub
parent a27113db4d
commit 4400a316e5
1 changed files with 7 additions and 7 deletions

View File

@ -26,14 +26,14 @@ For more information: [Extending MISP with Python modules](https://www.circl.lu/
## How to install and start MISP modules? ## How to install and start MISP modules?
~~~~bash ~~~~bash
apt-get install python3-dev python3-pip libpq5 sudo apt-get install python3-dev python3-pip libpq5
git clone https://github.com/MISP/misp-modules.git cd /usr/local/src/
sudo git clone https://github.com/MISP/misp-modules.git
cd misp-modules cd misp-modules
pip3 install -r REQUIREMENTS sudo pip3 install -r REQUIREMENTS
cd .. sudo python3 setup.py build
python3 setup.py build sudo python3 setup.py install
python3 setup.py install sudo vi /etc/rc.local, add this line: `sudo -u www-data /usr/bin/python3 /usr/local/src/misp-modules/bin/misp-modules`
python3 bin/misp-modules
~~~~ ~~~~
## How to add your own MISP modules? ## How to add your own MISP modules?