Fwd: Amazon Server

3 views
Skip to first unread message

Yasmin Anwar

unread,
Apr 26, 2011, 7:42:33 PM4/26/11
to cs75...@googlegroups.com


---------- Forwarded message ----------
From: Michael Olson <ol...@irinim.net>
Date: Thu, Apr 21, 2011 at 7:13 PM
Subject: Re: Amazon Server
To: Yasmin Anwar <yasmin...@ieee.org>
Cc: jones....@gmail.com



To use it the way I'm running it, this is detailed but mostly from memory and I know I've probably left out a lot of little things, hopefully nothing too significant was forgotten:
  1. Open the AWS (Amazon Web Services) Console to EC2 (Elastic Compute Cloud) at https://console.aws.amazon.com/ec2
  2. Login or apply for an account.
  3. In the navigation bar, make sure your region is US East (Virginia).
  4. You should have a Launch Instance button, click it to start the server wizard.
  5. Hit the select button next to Basic 32-bit Amazon Linux AMI.
  6. I'd recommend taking the defaults on instance details step 1 (the small instance type is just about right, Micro is to CPU limited). Hit Continue.
  7. On instance details 2 I recommend checking "Termination Protection" to prevent accidentally nuking your image until you're sure you're done with it, leave the rest default. Hit continue.
  8. Don't worry about tags, hit continue.
  9. Create a key pay, give it whatever name you want. You'll need to import that key into ssh/putty/whatever SSH client your prefer. Hit continue. (Here is some info if you're a Putty user: http://clouddb.info/2009/05/17/a-quick-overview-of-putty-and-ssh-for-aws-newbies/ )
  10. I'd create a new security group, add the SSH and HTTP rules, don't change the source address for them. Give it whatever name you want. Hit continue.
  11. You'll get an overview screen, and if it looks right, hit Launch and you're server instance should start booting.
  12. You should be back in the console, from the EC2->Running Instances view, you can click on the instance and in the bottom info pane you will find the Public DNS entry. (Its ugly and ends in .amazonaws.com)
  13. You can login using ec2-user@YOUR_PUBLIC_DNS_HERE using the key pair you generated.
  14. Run 'sudo su -' to acquire a root shell,
  15. Install the MySQL server with the command 'yum install mysql-server', 'chkconfig mysqld on' to enable it at boot time, and then 'service mysqld start' to fire it up.
  16. Install EPrints from the instructions at http://wiki.eprints.org/w/Installing_EPrints_3_on_RedHat_Enterprise_5 , Before the first yum command in the instructions I had to edit /etc/yum.repos.d/rpm-eprints-org-RHEL.repo and change the baseurl line to:
    baseurl=http://rpm.eprints.org/RHEL/5
You can use exit or control-D to close the root shell when you're done with it. You can use 'sudo su - eprints' to switch to the EPrints service account whenever needed.

Good luck.

v/r

Reply all
Reply to author
Forward
0 new messages