09 2012 档案

apache --安装
摘要:为了使用Nfsen,需要安装许多东西开始时在官网上下了http://httpd.apache.org/download.cgi#verifylinux apache2.2.23试着装了一下,当时linux中的libtool版本是1.5.22./configuremakemake install安装apache时出现configure: error: Cannot use an external APR with the bundled APR-util在网上找的解决办法大致是这样的configure: error: Cannot use an external APR with the bun 阅读全文

posted @ 2012-09-24 11:40 龙沙宝石 阅读(577) 评论(0) 推荐(0)

fprobe--安装
摘要:1-- 下载fprobe: http://pkgs.org/centos-5-rhel-5/centalt-i386/fprobe-1.1-2.el5.i386.rpm.html 下载的是这个:fprobe-1.1-2.el5.i386.rpm 点击文件图标下载2--安装fbrobe依赖libpcap 下载了libpcap.so.1.1.1 安装:./configure make makeinstall3--安装fprobe(使用rpm命令,以前没用过,可以rpm -h) rpm -i fprobe-1.1-2.el5.i386.rpm 然后输... 阅读全文

posted @ 2012-09-22 16:57 龙沙宝石 阅读(1497) 评论(0) 推荐(0)

iperf
摘要:iperf 阅读全文

posted @ 2012-09-19 11:53 龙沙宝石 阅读(129) 评论(0) 推荐(0)

python--装饰器
摘要:装饰器:对函数的包装1--被装饰的函数不带参数#"""无参数调用decorator声明时必须有一个参数,这个参数将接收要装饰的方法"""def deco(func):#deco对func进行包装... print 'start'... func()... print 'end'... return func... >>> @deco... def my():... print 'is my'... startis myend#注意:当使用上述方法定义一个decorato 阅读全文

posted @ 2012-09-11 11:47 龙沙宝石 阅读(377) 评论(0) 推荐(1)

导航