安装 casperjs

来源:互联网 发布:淘宝神笔模板编辑 编辑:程序博客网 时间:2024/06/15 15:27


wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2bunzip2 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/phantomjsln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/#check what you've just donewhich phantomjsphantomjs --version#start installing casperjsgit clone https://github.com/n1k0/casperjs.git mv casperjs/ /opt/casperjsln -s /opt/casperjs/bin/casperjs  /usr/local/bin/#check what you've just donewhich casperjscasperjs --version#based on http://n8v.enteuxis.org/2012/09/how-to-install-javascript-tools-for-nagios/


0 0
原创粉丝点击