Updates from 九月, 2008 Toggle Comment Threads | 键盘快捷键

  • bixuan 15:48 on 2008 年 09 月 03 日 链接地址 | 回复
    Tags: , asstats, asterisk, blog, , db4o, developer, elgg, flex, , , httpclient, infoworld, inssider, jboss drools, mediawiki, , nagios, NDISwrapper, networking, open, phpmyadmin, prototype, puppy linux, scalix, soapui, source, tbb, tools, vnc, Vyatta, wifi, Wireshark, , xen, zenoss core, 开源   

    2008年度最佳开源软件大奖 

    为开源社区贡献绵薄之力

     InfoWorld历年的开源软件大奖都相当有分量,不过国内知道或者关注这个奖项的用户并不是特别多。InfoWorld 2008年的“开源软件大奖”最新出炉,CHIP软件社区乘此机会将InfoWorld 2008年的“开源软件大奖”中文化并进行整理,希望能够为中国用户带来便利,也希望能够为开源社区共享绵薄之力。
    由于InfoWorld的评选软件范围广、类别多,很多时候在同一个类别中,桌面版软件和服务器版软件常常混杂在一起,限于时间和水平,这个专题的组织和本地化肯定有不妥甚至是错漏之处,欢迎用户和网友批评指正。

      (阅读全文 …)

     
  • bixuan 10:13 on 2008 年 08 月 07 日 链接地址 | 回复
    Tags: GPL, , , , tutorial   

    Q4M 

    What is Q4M?

    Q4M (Queue for MySQL) is a message queue licensed under GPL that works as a pluggable storage engine of MySQL 5.1, designed to be robust, fast, flexible. The development started in late December of 2007, and although it is very primitive, operates quite swiftly.
    To start using Q4M, download either a binary or source distribution from the install page, and follow the installation instructions. A small tutorial is also avialable. You may use SQL to access Q4M queues, or there is a wrapper module available for perl (Queue::Q4M).
    For more information, please read the developer’s weblog (Kazuho@Cybozu Labs) or subscribe to the mailing list
    看上去非常不错,自己没实际用过,希望有用过的朋友分享一下经验。
     
  • bixuan 11:23 on 2008 年 07 月 07 日 链接地址 | 回复
    Tags: analyzer,   

    Web Page Analyzer 

    推荐一个站点:http://www.websiteoptimization.com/services/analyze/

    可以分析网页的执行效率同时会给出诸多改进的地方,不错!

    感谢laurence的推荐:)

     
  • bixuan 11:03 on 2008 年 07 月 01 日 链接地址 | 回复
    Tags: createrepo, , yum   

    架设yum服务器简单笔记 

    3、4年前热衷架设yum和apt服务器,过后很久没在做过,现在都忘了,今天因为要用到,所以就做个笔记:
    yum-3(印象中yum-2以前)以前是用:yum -arch /opt/rhel/rpms/ 来建立repo。
    yum-3以后建立repo必须用createrepo:
    rpm -Uvh createrepo-0.4.11-3.el5.noarch.rpm
    createrepo -v /opt/rhel/5.2/os/

    cat /etc/yum.repos.d/rhel.5.2.repo
    [os]
    name=Server1 Server Repository
    baseurl=http://apt.ourlinux.net/rhel/5.2/os/
    #baseurl=file:///opt/rhel/5.2/os/
    gpgcheck=0

     
  • bixuan 09:23 on 2008 年 06 月 30 日 链接地址 | 回复
    Tags: crc32,   

    安装perl的crc32模块 

    因为要写一个相关的perl脚本,需要crc32函数,默认的perl又不带,没办法只好安装一个:

    1. 下载:
      wget -c http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.4.tar.gz
      (阅读全文 …)
     
  • bixuan 19:30 on 2008 年 06 月 29 日 链接地址 | 回复
    Tags: amavisd-new, , dovecot, mail, , postfix, rhms, , spf, squirrelmail, ssl   

    rhms-0.5.0 发布了 

    邮件服务器解决方案 rhms-0.5.0 发布了。这个版本的亮点主要有:

    * 增加了 SPF 检测功能,有效抵挡垃圾邮件;
    * 增加了 DKIM/DomainKeys 的检测和签署功能;
    * 增加了 Horde WebMail 1.1;
    * 为 Apache 增加了 TLS/SSL 支持;
    * 更灵活的用户收发邮件权限控制;
    * 增加了对已有 MySQL 环境的支持;
    * Postfix, Dovecot, Amavisd-new, SquirrelMail 都升级到了最新版本;

    下载地址:
    (阅读全文 …)

     
  • bixuan 10:49 on 2008 年 06 月 27 日 链接地址 | 回复
    Tags: , namespace   

    Memcache的备忘 

    把memcache使用时的一些细节记录下来.

    • memcache每一个item上限是1M,注意不要超出上限(碧轩补充strlen(key+value) <= 1048521 bytes
    • memcache本身并不支持namespace,但是可以通过一些手段模拟出namespace的效果来,见Memcache 中模拟 namespace
    • 刚接触memcache的时候,可能会写出这样的代码来
      (阅读全文 …)
     
  • bixuan 09:18 on 2008 年 06 月 27 日 链接地址 | 回复
    Tags: cacti, snmp, snmpwalk   

    用snmpwalk检测远端服务器上的net-snmp是否支持64位计数[转帖] 

    主要是工作中需要用cacti来画服务器的流量图
    这就牵扯到远端服务器上的net-snmp是否支持64位计数
    如果不支持的话当流量大于100M得出来的数据就不准了
    所以存在有检测一说
    snmpwalk -v 2c -c public 10.10.10.10 ifHCInOctets
    这里”2c”是snmp的版本号、”public”是远端服务器的community string
    10.10.10.10是远端的服务器的ip地址
    这个命令如果返回“IF-MIB::ifHCInOctets = No Such Object available on this agent at this OID”类似的错误的话,就说明远端的net-snmp不支持64位计数
    反之如果返回的有几行含有“Counter64:”的话
    那么表明是支持的

     
  • bixuan 22:14 on 2008 年 06 月 26 日 链接地址 | 回复
    Tags: httperf, , , , 服务器, 测试   

    做个标记:)

    Httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance. The focus of httperf is not on implementing one particular benchmark but on providing a robust, high-performance tool that facilitates the construction of both micro- and macro-level benchmarks. The three distinguishing characteristics of httperf are its robustness, which includes the ability to generate and sustain server overload, support for the HTTP/1.1 and SSL protocols, and its extensibility to new workload generators and performance measurements.

    Httperf 是一个高效的 http 压力测试工具,使用它可以模拟出超过1千的并发访问,能充分测试出 web server 的性能。而之前使用的 siege 测试工具则未能突破 500 个并发测试(如果您知道如何可以实现,请告诉我)

    (阅读全文 …)

     
  • bixuan 21:50 on 2008 年 06 月 26 日 链接地址 | 回复
    Tags: browser, , ,   

    跨平台、多浏览器页面测试 

    给自己做个标记:)

    browsershots提供了Linux、Windows、Mac os、BSD四个平台下的多个浏览器的页面截图,很强大。不过我主要就看看Windows和Mac os下的效果就好,选择太多浏览器会导致速度非常慢。

    (阅读全文 …)

     
  • bixuan 21:33 on 2008 年 06 月 26 日 链接地址 | 回复
    Tags: firebug, , 词典   

    FireFox3推荐安装附加组件Top10(附官方主页和下载地址) 

    2008年6月17日(美国时间,对应中国时间为18日)是FireFox3下载日,FireFox3今天会得到很多人的关注。

    但是,在我们关注FireFox的同时,请不要忘记那些为FireFox立下汗马功劳的FireFox附加软件(附加组件)了。因为正是这些丰富的 FireFox附加组件,创造了FireFox的辉煌。新版本的FireFox3发布之时,一定会有一批FireFox附加组件因没有跟进更新而倒下,但 是我们高兴的看到:已经有众多的知名度很高的FireFox活跃附加组件,已经开始提供支持FireFox3的最新版本下载。下面就让我们看看这些“已经 支持FireFox3的最实用火狐附加组件Top10”。当然,每个人心中都用自己心目中的“FireFox最实用附加组件Top10”,这里只是从程序 员和开发人员群体中统计出来数据。

    (阅读全文 …)

     
  • bixuan 17:27 on 2008 年 06 月 26 日 链接地址 | 回复
    Tags: api, async,   

    异步MySQL API 

    I’ve been telling to people that we need async MySQL client API. The fact that you have to block while database box is thinking (doesn’t happen too often, but still..) is holding back some nice response-time oriented coding practices.

    (阅读全文 …)

     
  • bixuan 21:23 on 2008 年 05 月 30 日 链接地址 | 回复
    Tags: , 统计数据   

    BIND 9统计数据
    +++ Statistics Dump +++ (1212152701)
    success 463908401
    referral 1721763
    nxrrset 45728106
    nxdomain 102814
    recursion 0
    failure 0
    — Statistics Dump — (1212152701)
    这里:
    1212152701是时间戳,可以用date命令来转换:
    % date -d ’1970-01-01 1212152701 sec’
    Fri May 30 13:05:01 CST 2008

    success:这是名字服务器处理的成功的查询数目。成功的查询是那些不以指向别的名字服务器或者错误为结果的查询。
    referral:这是名字服务器处理的以指向别的名字服务器为结果的查询的个数。
    nxrrset:这是名字服务器处理的一种查询的数目,这种查询的结果是响应会说:对于指定的域名没有所要求的记录类型。
    nxdomain:这是名字服务器处理的结果为查询者所指定的域名不存在的查询个数。
    recursion:这是名字服务器收到的请求递归查询处理获得回答的查询的个数。
    failure:这是名字服务器收到的一种查询的个数,这种查询的结果是除了nxrrset和nxdomain中所包括的以外的其他错误。

     
  • bixuan 15:08 on 2008 年 05 月 09 日 链接地址 | 回复
    Tags: , test, wbox   

    WBox 

    HTTP testing tool

    Wbox aims to help you having fun while testing HTTP related stuff. You can use it to perform many tasks, including the following.

    • Benchmarking how much time it takes to generate content for your web application.
    • Web server and web application stressing.
    • Testing virtual domains configuration without the need to alter your local resolver.
    • Check if your redirects are working correctly emitting the right HTTP code.
    • Test if the HTTP compression is working and if it is actually serving pages faster.
    • Use it as a configuration-less HTTP server to share files! (see the server mode documentation at the end of the Wbox tutorial in this page, but it’s as simple as % wbox servermode webroot /tmp)

    Wbox is free software under the GPL version 2 license and was written in ANSI C (POSIX runtime required) by Salvatore ‘antirez’ Sanfilippo.

    官方:http://hping.org/wbox/

    下面是官方的例子:

    (阅读全文 …)

     
  • bixuan 16:49 on 2008 年 04 月 25 日 链接地址 | 回复
    Tags: ext3, filesystem, undelete   

    使用ext3grep恢复ext3上删除的文件 

    适用ext3grep这个可以很方便的恢复在ext3文件系统里删除的文件!

    作者:cnh4wk
    来源:老鹰天下

    工作中遇见了,查了网上文章,发现没几个实际能通过的,实在是怒。自己找了软件做了一次实战操作,基本可以保证稳定恢复。
    测试环境
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

    碧轩附注:其实什么版本的系统无所谓 !

    (阅读全文 …)

     
c
写新的
j
下一篇文章/下一个回复
k
前一篇文章/以前的回复
r
回复
e
编辑
o
显示/隐藏 回复
t
回到顶部
l
go to login
h
show/hide help
esc
取消