Skip to content

Instantly share code, notes, and snippets.

@florinel-chis
Created August 7, 2013 11:21
Show Gist options
  • Save florinel-chis/6173221 to your computer and use it in GitHub Desktop.
Save florinel-chis/6173221 to your computer and use it in GitHub Desktop.
install casperjs on centos (x64)
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
bunzip2 phantomjs-1.9.1-linux-x86_64.tar.bz2
tar xf phantomjs-1.9.1-linux-x86_64.tar
mv phantomjs-1.9.1-linux-x86_64/ /opt/
ln -s /opt/phantomjs-1.9.1-linux-x86_64/ /opt/phantomjs
ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/
#check what you've just done
which phantomjs
phantomjs --version
#start installing casperjs
git clone https://github.com/n1k0/casperjs.git
mv casperjs/ /opt/casperjs
ln -s /opt/casperjs/bin/casperjs /usr/local/bin/
#check what you've just done
which casperjs
casperjs --version
#based on http://n8v.enteuxis.org/2012/09/how-to-install-javascript-tools-for-nagios/
@ampinog
Copy link

ampinog commented May 3, 2018

Centos 7 previously
sudo yum install freetype
sudo yum install fontconfig

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