First of all I got to tell you that running phantomjs on a headless Ubuntu seems to be just impossible at the time. I've tried 3 different methods and none of them resulted in working phantomjs. But let's start with official way to install it.
So I've installed phantomjs from here and also installed libfontconfig from the apt repos.
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
Available platform plugins are: phantom.
Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
http://phantomjs.org/bug-reporting.html and file a bug report.
Aborted (core dumped)
First of all I got to tell you that running phantomjs on a headless Ubuntu seems to be just impossible at the time. I've tried 3 different methods and none of them resulted in working phantomjs. But let's start with official way to install it.
So I've installed phantomjs from here and also installed libfontconfig from the apt repos.
Any ideas where to move from here?