CentOSにPhantomJSをインストールする
cronで定期的にあるページのスクショを撮りたかったのでインストールしてみた。
mkdir ~/tmp cd tmp wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2 tar jxvf phantomjs-1.9.1-linux-x86_64.tar.bz2 sudo cp phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/bin
これだけ。 簡単。
パスが通ってる場所が別にあるなら /usr/bin じゃなくてもいいと思う。