NEGI

Environment

OS: Debian squeeze

Library

  • zlib
  • libpqxx
  • libpcap

PostgreSQL setup

$su - postgres
$psql
psql# create user YourDBUserName
psql# create database YourDBName
psql# grant all privileges on database YourDBName to YourDBUserName
psql# \q
$exit

negi.sql is default template for DB
$psql -UYourDbUserName YourDBName < template/scripts/negi.sql

Compile NEGI

git clone https://github.com/westlab/negi.git

cd negi
make clean
make dep
make

Run NEGI

./negi template/config/pcap.conf

めも

http://blog.scimpr.com/2013/01/30/rails3%E3%81%A7ajax%E3%81%A7dd%E3%81%A7%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A6%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%AD%E3%83%BC%E3%83%89%E3%82%92%E3%82%B9%E3%82%AF/

Rails3でajaxD&Dでまとめてファイルアップロードをスクラッチで~jQueryFileUpload for Rails