Skip to content

Instantly share code, notes, and snippets.

@lemanchester
Created May 5, 2015 21:30
Show Gist options
  • Save lemanchester/7a2067a94fd6b4416546 to your computer and use it in GitHub Desktop.
Save lemanchester/7a2067a94fd6b4416546 to your computer and use it in GitHub Desktop.
echo "*****************************************"
echo " Installing PhantomJs on Amazon Linux AMI "
echo "*****************************************"
echo "*"
echo "*"
echo "*"
echo "*****************************************"
echo " 1. Installing dependencies "
echo "*****************************************"
sudo yum -y install git lex bison gperf openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel libpng-devel libjpeg-devel
echo "*****************************************"
echo " 2. Download, Untar and Make Redis 2.6"
echo "*****************************************"
git clone git://github.com/ariya/phantomjs.git
cd phantomjs
git checkout 2.0
./build.sh --jobs 1
echo "*****************************************"
echo "Complete!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment