---------- 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:
- Open the AWS (Amazon Web Services) Console to EC2 (Elastic
Compute Cloud) at https://console.aws.amazon.com/ec2
- Login or apply for an account.
- In the navigation bar, make sure your region is US East
(Virginia).
- You should have a Launch Instance button, click it to start
the server wizard.
- Hit the select button next to Basic 32-bit Amazon Linux AMI.
- 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.
- 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.
- Don't worry about tags, hit continue.
- 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/
)
- 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.
- You'll get an overview screen, and if it looks right, hit
Launch and you're server instance should start booting.
- 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)
- You can login using ec2-user@YOUR_PUBLIC_DNS_HERE using the
key pair you generated.
- Run 'sudo su -' to acquire a root shell,
- 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.
- 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