Skip to content

Instantly share code, notes, and snippets.

@abraham
Created September 8, 2010 04:02
Show Gist options
  • Save abraham/569604 to your computer and use it in GitHub Desktop.
Save abraham/569604 to your computer and use it in GitHub Desktop.
user-data script to setup ec2 ubuntu servers
#!/bin/bash
set -e -x
export DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get upgrade -y
tasksel install lamp-server
apt-get install git-core
echo "Please remember to set the MySQL root password!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment