Skip to content

Instantly share code, notes, and snippets.

@baydam
Forked from rictorres/vector-install.md
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baydam/a4642c9fcce6a00d99c1 to your computer and use it in GitHub Desktop.
Save baydam/a4642c9fcce6a00d99c1 to your computer and use it in GitHub Desktop.

How to Install Vector on Ubuntu 14

Vector is an on-host performance monitoring framework which exposes hand picked high resolution metrics to every engineer’s browser. More here.

Host machine

PCP Requirements

Vector requires PCP to collect data.

Lex

$ sudo apt-get install flex

Yacc (from Bison package)

$ sudo apt-get install bison

libmicrohttpd-dev

$ sudo apt-get install libmicrohttpd-dev

User

$ sudo adduser pcp

PCP Build & Install

$ git clone git://git.pcp.io/pcp

$ cd pcp
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
$ make
$ sudo make install

PCP Init

$ sudo service pmcd start
$ sudo service pmwebd start

Client

$ git clone https://github.com/Netflix/vector.git
$ cd vector
$ bower install
$ npm install
$ gulp

Available on http://localhost:8080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment