Menu Close

Installation of Scirius CE

Installation of Scirius CE

  • Author: Miroslav Kohútik
  • Operating system : Ubuntu 16.04

Scirius Community Edition is a web interface dedicated to Suricata ruleset management. It handles the rules file and updates of the associated files.

This guide will walk you through the installation of Scirius Community Edition on Ubuntu 16.04 operating system.
Before proceeding with installation of Scirius CE, you need to have IDS Suricata installed. Installation guide for Suricata can be found here.

Install python package and header file manager

sudo apt-get install python-pip python-dev

Download Scirius repository from GitHub

git clone https://github.com/StamusNetworks/scirius.git

Go to the directory you have just downloaded and install the necessary dependencies from inside there

cd scirius
sudo pip install -r requirements.txt

Download pyinotify module to monitor changes in the file system. This module is needed to restart Suricata from Scirius.

sudo pip install pyinotify

Download the Gitdb module to enable reading and writing to git repositories

sudo pip install gitdb

Install npm

sudo apt-get install npm

Download webpack version 3.11

sudo npm install -g npm@latest webpack@3.11

Install Scirius

npm install

The previous command has created a directory for the Scirius Hunt component. Go to the Hunt directory, install Hunt and prepare it for use

cd hunt
npm install
npm run build

Running Scirius

Initiate the Django database from inside the scirius directory

python manage.py migrate

Create a superuser account

python manage.py createsuperuser

Before starting the application, you need to construct the bundles by running webpack (this step has to be repeated after each code update)

sudo webpack

Use this command to start Scirius accessible on local device only on address localhost:8000

sudo python manage.py runserver

If you want scirius to listen to an address reachable form an outside network, you need to add the address to ALLOWED_HOSTS list in settings.py. Afterwards, you can run Scirius with the followng command

python manage.py runserver x.x.x.x:8000

Source:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.