Skip to content

Installing a Database Server

HunterTom edited this page Aug 4, 2018 · 6 revisions

Overview

These steps are for Ubuntu, should work on all Debian variants using aptitude. This can either be on the same server you installed Snort, on a separate server with Snorby, or preferably on it's own server. This was discussed in Pre-Installation Design (e.g.: Sizing Deployments).

Installing Mysql

The easiest method for installing mysql is through APT. We're going to use that method for this tutorial.

Make sure you have root, or sudo, access and type at the command prompt:

sudo apt-get install mysql-server default-libmysqlclient-dev

Start mysql with:

sudo service mysql start

Configure a username and password.

Installing Postgres

Again, we'll use APT. Using sudo, type the following in a command prompt:

sudo apt-get install postgresql

Is snort-pgsql still needed?

Configure a username and password.

Back to Snorby E-Book

Clone this wiki locally