Is it worth buying memory and battery for old thinkpads
t40 Intel Pentium M 1.50GHz 393
t42 Intel Pentium M 1.73GHz 448
http://www.cpubenchmark.net/cpu_list.php
AMD Athlon II P320 Dual-Core 1270
Sunday, 30 January 2011
Thursday, 27 January 2011
nginx
http://serverfault.com/questions/220184/setup-a-reverse-proxy-with-nginx-and-apache-on-ec2
http://www.cyberciti.biz/faq/rhel-fedora-install-configure-nginx-php5/
how-to-get-nginx-to-serve-up-on-an-elastic-ip
http://www.cyberciti.biz/faq/rhel-fedora-install-configure-nginx-php5/
how-to-get-nginx-to-serve-up-on-an-elastic-ip
Monday, 24 January 2011
Sunday, 23 January 2011
How to install hookbox on aws
Using this image
Now install it
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 GiBThen 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]$
Friday, 21 January 2011
exist
Trying to install existdb on ec2 based on these instructions
could not connect to this image
>Working now, here
could not connect to this image
andy@ThinkPad-T40:~$ ssh -i keys/existkey1.pem root@ec2-46-137-17-37.eu-west-1.compute.amazonaws.com The authenticity of host 'ec2-46-137-17-37.eu-west-1.compute.amazonaws.com (46.137.17.37)' can't be established. RSA key fingerprint is 14:0e:5a:bd:39:d4:c4:15:e9:a5:05:d2:1f:0c:8f:6d. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added 'ec2-46-137-17-37.eu-west-1.compute.amazonaws.com,46.137.17.37' (RSA) to the list of known hosts. Please login as the ec2-user user rather than root user. Connection to ec2-46-137-17-37.eu-west-1.compute.amazonaws.com closed. andy@ThinkPad-T40:~$ ssh -i keys/existkey1.pem -l ec2-user root@ec2-46-137-17-37.eu-west-1.compute.amazonaws.com Please login as the ec2-user user rather than root user. Connection to ec2-46-137-17-37.eu-west-1.compute.amazonaws.com closed. andy@ThinkPad-T40:~$ ssh -i keys/existkey1.pem ec2-user@ec2-46-137-17-37.eu-west-1.compute.amazonaws.com __| __|_ ) Amazon Linux AMI _| ( / Beta ___|\___|___| See /usr/share/doc/amzn-ami/image-release-notes for latest release notes. :-) [ec2-user@ip-10-48-109-40 ~]$ hostname ip-10-48-109-40 [ec2-user@ip-10-48-109-40 ~]$Corrections
$ sudo /usr/local/exist/tools/wrapper/bin/exist.sh startResult
>Working now, here
Tuesday, 18 January 2011
hookbox install
Sadly failed
readynas1:/c/webroot/xplorer/files# easy_install hookbox Searching for hookbox Reading http://pypi.python.org/simple/hookbox/ Reading http://hookbox.org Traceback (most recent call last): File "/usr/bin/easy_install", line 7, in ? sys.exit( File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1712, in main with_ei_usage(lambda: File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage return f() File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 1716, indistclass=DistributionWithoutHelpCommands, **kw File "distutils/core.py", line 149, in setup File "distutils/dist.py", line 946, in run_commands File "distutils/dist.py", line 966, in run_command File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 211, in run self.easy_install(spec, not self.no_deps) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/command/easy_install.py", line 434, in easy_install self.local_index File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/package_index.py", line 466, in fetch_distribution dist = find(self, requirement) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/setuptools/package_index.py", line 439, in find for dist in env[req.key]: File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 766, in __getitem__ _sort_dists(dists) File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 2444, in _sort_dists dists[::-1] = [d for hc,d in tmp] ValueError: attempt to assign sequence of size 17 to extended slice of size 16 readynas1:/c/webroot/xplorer/files#
Labels:
playlist
Sunday, 16 January 2011
python
Installed Python 2.4.4 on readynas with intention of hosting hookbox locally if required.
readynas1:~# python Python 2.4.4 (#2, Oct 31 2010, 22:03:48) [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> quit 'Use Ctrl-D (i.e. EOF) to exit.' >>> readynas1:~#copied from putty using the middle button.
Monday, 10 January 2011
T-mobile broadband stick
Now working on ubuntu 10.10 after long struggle.
First I was using WCID for its WEP support. This disables network manager, which is a mistake as networkmanager can support WEP and has mobile support.
Force ubuntu to connect with wep
UK T-mobile Mobile Broadband ZTE usb stick 120
Using NetworkManager with your 3G WWAN modem
First I was using WCID for its WEP support. This disables network manager, which is a mistake as networkmanager can support WEP and has mobile support.
Force ubuntu to connect with wep
UK T-mobile Mobile Broadband ZTE usb stick 120
Using NetworkManager with your 3G WWAN modem
Eject modem |
Labels:
thinkpad
connections
trying to get hookbox connect to work with dojo. Using Firecookie helps.
Monday, 3 January 2011
Subscribe to:
Posts (Atom)