Skip to content

Instantly share code, notes, and snippets.

@momota10s
Created March 17, 2015 22:23
Show Gist options
  • Save momota10s/3af3570730bf6c9a9871 to your computer and use it in GitHub Desktop.
Save momota10s/3af3570730bf6c9a9871 to your computer and use it in GitHub Desktop.
PhantomJS1.9.8をCentOSにインストールする
$ su
$ yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel
$ cd /usr/local/src/
$ wget https://phantomjs.googlecode.com/files/phantomjs-1.9.8-linux-x86_64.tar.bz2
$ tar jxfv phantomjs-1.9.8-linux-x86_64.tar.bz2
$ cp phantomjs-1.9.8-linux-x86_64/bin/phantomjs /usr/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment