Installing a Database Server - Snorby/snorby GitHub Wiki
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).
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.
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.