From 7ef8acda0d969f1d50622e11d8d3cc38640ffb13 Mon Sep 17 00:00:00 2001 From: Kortho Date: Tue, 18 Jun 2019 10:31:14 +0200 Subject: [PATCH 1/2] Fixed missing dependencies for RHEL install Added dependencies needed for installing the python library pdftotext --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aecdce3..a59b98c 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ As of this writing, the official RHEL repositories only contain Ruby 2.0.0 and R ~~~~bash sudo yum install rh-ruby22 sudo yum install openjpeg-devel -sudo yum install rubygem-rouge rubygem-asciidoctor zbar-devel opencv-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 git clone https://github.com/MISP/misp-modules.git cd misp-modules From 15c257e50434e2926e48281da9f888f854c5eac9 Mon Sep 17 00:00:00 2001 From: Kortho Date: Tue, 18 Jun 2019 10:37:40 +0200 Subject: [PATCH 2/2] changed service pointer Changed so the service starts the modules in the venv where they are installed --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aecdce3..253be61 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ After=misp-workers.service Type=simple User=apache Group=apache -ExecStart=/usr/bin/scl enable rh-python36 rh-ruby22 '/opt/rh/rh-python36/root/bin/misp-modules –l 127.0.0.1 –s' +ExecStart=/usr/bin/scl enable rh-python36 rh-ruby22 '/var/www/MISP/venv/bin/misp-modules –l 127.0.0.1 –s' Restart=always RestartSec=10