• Introduction
  • Getting Started
  • Technical Overview
  • HowTos
    • Ubuntu Install
    • Windows Dev
    • Logs Centralizing
    • Messages Customization
  • API Reference
  • A word on Security
  • FAQ

HowTos¶

You will in this section a series of tutorials for the n3rv framework.

  • Ubuntu Install
    • How to setup n3rv on a fresh Ubuntu/Debian Box
    • 1. Install the toolchain and library dependancies
    • 2. Clone the repository
    • 3. Build the library
    • 4. Install
  • Windows Dev
    • n3rv services development for Windows
    • 1. Cygwin Install
    • 2. The easy way: n3rv binaries install
    • 3. The hard way: full build
      • 3.1 cppzmq
      • 3.2 libevent
      • 3.3 Getting n3rv source Code
      • 3.4 CMakeFile.txt Modifications
      • 3.5 Build & Install
    • 4 Code::Blocks install & config
      • 4.1 Global Compiler Config
      • 4.1 Get the Hello project Example
      • 4.2 Configure project
      • 4.3 Test Hello Building
    • Addendum 1: Deploy
  • Logs Centralizing
    • How to centralize your nodes logs with FileBeat + ElasticSearch + Kibana
    • 1. ElasticSearch + FileBeat + Kibana Install
      • 1.1 Launch ElasticSearch
      • 1.2 Configure & Launch Kibana
      • 1.3 Configure Filebeat Input
    • 2. rsyslog configuration on your nodes’hosts
    • 3. Make your n3rv nodes use syslog
    • 4. Err.. Profit ?
  • Messages Customization
    • 1. Modify src/n3rvproto.hpp
    • 2. For JSON (default)
      • 2.1 n3rv::parse_msg()
      • 2.2 n3rv::serialize_msg()
    • 2b. For Protobuf
      • 2b.1 Update src/protocol/n3rvproto.proto
      • 2b.2 recompile protobuf file
      • 2b.3 n3rv::parse_msg()
      • 2b.4 n3rv::serialize_msg()
    • 3. Rebuild