Difference between revisions of "Amahi on AWS"
From Amahi Wiki
Line 1: | Line 1: | ||
− | Running Amahi on Amazon Cloud computing service. | + | =Running Amahi on Amazon Cloud computing service.= |
discussion is ongoing on the amahi forum about this. | discussion is ongoing on the amahi forum about this. | ||
− | IMPORTANT: THOSE INSTRUCTIONS DO NOT LEAD TO A FULLY WORKING AMAHI SYSTEM: | + | =IMPORTANT: THOSE INSTRUCTIONS DO NOT LEAD TO A FULLY WORKING AMAHI SYSTEM:= |
− | + | * Register to Amazon AWS | |
− | + | * launch instance of AMI "ami-0d638d64" | |
− | + | * ssh into it with the command shown on the amazon console | |
− | + | * create a user with: | |
<code>useradd -p PASSWORD USERNAME</code> | <code>useradd -p PASSWORD USERNAME</code> | ||
− | + | * check that /dev/null is readable, if not do a: | |
<code>chmod go+rw /dev/null</code> | <code>chmod go+rw /dev/null</code> | ||
− | + | * from your home computer generate a ssh key if you don't already have one (check ~/.ssh/ for an id_rsa.pub file) with: | |
<code>ssh-keygen</code> | <code>ssh-keygen</code> | ||
− | + | * upload your ssh key to the running instance with: | |
<code>scp -i YOURKEYPAIR.pem ~/.ssh/id_rsa.pub root@INSTANCEPUBLICIP:/home/USERNAME/id_rsa.pub</code> | <code>scp -i YOURKEYPAIR.pem ~/.ssh/id_rsa.pub root@INSTANCEPUBLICIP:/home/USERNAME/id_rsa.pub</code> | ||
− | + | *from your server again move your keypair to the authorized ssh key with: | |
<code>mv ~/id_rsa ~/.ssh/authorized_keys2 </code> | <code>mv ~/id_rsa ~/.ssh/authorized_keys2 </code> | ||
− | + | * check that /dev/null is readable, if not do a: | |
<code>chmod go+rw /dev/null</code> | <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:36, 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:
- Register to Amazon AWS
- launch instance of AMI "ami-0d638d64"
- ssh into it with the command shown on the amazon console
- create a user with:
useradd -p PASSWORD USERNAME
- check that /dev/null is readable, if not do a:
chmod go+rw /dev/null
- 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
- upload your ssh key to the running instance with:
scp -i YOURKEYPAIR.pem ~/.ssh/id_rsa.pub root@INSTANCEPUBLICIP:/home/USERNAME/id_rsa.pub
- from your server again move your keypair to the authorized ssh key with:
mv ~/id_rsa ~/.ssh/authorized_keys2
- check that /dev/null is readable, if not do a:
chmod go+rw /dev/null
- use
route
andifconfig
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.