摘要:
http://ask.oray.com/ 阅读全文
posted @ 2010-08-21 05:47
lexus
阅读(128)
评论(0)
推荐(0)
|
摘要:
ls -all /dev/disk/by-uuidsudo vi /etc/fstab /dev/sdb1 /data ext3 defaults, 0 1UUID=xxxx /home/mlzboy/space ext3 relatime,errors=remount-ro 0 1http://blog.csdn.net/ymj7150697/archive/2010/08/13/5810683... 阅读全文
posted @ 2010-08-21 00:33
lexus
阅读(232)
评论(1)
推荐(0)
摘要:
MongoDB注意事项1.mmap failed with out of memory在32位平台MongoDB不允许数据库文件(累计总和)超过2G,而64位平台没有这个限制。64位需取消虚拟内存限制。取消虚拟内存限制的方法:修改etc/profile文件,在文件最后加入一行ulimit -v unlimited保存,在命令行执行# source /etc/profile(重启linux也可以生效... 阅读全文
posted @ 2010-08-20 19:45
lexus
阅读(300)
评论(0)
推荐(0)
摘要:
http://blog.rebill.info/archives/modify-the-home-mount-point.html昨天由于ubuntu的/分区空间紧张,决定把/home挂载到别的分区。格式化分区步骤首先可以查看设备 sudofdisk–l 然后用命令硬盘格式化#危险!将第7个分区格式化为 ext4 分区 sudomkfs.ext4/dev/sda7 挂载步骤(root权限执行):0... 阅读全文
posted @ 2010-08-20 19:43
lexus
阅读(846)
评论(0)
推荐(0)
摘要:
http://www.myfaq.com.cn/2005September/2005-09-13/201008.html按下面说的,可以用ulimit -n 32768设置最大描述符,不过只对当前会话有用,而且要root,这个不好办或者修改/etc/security/limits.conf,但要重启另外,没查到linux究竟最大描述符有没有限制,其他几个限制要不要改按下面说的,可以用ulimit ... 阅读全文
posted @ 2010-08-20 17:34
lexus
阅读(270)
评论(0)
推荐(0)
摘要:
http://code.google.com/p/octopy/Inspired by Google'sMapReduceandStarfishfor Ruby, octo.py is a fast-n-easyMapReduceimplementation for Python.Octo.py doesn't aim to meet all your distributed computing ... 阅读全文
posted @ 2010-08-20 16:49
lexus
阅读(329)
评论(0)
推荐(0)
摘要:
Pyro is short for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. Never worry about wr... 阅读全文
posted @ 2010-08-20 16:09
lexus
阅读(254)
评论(0)
推荐(0)
摘要:
http://srdsjb.blog.51cto.com/752122/237385 阅读全文
posted @ 2010-08-20 14:59
lexus
阅读(200)
评论(0)
推荐(0)
摘要:
Emulating Stackless Python using greenlethttp://ptspts.blogspot.com/2010/01/emulating-stackless-python-using.htmlSyncless is a non-blocking (asynchronous) concurrent client and server socket network c... 阅读全文
posted @ 2010-08-20 14:58
lexus
阅读(469)
评论(0)
推荐(0)
摘要:
mlzboy@mlzboy-mac:/usr/local/nginx$ python --helpusage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...Options and arguments (and corresponding environment variables):-B : don't write .py[c... 阅读全文
posted @ 2010-08-20 10:32
lexus
阅读(1100)
评论(0)
推荐(0)
摘要:
e.g.config.py_url="xxx"from config import *print _urlwill throw error 阅读全文
posted @ 2010-08-20 10:19
lexus
阅读(175)
评论(0)
推荐(0)
摘要:
后台技术做的细腻,我非常欣赏,robbin厉害啊,可以支持cnblogs的文章导入到javaeye,偶有不稳定,要是能自动同步就好了 阅读全文
posted @ 2010-08-20 08:54
lexus
阅读(141)
评论(0)
推荐(0)
摘要:
不知怎么的,我的firefox时间一久就不对头,反应很慢,忍不了了,于是换上chromium,原因有二,也有scribefire这个插件,还有最近访问的网页的导航,方便。这样日常我写博客的工具也就有了 阅读全文
posted @ 2010-08-20 07:56
lexus
阅读(146)
评论(0)
推荐(0)
摘要:
sudo vi /etc/apt/source.listdeb http://mirrors.163.com/ubuntu/ hardy main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ hardy-security main restricted universe multiversedeb http://... 阅读全文
posted @ 2010-08-19 20:33
lexus
阅读(354)
评论(0)
推荐(0)
摘要:
sudo apt-get install python-setuptoolssudo apt-get install build-essentialsudo apt-get install python-devsudo apt-get install eventlet 阅读全文
posted @ 2010-08-19 19:34
lexus
阅读(246)
评论(2)
推荐(0)
摘要:
byobu "屏风" 简介 ,以及在CentOS下安装及日常使用 [screen的封装]byobu "屏风" 简介以及在CentOS下的安装使用byobu是个ubuntu team的一个项目,以前名字是screen-profile.是对screen进行了包装,以方便使用。讲byobu前,先来说下screen,我们经常会碰到这样的问题,用 telnet/ssh 登录了远程的 Linux 服务器,运... 阅读全文
posted @ 2010-08-19 16:44
lexus
阅读(456)
评论(0)
推荐(0)
摘要:
http://briian.com/?p=5995 阅读全文
posted @ 2010-08-19 15:34
lexus
阅读(338)
评论(0)
推荐(0)
摘要:
mlzboy@mlzboy-mac:/var/solr/exampledocs$ sh ./post.sh ./optimize.xml 阅读全文
posted @ 2010-08-19 13:53
lexus
阅读(387)
评论(0)
推荐(0)
摘要:
Solr1.4 Both delete by id and delete by query can be specified at the same time. Example: 阅读全文
posted @ 2010-08-19 13:48
lexus
阅读(334)
评论(0)
推荐(0)
摘要:
Solr1.4 Both delete by id and delete by query can be specified at the same time. Example: 阅读全文
posted @ 2010-08-19 13:14
lexus
阅读(277)
评论(0)
推荐(0)
|