Windows Setup - medullan/navocat-collector GitHub Wiki
Operating System Requirements
Windows Server 2012 R2
Note: We recommend running the collector on a Linux environment, as it will enable you to have access to the most recent releases and bug fixes for the various tools mentioned below.
Installation Dependencies
- Git
- Java
- JRuby
- Bundler
- Redis
Git
Go to http://git-scm.com/downloads
Execute the program and follow the installation wizard.
Redis
- Get the latest redis zip package from MSOpenTech (https://github.com/MSOpenTech/redis/releases/download/win-2.8.17.4/redis-2.8.17.zip)
- Extract zip to a diectory of your choice, the usual choice is "Program Files"
- Navigate to the root of the redis package directory and run the following command.
Command to run redis server on windows
redis-server.exe redis.windows.conf
The redis.windows.conf can be configured to suit your environment needs.
Java
Install Java 7 (http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jre-7u79-windows-x64.exe)
JRuby
Go to http://jruby.org/download and download JRuby ( https://s3.amazonaws.com/jruby.org/downloads/1.7.10/jruby_windows_1_7_10.exe)
The recommended JRuby version is 1.7.10 Windows Executable x64.
You’ll be prompt with an installation wizard when you run the JRuby executable, follow the instructions provided by the wizard.
To validate that JRuby was installed successfully, open a new command prompt and run the following command jrub -v, which should print the JRuby version.
Installation
Clone Collector Repo
git clone https://github.com/medullan/navocat-collector
Install collector gem dependencies
- gem install puma
- gem install bundler
- bundle install
Configure
see https://github.com/medullan/navocat-collector/wiki/Configuration-Options for configuration option
Run
Example commands to run the collector
You must be the clone collector folder
- puma --environment development --port 8000 --threads 0:4
- puma --environment production --port 80 --threads 32:32
Stopping
- ps -aux | grep puma
- bundle exec pumactl -p {pid} stop
=======OR===========
CTRL + Z