Difference between revisions of "Amahi on AWS"

From Amahi Wiki
Jump to: navigation, search
Line 4: Line 4:
 
IMPORTANT: THOSE INSTRUCTIONS DO NOT LEAD TO A FULLY WORKING AMAHI SYSTEM:
 
IMPORTANT: THOSE INSTRUCTIONS DO NOT LEAD TO A FULLY WORKING AMAHI SYSTEM:
  
1) Register to Amazon AWS
+
# Register to Amazon AWS
1) launch instance of AMI "ami-0d638d64"
+
# launch instance of AMI "ami-0d638d64"
2) ssh into it with the command shown on the amazon console
+
# ssh into it with the command shown on the amazon console
3) create a user with useradd -p PASSWORD USERNAME
+
# create a user with:
4) check that /dev/null is readable, if not do a:  
+
<code>useradd -p PASSWORD USERNAME</code>
chmod go+rw /dev/null
+
# check that /dev/null is readable, if not do a:  
5) from your home computer generate a ssh key if you don't already have one (check ~/.ssh/ for an id_rsa.pub file) with: ssh-keygen
+
<code>chmod go+rw /dev/null</code>
6) upload your ssh key to the running instance with:  
+
# from your home computer generate a ssh key if you don't already have one (check ~/.ssh/ for an id_rsa.pub file) with:  
scp -i YOURKEYPAIR.pem ~/.ssh/id_rsa.pub root@INSTANCEPUBLICIP:/home/USERNAME/id_rsa.pub  
+
<code>ssh-keygen</code>
7)from your server again move your keypair to the authorized ssh key with
+
# upload your ssh key to the running instance with:  
mv ~/id_rsa ~/.ssh/authorized_keys2  
+
<code>scp -i YOURKEYPAIR.pem ~/.ssh/id_rsa.pub root@INSTANCEPUBLICIP:/home/USERNAME/id_rsa.pub</code>
8) check that /dev/null is readable, if not do a:  
+
#from your server again move your keypair to the authorized ssh key with:
chmod go+rw /dev/null
+
<code>mv ~/id_rsa ~/.ssh/authorized_keys2 </code>
9) use route and ifconfig to find out your network setting
+
# check that /dev/null is readable, if not do a:  
10) create your hda profile accordingly
+
<code>chmod go+rw /dev/null</code>
 +
# use <code>route</code> and <code>ifconfig</code> to find out your network setting
 +
# create your hda profile accordingly
  
 
as root follow the instruction on the wiki for a [[Self-install]], on reboot disable DHCP and SAMBA server as they conflict with amazon network settings.
 
as root follow the instruction on the wiki for a [[Self-install]], on reboot disable DHCP and SAMBA server as they conflict with amazon network settings.

Revision as of 01:33, 17 November 2010

Running Amahi on Amazon Cloud computing service. discussion is ongoing on the amahi forum about this.

IMPORTANT: THOSE INSTRUCTIONS DO NOT LEAD TO A FULLY WORKING AMAHI SYSTEM:

  1. Register to Amazon AWS
  2. launch instance of AMI "ami-0d638d64"
  3. ssh into it with the command shown on the amazon console
  4. create a user with:

useradd -p PASSWORD USERNAME

  1. check that /dev/null is readable, if not do a:

chmod go+rw /dev/null

  1. from your home computer generate a ssh key if you don't already have one (check ~/.ssh/ for an id_rsa.pub file) with:

ssh-keygen

  1. upload your ssh key to the running instance with:

scp -i YOURKEYPAIR.pem ~/.ssh/id_rsa.pub root@INSTANCEPUBLICIP:/home/USERNAME/id_rsa.pub

  1. from your server again move your keypair to the authorized ssh key with:

mv ~/id_rsa ~/.ssh/authorized_keys2

  1. check that /dev/null is readable, if not do a:

chmod go+rw /dev/null

  1. use route and ifconfig to find out your network setting
  2. create your hda profile accordingly

as root follow the instruction on the wiki for a Self-install, on reboot disable DHCP and SAMBA server as they conflict with amazon network settings.