Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Last active September 19, 2015 16:38
Show Gist options
  • Save diegopacheco/e159eccd30a9d8b8e941 to your computer and use it in GitHub Desktop.
Save diegopacheco/e159eccd30a9d8b8e941 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 <BR>
sudo yum install -y bison flex byacc <BR>
sudo yum install -y libmicrohttpd-devel <BR>
sudo yum install -y gcc-c++ <BR>
git clone git://git.pcp.io/pcp <BR>
cd pcp/ <BR>
sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi <BR>
sudo groupadd -r pcp <BR>
sudo useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp <BR>
sudo make <BR>
sudo make install <BR>

Install Vector

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

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

replace this URL for you amazon DNS_HOST_URL

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