Find below-mentioned steps to configure phantomjs in ubuntu Mahcine.
root@ubuntu:/motadata/motadata/phantomjs# cd /usr/local/share/
root@ubuntu:/usr/local/share# wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
linux-root@ubuntu:/usr/local/share# tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2
root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/
root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/
root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/
root@ubuntu:/usr/local/share# cd
root@ubuntu:~# phantomjs -v
2.1.1
root@ubuntu:/motadata/motadata/phantomjs# cd /usr/local/share/
root@ubuntu:/usr/local/share# wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
linux-root@ubuntu:/usr/local/share# tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2
root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/
root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/
root@ubuntu:/usr/local/share# ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/
root@ubuntu:/usr/local/share# cd
root@ubuntu:~# phantomjs -v
2.1.1
No comments:
Post a Comment