Skip to content

Instantly share code, notes, and snippets.

@miya0001
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miya0001/8747199 to your computer and use it in GitHub Desktop.
Save miya0001/8747199 to your computer and use it in GitHub Desktop.
Concrete5 Setup for Ubuntu on the EC2
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
apt-get update -y
apt-get upgrade -y
apt-get install -y git ruby1.9.3 libxslt-dev libxml2-dev make
curl -L https://www.opscode.com/chef/install.sh | bash
mkdir /var/chef
cd /var/chef/
git clone https://github.com/Launch-with-1-Click/concrete5-ec2-chef.git .
gem install bundler
/usr/local/bin/bundle install
/usr/bin/gem update
mkdir -p /etc/chef/ohai/hints
echo '{}' > /etc/chef/ohai/hints/ec2.json
/usr/local/bin/berks install --path cookbooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment