Installing MISP on Red Hat / CentOS base systems is a bit difficult, as they provide either older versions like PHP (e.g. 5.6), or the newer versions are installed into different paths on the systems.
We know, with our RPMs we break a number of rules for Red Hat based systems, but on the same time they simplify the process of getting MISP running on RHEL systems. From our tests we got very good results to operate MISP on RHEL servers without any big issues. So if you can profit from our work, please feel free to do so!
The idea is to install minimal CentOS or Red Hat system and enable the provided repository on it. Combining MISP with other PHP applications might work, but was not the intention for this project. The intended setup is to just use MISP on this server.
We provide the following components as RPMs
- misp
- required python modules as a virtual environment
- pymisp
- misp-modules with required submodules in a virtual environment
Requirements:
- php 7.4.x (will be installed from external remi repository)
- mariadb 11.4.x (will be installed from external mariadb repository)
With our RPMs there's no need to use git to install MISP and you don't need a to install from github.com. All you is to be able to include our repository on your systems. MariaDB will be installed from the official mariadb repository.
- update to 2.5.3 and 2.4.201
- update to 2.4.200
- first version(s) for MISP 2.5.X released check the upgrading instructions for the details how to upgrade from 2.4.X to 2.5.X
- update to 2.4.199
- I'm currently testing the upgrade from MISP 2.4 to 2.5 with the provided RPMs and hope to release the first version in the next days.
- update to 2.4.198
- update to 2.4.197
- update to 2.4.196
- update to 2.4.195
- EL7 is end of life (EOL), we still provide the corresponding packages, but a system upgrade to EL8 or EL9 is strongly advised
- update to 2.4.194
- update to 2.4.193
- removed MariaDB-Server and MariaDB-Client as dependency, this allows to install MISP with an external database. See installation instructions for more details.
- new download url, moving to misp-project.ch, see upgrading instructions
- new GPG Key
- MariaDB Upgrade to Version 11, see upgrading instructions
- started to add a release for every version created
- update to 2.4.192
Use the installation instructions to install MISP from our repository on RHEL7 / CentOS7 Systems
Use the installation instructions for RHEL8 to install MISP from our repository on RHEL8 Systems (not checked on CentOS8!)
Use the configuration recommendations to configure your system for MISP. This settings are not provided by the RPMS but will help to improve operating your MISP installation.
See the upgrading instructions to upgrade MISP from our repository
See the official documentation how to activate the SimpleBackgroundJobs. Most important settings are
/etc/supervisord.conf
[inet_http_server]
port=127.0.0.1:9001
username=supervisor
password=securePasswordHere
-
/etc/supervisord.d/misp-workers.ini
see the official documentation for this file -
start and enable supervisord
systemctl enable supervisord
systemctl start supervisord
- enable SimpleBackgroundJobs in MISP
'SimpleBackgroundJobs' => array(
'enabled' => true,
'redis_host' => 'localhost',
'redis_port' => 6379,
'redis_password' => '',
'redis_database' => 13,
'redis_namespace' => 'background_jobs',
'max_job_history_ttl' => 86400,
'supervisor_host' => 'localhost',
'supervisor_port' => 9001,
'supervisor_user' => 'supervisor',
'supervisor_password' => 'securePasswordHere',
),
- check the workers are started, status should be 'RUNNING' for all workers
supervisorctl -s http://localhost:9001 -u supervisor -p securePasswordHere status