Nice guide. Two small points, maybe add 'make' to the RPM list. EC2's do not come with make as does the 'server' release of ubuntu. With that small addition it all went through for me.
Also its better to run as a daemon
Also if anyone is using headless this will set up your conf:
cat << 'EOF' > ~/.primecoin/primecoin.conf
# bitcoin.conf configuration file. Lines beginning with # are comments.
# server=1 tells Bitcoin to accept JSON-RPC commands.
server=1
# You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=USERNAME
rpcpassword=PASSWORD
# Listen for RPC connections on this TCP port:
rpcport=9000
# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
# running on another host using this option:
rpcconnect=127.0.0.1
# Set gen=1 to attempt to generate bitcoins
gen=1
EOF
Save the above as conf.sh and then do
$ chmod u+x conf.sh
and finally..
./conf.sh
EDIT:
You can't compile on a EC2 micro instance:
[652846.409725] Out of memory: Kill process 14520 (cc1plus) score 921 or sacrifice child
[652846.409740] Killed process 14520 (cc1plus) total-vm:587212kB, anon-rss:555376kB, file-rss:124kB
Brilliant thank you for the feedback, added the run as daemon change to the doc, and what did you have to do to install make?? just run
if so i'll add that the the doc. Many thanks again for the feedback and hope you are getting lots of coins now.... I seem to have stopped getting them as my PC's are all very old