From 33f858fe977019c5a497554e9472b0118b479d10 Mon Sep 17 00:00:00 2001 From: 8ear Date: Mon, 2 Sep 2019 11:49:56 +0200 Subject: [PATCH] Fix Install.md --- docs/install.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/docs/install.md b/docs/install.md index 2d6fde7..0efda30 100644 --- a/docs/install.md +++ b/docs/install.md @@ -1,8 +1,5 @@ ## How to install and start MISP modules (in a Python virtualenv)? -Required Packages to install: -{!apt_package.list!} - ~~~~bash sudo apt-get install -y \ 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. ~~~~bash -sudo yum install rh-ruby22 -sudo yum install openjpeg-devel -sudo yum install rubygem-rouge rubygem-asciidoctor zbar-devel opencv-devel gcc-c++ pkgconfig poppler-cpp-devel python-devel redhat-rpm-config -cd /var/www/MISP +sudo yum install \ + rh-ruby22 \ + openjpeg-devel \ + 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 cd misp-modules sudo -u apache /usr/bin/scl enable rh-python36 "virtualenv -p python3 /var/www/MISP/venv"