mirror of https://github.com/MISP/misp-modules
Fix Install.md
parent
3eee1c88f3
commit
33f858fe97
|
@ -1,8 +1,5 @@
|
||||||
## How to install and start MISP modules (in a Python virtualenv)?
|
## How to install and start MISP modules (in a Python virtualenv)?
|
||||||
|
|
||||||
Required Packages to install:
|
|
||||||
{!apt_package.list!}
|
|
||||||
|
|
||||||
~~~~bash
|
~~~~bash
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
git \
|
git \
|
||||||
|
@ -43,10 +40,20 @@ sudo systemctl enable --now misp-modules
|
||||||
As of this writing, the official RHEL repositories only contain Ruby 2.0.0 and Ruby 2.1 or higher is required. As such, this guide installs Ruby 2.2 from the SCL repository.
|
As of this writing, the official RHEL repositories only contain Ruby 2.0.0 and Ruby 2.1 or higher is required. As such, this guide installs Ruby 2.2 from the SCL repository.
|
||||||
|
|
||||||
~~~~bash
|
~~~~bash
|
||||||
sudo yum install rh-ruby22
|
sudo yum install \
|
||||||
sudo yum install openjpeg-devel
|
rh-ruby22 \
|
||||||
sudo yum install rubygem-rouge rubygem-asciidoctor zbar-devel opencv-devel gcc-c++ pkgconfig poppler-cpp-devel python-devel redhat-rpm-config
|
openjpeg-devel \
|
||||||
cd /var/www/MISP
|
rubygem-rouge \
|
||||||
|
rubygem-asciidoctor \
|
||||||
|
zbar-devel \
|
||||||
|
opencv-devel \
|
||||||
|
gcc-c++ \
|
||||||
|
pkgconfig \
|
||||||
|
poppler-cpp-devel \
|
||||||
|
python-devel \
|
||||||
|
redhat-rpm-config
|
||||||
|
|
||||||
|
cd /usr/local/src/
|
||||||
git clone https://github.com/MISP/misp-modules.git
|
git clone https://github.com/MISP/misp-modules.git
|
||||||
cd misp-modules
|
cd misp-modules
|
||||||
sudo -u apache /usr/bin/scl enable rh-python36 "virtualenv -p python3 /var/www/MISP/venv"
|
sudo -u apache /usr/bin/scl enable rh-python36 "virtualenv -p python3 /var/www/MISP/venv"
|
||||||
|
|
Loading…
Reference in New Issue