Last active
December 2, 2018 05:30
-
-
Save plonknimbuzz/a71ec95779373ab11961fe1316078b11 to your computer and use it in GitHub Desktop.
This file contains 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
#ubuntu | |
#install phantomjs 2.1.1 | |
#32bit | |
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-i686.tar.bz2 | |
#64bit | |
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
mkdir -p /usr/local/share/phantomjs | |
tar -xjvf phantomjs-2.1.1-linux-*.tar.bz2 --strip-components=1 -C /usr/local/share/phantomjs/ | |
ln -sf /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin | |
rm -f phantomjs-2.1.1-linux-*.tar.bz2 | |
#check | |
phantomjs --version | |
#install casperjs 1.1.4 on | |
git clone git://github.com/casperjs/casperjs.git | |
mv casperjs/ /usr/local/share/casperjs | |
ln -s /usr/local/share/casperjs/bin/casperjs /usr/local/bin/ | |
#check | |
casperjs --version | |
#centos | |
#install phantomjs 2.1.1 on centos | |
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
mkdir -p /opt/phantomjs | |
tar -xjvf phantomjs-2.1.1-linux-x86_64.tar.bz2 --strip-components=1 -C /opt/phantomjs/ | |
ln -s /opt/phantomjs/bin/phantomjs /usr/bin/phantomjs | |
rm -f phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
#check | |
phantomjs --version | |
#install casperjs 1.1.4 on centos | |
git clone git://github.com/casperjs/casperjs.git | |
mv casperjs/ /opt/casperjs | |
ln -s /opt/casperjs/bin/casperjs /usr/local/bin/ | |
#check | |
casperjs --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment