Skip to content

Instantly share code, notes, and snippets.

@nordicdyno
Forked from rictorres/vector-install.md
Created December 5, 2015 20:24
Show Gist options
  • Save nordicdyno/238f2f399e91590fdc37 to your computer and use it in GitHub Desktop.
Save nordicdyno/238f2f399e91590fdc37 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.

pkg-config

$ sudo apt-get install pkg-config

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 groupadd -r pcp
$ sudo useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp

PCP Build & Install

$ git clone git://git.pcp.io/pcp
# alternative: git clone https://github.com/performancecopilot/pcp

$ cd pcp
$ ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --with-rcdir=/etc/init.d
$ 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