Saturday, October 27 2007

Web Server Distribution

决定试试 nginxfrom: http://googleonlinesecurity.blogspot.com/2007/06/web-server-software-and-malware.html  […]

Continue reading

Sunday, September 2 2007

取得昨天的日期

1.bash $TZ="UTC+16" date 2.php $yesterday=date('ymd',date('U')-3600*24); 3.perl perl -e 'print scalar localtime(time-3600*24)' Perl中取得日期格式的几种方法: perl -e 'use POSIX; print strftime("%Y-%m-%d %H:%M:%S", localtime)' perl -e 'use HTTP::Date;print HTTP::Date::time2iso(time);' perl -e  […]

Continue reading

Tuesday, May 29 2007

Gentoo Installation

prepare disk & make filesystemmount /dev/sdaX /mnt/gentooextract stage3 & portage treetar -xjpvf stage3-xxx.tar.bz2 -C /mnt/gentootar -xjvf portage-xxx.tar.bz2 -C /mnt/gentoo/usr copy DNS info cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf mount -t proc none /mnt/gentoo/proc mount -o  […]

Continue reading

Monday, April 23 2007

计算机缩写术语完全介绍

          计算机缩写术语完全介绍 By 001pc 邱晓光 from 1997.10.1 @ 13:53 2004-12-20     在使用计算机的过程中,你可能会碰到各种各样的专业术语,特别是那些英文缩写常让我们不知所云,下面收集了各方面的词组,希望对大家有帮助。     一、港台术语与内地术语之对照     由于港台的计算机发展相对快一些,许多人都去香港或台湾寻找资料,但是港台使用的电脑专业术语与内地不尽相同,你也许曾被这些东西弄得糊里糊涂的。---------------------------港台术语    内地术语埠           接口位元        位讯号  […]

Continue reading

Tuesday, April 10 2007

LVS 搭建 DR+TUN

LVS是一个关于服务器负载均衡的开源项目 下面是我的实施步骤: 没有采用NAT,应为不方便效率也比较低,我采用DR+TUN的方式,因为有台HP的机器(hppa)在另外一个网段,所以它用TUN,其他都是DR 所有机器就一块网卡eth0,括号是IP地址,VIP是10.60.65.222 1. DIRECTOR-Master db3 (10.60.65.105) C2.4G/128M/Gentoo/2.6.19-gentoo-r5 2. DIRECTOR-Slave druggo (10.60.65.68) AMD2500+/256M/Gentoo/2.6.20-gentoo-r4 3. RS1  […]

Continue reading

- page 15 of 23 -