• FreeBSD HAL 信息诊断

    Output of lshal Output of sysctl -b kern.geom.conftxt Contents of `cat /etc/fstab1 Output of mount Full dmesg output Stop hald, then run it manually using /usr/local/sbin/hald --daemon=no --verbose=yes and provide the output 本文来自ChinaUnix博客,...

    2009-05-13 10:19:12

  • 一个vimrc的例子

    一个vimrc的例子 1 2 Stuff I have decided I don't like 3 4 set ignorecase -- turns out, I like case sensitivity 5 set list turns out, I don't like listchars -- show chars on end of line, whitespace, etc 6 autocmd GUIEnter * :simalt ~x -- having it au...

    2009-05-13 10:19:12

  • Mail 调试

    Oct 13 01:47:17 mail postfix/trivial-rewrite[16731]: fatal: ldap:accounts(0,lock|fold_fix): table lookup problem Oct 13 01:47:18 mail postfix/qmgr[30646]: warning: premature end-of-input on private/rewrite socket while reading input attribute name Oc...

    2009-05-13 10:19:12

  • Nginx在FreeBsd下的安装与配置

    What for? Nginx is a great replacement of Apache with very low memory footprint and contrary to Lighttpd, doesn't suffer from memory leak over time. You can then use all the memory left to unleash the power of mysql for instance by increasing the de...

    2009-05-13 10:18:34

  • OpenLDAP调试

    # ps -aux | grep 'openldap' _openldap59090.01.9 120323096 ??Ss 9:04PM 0:00.06 /usr/local/libexec/slapd -u _openldap -g _openldap# 配置文件 # cat/etc/openldap/slapd.conf | grep -v ^# include /etc/openldap/schema/core.schema include /etc/openldap/sche...

    2009-05-13 10:18:34

  • 高速透明代理

    硬件配置: 845G intel Celeron 1.7G DDR_I1G QUANTUM FIREBALL 10G 网络配置 10M网通光纤58.253.*.* | ------------- fb + pf(nat) ------ | | | dmz(10.0.0.0/8)vlan(192.168.0.0/16) other(172.16.0.0/16) 下面总共大概1000个点,同时在线平均300人。pf上把80端口的...

    2009-05-13 10:18:34

  • FreeBSD Is Beautiful

    按照惯例应该开个新的版块哈,暂时先写这吧。 BSD早就听说了,一直没用过,昨天下了6.2安装。 过程很多东西和Linux一样,就是分区上,她有自己的方式。 当然了,/ /var /usr都是遵循LSB的。不过她的/竟然只要128M就Ok了。 换成Linux光/boot就要上百兆吧。 装了mysql,php...

    2009-05-13 10:18:00

  • freebsd port安装ntop

    环境 freebsd6.1 + apache2.2 #cd /usr/ports/net/ntop #make install clean (默认安装就可以) #chmod 555 /usr/local/etc/rc.d/ntop #vi /usr/local/etc/rc.d/ntop 修改“#ntop_enable=YES'为 ntop_enable=YES # ntop -A (设置密码后,再起动) #/usr/local/etc/rc.d...

    2009-05-13 10:18:00

  • [ZT]BSD家族大观——FreeBSD、OpenBSD、NetBSD

    本文出自:http://www.zdnet.com.cn 作者: 《个人电脑》 (2002-04-04 08:02:01) 暂时忘记Windows和Linux吧 不太出名的BSD也许才是你所需要的 如果提到Web或者阅读一本计算机杂志就不可能不涉及到Linux,它是由Linus Torvalds和其他人共同开发的伟大的操作系统。但是 尽...

    2009-05-13 10:18:00

  • 从MySQL导出XLS数据库工具

    作者:杨文军 http://www.yangwenjun.com/article.asp?id=27 这个脚本是使用Perl生成excel xls文件的工具。依赖一些模块,你可以在linux下使用,产生xls文件。使用方式是命令行+参数。非常方便。 #!/usr/bin/perl #=============================== # mysql to excel # l...

    2009-05-13 10:17:29

2