mirror of https://github.com/MISP/misp-modules
Refine the installation procedure
Tweak this to make it more inline with the MISP installation docs, start misp-modules at startup via /etc/rc.localpull/31/head
parent
a27113db4d
commit
4400a316e5
14
README.md
14
README.md
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue