Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yandod/1031961 to your computer and use it in GitHub Desktop.
Save yandod/1031961 to your computer and use it in GitHub Desktop.
getting phantomjs working on CentOS 5.5
repo for a more modern version of qt (4.7)
http://atrpms.net/documentation/install/
http://packages.atrpms.net/dist/el5/qt4/
cat /etc/yum.repos.d/atrpms.repo
[atrpms]
name=ATrpms manual
baseurl=http://dl.atrpms.net/el5-$basearch/atrpms/testing/
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
yum install qt47-webkit qt47-webkit-devel qt47-devel sqlite
qmake-qt47 && make && make install
#setup virtual screen
yum install xorg-x11-server-Xvfb xorg-x11-fonts*
Xvfb :2 -screen 0 800x600x24 2> /dev/null &
export DISPLAY=:2.0
phantomjs test.js
@yandod
Copy link
Author

yandod commented Jan 2, 2014

記憶にないが書いたようだ。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment