Project

General

Profile

Support #541

Updated by Daniel Curtis almost 10 years ago

Snorby is a web frontend for the Snort IDS, and this is a simple guide on installing it on FreeBSD 9.2. 

 * Update the system 
 <pre> 
 pkg update && pkg upgrade 
 </pre> 

 * Install a few prerequisite packages: 
 <pre> 
 pkg install wget flex pcre libdnet libxml2 libxslt ImageMagick lwp p5-LWP-UserAgent-WithCache p5-Crypt-SSLeay p5-LWP-Protocol-https ruby ruby20-gems wkhtmltopdf 
 </pre> 

 * Install some prerequisite gems: 
 <pre> 
 pkg install rubygem-prawn rubygem-thor rubygem-i18n rubygem-bundler rubygem-tzinfo rubygem-builder rubygem-memcache-client rubygem-rack rubygem-rack-test rubygem-erubis rubygem-mail rubygem-text rubygem-sqlite3 rubygem-rake rubygem-mysql rubygem-rack-mount rubygem-rails 
 </pre> 

 * Get Snorby from the download section or use the latest edge release via git. 
 <pre> 
 git clone git://github.com/Snorby/snorby.git 
 </pre> 

 * Move into de snorby Directory 
 <pre> 
 cd snorby 
 </pre> 

 * Install Gem Dependencies (make sure you have bundler installed: gem install bundler) 
 <pre> 
 bundle install 
 </pre> 
 #* *NOTE*: If you get missing gem issues in production use: 
 <pre> 
 bundle install --path vendor/cache 
 </pre> 
 #* If your system gems are updated beyond the gemfile.lock you should use this as an example  
 <pre> 
 bundle exec rake snorby:setup 
 </pre> 
 #* If running @bundle exec {app}@ is painful you can safely install binstubs by: 
 <pre> 
 bundle install --binstubs 
 </pre> 

 * Run The Snorby Setup 
 <pre> 
 rake snorby:setup 
 </pre> 

 * Edit The Snorby Configuration File 
 <pre> 
 vi config/snorby_config.yml 
 </pre> 

 * Edit The Snorby Mail Configurations 
 <pre> 
 vi config/initializers/mail_config.rb 
 </pre> 

 h2. Resources 

 * https://github.com/Snorby/snorby 
 * https://github.com/shirkdog/snorby-bsd/blob/master/snorbyInstall.sh 

Back