话说redis.io改版后,好多东西都找不到了,比如redis的配置模板,我摘抄了一份如下,大家可以点击这里看最新的。
redis.conf
# Redis configuration file example
# Note on units: when memory size is needed, it is possible to specifiy
# it in the usual form of 1k 5GB 4M and so forth:
#
# 1k =>[......]
转载自:http://degizmo.com/2010/03/22/getting-started-redis-and-python/
So if you have been following NoSQL movement, the migration of some types of data to non-relational datastores has recently picked up speed. For web (and other developers) this ha[......]
在Debian(6及以下版本)的默认源中,并没有默认包含JDK,我们需要从non-free源中找到它。
1、设置源
确认你的apt源包含了non-free,类似如下的:
sudo vim /etc/apt/sources.list
deb http://debian.cn99.com/debian/ testing main contrib non-free
deb-src http://debian.cn99.com/debian/ testing main contrib non-[......]
Debian 6 已经是2.6.32了,一般的无线网卡驱动都有了。如果是Intel的网卡,可以如下解决:
sudo apt-get install firmware-iwlwifi wireless-tools
然后重启即可。[......]
将Twisted配置好后,import居然都没法使用,提示ImportError: No module named zope.interface
查了一下,原来是twisted需要zope.interface的依赖,汗。。
1、下载
http://pypi.python.org/pypi/zope.interface#downloads
选择zope.interface-3.6.1.tar.gz就好。
2、解压缩、安装
python setup.py install
搞定。[......]