MISP/INSTALL/ansible
Jakub Onderka bcc905c61c chg: [internal] Simplify installation with composer 2019-09-11 17:46:51 +02:00
..
roles chg: [internal] Simplify installation with composer 2019-09-11 17:46:51 +02:00
.gitignore Init MISP ansible 2016-08-05 15:39:38 +02:00
README.md Init MISP ansible 2016-08-05 15:39:38 +02:00
ansible.cfg Init MISP ansible 2016-08-05 15:39:38 +02:00
misp.yml Init MISP ansible 2016-08-05 15:39:38 +02:00
ssh.cfg Init MISP ansible 2016-08-05 15:39:38 +02:00

README.md

MISP - Ansible installation script

  • V0.1
    • Nginx support only
    • Backup script provided

Instructions

  • From the ansible repository, run the following command:
ansible-playbook -i <host>, misp.yml -K -u <user>
  • Update the self-signed certificate in /etc/nginx/ssl
  • Create and export your GPG key:
sudo -u www-data gpg --homedir /opt/misp-server/misp/.gnupg --gen-key
sudo -u www-data gpg --homedir /opt/misp-server/misp/.gnupg --export --armor YOUR-EMAIL > /opt/misp-server/misp/app/webroot/gpg.asc
  • Login with:

  • Configure MISP in administration panel, server settings

Notes

  • the user must have admin rights
  • a self-signed certificate is generated to allow you to test the installation
  • installation directory is: /opt/misp-server/misp
  • backup directory is: /opt/misp-server/backup

Backup script

If enabled, a backup script create each day a new archive with a MySQL misp database dump and misp files to allow easy restore.

  • these archives are created in: /opt/misp-server/backup
  • a script to easy restore MISP from an archive is provided in the same directory
  • to use the restore script, login as misp user and run the following command:
./misp_restore <archive_timestamp>.tar.gz