Author Archives: realself

Chapter 4 The ldapmodify Tool

http://download.oracle.com/docs/cd/E19199-01/816-6400-10/lmodify.html top.window.focus();     Previous      Contents      Index      Next      Sun ONE Directory Server Resource Kit 5.2 Tools Reference  Chapter 4 The ldapmodify Tool The ldapmodify tool edits the contents of a Lightweight Directory Access Protocol (LDAP) directory, either by … Continue reading

Posted in 未分类 | Leave a comment

quagga-0.99.18 compile error (`ipv6_bgp_network' undeclared here)

http://www.gossamer-threads.com/lists/quagga/users/21943?do=post_view_threaded#21943 Hi Paul! Your patch is almost perfect! Thanks! Here the complete "fix" for build quagga-0.99.18 ===================================================================--- quagga-0.99.18/bgpd/bgp_route.c 2011-03-21 15:32:49.000000000 +0100 +++ quagga-0.99.18-ok/bgpd/bgp_route.c 2011-03-23 10:29:03.000000000 +0100 @@ -4327,6 +4327,7 @@ "Specify a BGP backdoor route\n" "AS-Path hopcount limit attribute\n" "AS-Pathlimit … Continue reading

Posted in 未分类 | Leave a comment

bind log

queries  Specify where queries should be logged to. At startup, specifing the category queries will also enable query logging unless querylog option has been specified. The query log entry reports the client’s IP address and port number. The query name, … Continue reading

Posted in 未分类 | Leave a comment

windows2003 添加loopback地址,广播地址设置为虚拟地址本身,子网掩码4个255

windows服务器设置虚拟地址。windows下设置子网掩码为255.255.255.255比linux设置要麻烦些。要想在网上邻居本地连接的tcp/ip属性设置4个255掩码是不能得逞的,唯一的办法是修改注册表。默认状况下,windows并没有环回接口存在,配置之前得先安装这个“设备”。接下来介绍一下环回接口设置步骤: 控制面板点击添加新硬件 选“网络适配器”,按“下一步”,选“Microsoft”及“Microsoft Loopback Adapter”   点击下一步安装好loopback adapter. 设置loopback的tcp/ip参数值 先设置ip,把子网掩码设置成255.255.255.0。 设置ip地址的目的是方便在注册表中搜索loopback设置子网掩码的位置,我们用设置的虚拟ip地址做搜索关键字,很快就找到位置了。 在这个项的下方,有个项“SubnetMask”,它的值为255.255.255.0. 把其修改为255.255.255.255,但不幸的是,windows 2003 server 的注册表修改编辑方式是2进制,修改时需要技巧。在windows xp的注册表编辑器上修改好,然后转换到2进制方式,windows 2003 server 对照这个值更改即可。 另外:也可以参考DhcpServer这个值来改。 修改好了,重启网卡或者重启机器就好了。 附: http://hi.baidu.com/ruiban/blog/item/f6d6851cf98b4d8787d6b6fe.html

Posted in 未分类 | Leave a comment

Cisco SFP-10G-LR & Cisco SFP-10G-ER

Cisco SFP-10G-LR The Cisco 10GBASE-LR Module supports a link length of 10 kilometers on standard single-mode fiber (SMF, G.652). Cisco SFP-10G-ER The Cisco 10GBASE-ER Module supports a link length of up to 40 kilometers on standard single-mode fiber (SMF, G.652).

Posted in 未分类 | Leave a comment

Hello world!

欢迎使用 WordPress。这是您的第一篇日志。您可以编辑它或是删除它,然后开始写您自己的博客。

Posted in 未分类 | 1 Comment

This system is not registered with RHN.

RHEL5使用Centos yum(解决This system is not registered with RHN.)) 2010-12-31 16:08 This system is not registered with RHN 今天在公司的一台cacti服务器上利用yum安装一个软件的时候,出现了上述错误提示,原因是你的linux没有在红帽网络上注册,所以无法下载上面的软件包,替代方案可以使用centos。下面介绍下使用centos 的流程 1.卸载rhel的默认安装的yum包 查看yum包 rpm -qa|grep yum 卸载之 rpm -qa|grep yum|xargs rpm -e --nodeps 2.下载新的yum包 wget  http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-3.2.22-26.el5.centos.noarch.rpm wget  http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm 并且安装之 rpm … Continue reading

Posted in 未分类 | Leave a comment

获取进程的详细信息

包括进程的envrionstatusCMD及START_TIME 附件 http://bbs.chinaunix.net/thread-1813014-2-1.html

Posted in 未分类 | 1 Comment

apache日志记录格式LogFormat参数说明

在apache的配置文件httpd.conf里一般都有类似于LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" common 的日志记录格式设置,那么这种格式里的各个参数都代表什么意思呢,怎样设置才能完全掌握网站的访问情况呢?下面我就参数意思,简单说下。 请求本身的情况将通过在格式字符串中放置各种"%"转义符的方法来记录,它们在写入日志文件时,根据下表的定义进行转换: %a 远端IP地址 %A 本机IP地址 %B 除HTTP头以外传送的字节数 %b 以CLF格式显示的除HTTP头以外传送的字节数,也就是当没有字节传送时显示’-'而不是0。 %{Foobar}C 在请求中传送给服务端的cookieFoobar的内容。 %D 服务器处理本请求所用时间,以微为单位。 %{FOOBAR}e 环境变量FOOBAR的值 %f 文件名 %h 远端主机 %H 请求使用的协议 %{Foobar}i 发送到服务器的请求头Foobar:的内容。 %l 远端登录名(由identd而来,如果支持的话),除非IdentityCheck设为"On",否则将得到一个"-"。 %m 请求的方法 %{Foobar}n … Continue reading

Posted in 未分类 | Leave a comment

Apache 1.3 URL Rewriting

Apache 1.3 URL Rewriting Guide http://httpd.apache.org/docs/1.3/misc/rewriteguide.html Module mod_rewrite URL Rewriting Engine http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

Posted in 未分类 | Leave a comment