Sunday 23 January 2011

How to install hookbox on aws

Using this image
Basic 64-bit Amazon Linux AMI 2010.11.1 Beta (AMI Id: ami-75d4e101)
Amazon Linux AMI Base 2010.11.1, EBS boot, 64-bit architecture with Amazon EC2 AMI Tools. Root Device Size: 8 GiB
Then install dev tools, see
# yum groupinstall 'Development Tools'
And more..
sudo yum -y install python-devel

Now install it

[ec2-user@ip-10-48-109-40 bin]$ sudo  easy_install hookbox 
Searching for hookbox
Best match: hookbox 0.3.3
Processing hookbox-0.3.3-py2.6.egg
hookbox 0.3.3 is already the active version in easy-install.pth
Installing hookbox script to /usr/bin

Using /usr/lib/python2.6/site-packages/hookbox-0.3.3-py2.6.egg
Processing dependencies for hookbox
Searching for greenlet>=0.3
Reading http://pypi.python.org/simple/greenlet/
Reading http://bitbucket.org/ambroff/greenlet
Reading http://undefined.org/python/#greenlet
Best match: greenlet 0.3.1
Downloading http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.1.tar.gz#md5=8d75d7f3f659e915e286e1b0fa0e1c4d
Processing greenlet-0.3.1.tar.gz
Running greenlet-0.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CU_Uff/greenlet-0.3.1/egg-dist-tmp-ODnl11
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'repository'
  warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
Adding greenlet 0.3.1 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/greenlet-0.3.1-py2.6-linux-x86_64.egg
Finished processing dependencies for hookbox
[ec2-user@ip-10-48-109-40 bin]$ hookbox status
2011-01-23 23:28:44,561 - hookbox - INFO - Listening to hookbox on http://0.0.0.0:8001
^CCtr+C pressed; Exiting.
[ec2-user@ip-10-48-109-40 bin]$ 

No comments:

Post a Comment