[By Nic Lindh on Saturday, 01 August 2015]
Figuring out how to install Jekyll on an EC2 instance running Amazon Linux took some googling around for me, but like most things, once you know how it’s easy.
Run the following commands:
sudo yum update -y
sudo yum groupinstall "Development Tools" -y
sudo yum install ruby-rdoc ruby-devel -y
sudo gem install therubyracer
sudo gem install jekyll
The dev tools group install will install way more tools than you actually need for this purpose. Whatevs.
You don’t need therubyracer
if you already have Node installed.
Note that this is just the Jekyll part. Wrapping your head around EC2 in general will require some quality time with Amazon’s documentation.
This was tested on an Amazon Linux AMI 2015.03.