Skip to content

Instantly share code, notes, and snippets.

@toff63
Forked from diegopacheco/vector.md
Last active September 16, 2015 14:03
Show Gist options
  • Save toff63/7d4f136d4c607596eca9 to your computer and use it in GitHub Desktop.
Save toff63/7d4f136d4c607596eca9 to your computer and use it in GitHub Desktop.
How To install and Run Netflix/Vector on Amazon Linux OS ?

Install PCP

sudo yum install -y git gcc perl-CPAN bison flex byacc libmicrohttpd-devel gcc-c++ nodejs npm --enablerepo=epel 
git clone git://git.pcp.io/pcp 
cd pcp/ 
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi 
sudo groupadd -r pcp 
sudo useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp 
make 
sudo make install 

Install Vector

git clone https://github.com/Netflix/vector.git 
cd vector/
sudo yum install -y nodejs npm --enablerepo=epel 
npm install 
sudo npm install -g bower gulp
bower install 
gulp build 
sudo service pmcd start 
sudo service pmwebd start

cd dist sudo python -m SimpleHTTPServer 80

http://ec2-52-89-17-142.us-west-2.compute.amazonaws.com/#/?host=ec2-52-89-17-142.us-west-2.compute.amazonaws.com&hostspec=ec2-52-89-17-142.us-west-2.compute.amazonaws.com

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