Configuring PhantomJS on Metric Insights server (Linux)

To configure PhantomJS on the Metric Insights linux server please follow the steps below:

1. Download the PhantomJS binary using the link below, then copy to the Metric Insights linux server. Note the differences in OS:

- PhantomJS 2.1.1 for Linux  


2. SSH onto the Metric Insights server as root and unpack the PhantomJS tarball:

tar xf phantomjs-2.1.1-linux-x86_64.tar.bz2

Next, create a folder for PhantomJS in the Metric Insights /opt/mi/custom/ directory:

cd /opt/mi/custom
mkdir phantomjs

Change directory to phantomjs and copy the PhantomJS binary to /opt/mi/phantomjs:

cd phantomjs
cp ~/phantomjs-2.1.1-linux-x86_64/bin/phantomjs .


3. With PhantomJS copied to /opt/mi/custom/phantomjs/, please check the version to make sure it works:

root@debian8:/opt/mi/custom/phantomjs# ./phantomjs -v



Add your comment

E-Mail me when someone replies to this comment