Forked from florinel-chis/centos-install-casperjs
Last active
August 29, 2015 14:20
-
-
Save apparition47/2c499ba9d8d2b0dd18e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 32-bit | |
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-i686.tar.bz2 | |
bunzip2 phantomjs-1.9.2-linux-i686.tar.bz2 | |
tar xf phantomjs-1.9.2-linux-i686.tar | |
mv phantomjs-1.9.2-linux-i686/ /opt/ | |
ln -s /opt/phantomjs-1.9.2-linux-i686/ /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/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment