How to install PhantomJS on Ubuntu Version: 1.9.8 Platform: x86_64 First, install or update to the latest system software. sudo apt-get update sudo apt-get install build-essential chrpath libssl-dev libxft-dev
Sample service script for debianoids Look at LSB init scripts for more information. Usage Copy to /etc/init.d: # replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)