Skip to content

Instantly share code, notes, and snippets.

@whytheplatypus
Last active November 8, 2023 23:23
Show Gist options
  • Save whytheplatypus/5116841 to your computer and use it in GitHub Desktop.
Save whytheplatypus/5116841 to your computer and use it in GitHub Desktop.
Set up WeBWorK on Amazon ec2 with the AMI

#WeBWorK ec2 AMI

##Set up Amazon ec2

Sign up:

  1. Go to Amazon AWS and click sign up now.
  2. Follow the on screen instructions.

Launch you're instance:

  1. Sign into ec2 at https://console.aws.amazon.com/ec2/ Use the email address and password that you specified when signing up for AWS.
  2. Check that you're region is U.S. East (N. Virginia)
  3. Click Launch Instance
  4. Select the Classic Wizard and hint Continue
  5. Select Community AMIs
  6. Select public images from the dropdown.
  7. Enter WeBWorK in the search box (this may take awhile)
  8. Select ami-7c64f815 (it should be the only option that shows up)
  9. Hit Continue until you reach the keypair page
  10. Create A Keypair (or use you're own if you already have one)
    1. Enter a name for you're new machiene on the tags page, and any other tags you might want.
    2. Type a name for your key pair and then click Download.
    3. Save your private key in a safe place on your computer. Note the location because you'll need the key to connect to your instance.
  11. Select default for the security group
  12. Select Launch
  13. Set up Security:
    1. Open http
    2. Open ssh
  14. Finish

##Things to know

comes with:

  • git
  • apach2
  • mysql
  • webwork

###WeBWorK credentials: username: admin
password: admin

###Test course credentials: username: profa
password: profa

###MYSQL ROOT: password: password

###WeBWorK database:
password: password

(anything else is also going to just be password, so change everything!!)

@eric-eisenhart
Copy link

This is painful to read. "you're" is short for "you are"; the possessive you want is "your". Can't see how to give you a pull request on a gist, so here's a corrected version: https://gist.github.com/eeisenhart/1785a9a9a8554fc8c4e9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment