清风湖畔 明月窗边

2009年06月16日

原创 4000万的重量级闹剧

这次不是在美琪或者人艺,这次,我们把这出闹剧舞台搬到了国际新闻里。从OpenCV到CyberSitter,绿坝算是把国内IT人的脸丢了个精光。坐等看这大戏如何收场。阅读全文>

发表于 @ 2009年06月16日 00:44:00|评论(loading...)|举报|收藏

2009年04月29日

转载 A good explaination on OpenVPN Routing


https://www.secure-computing.net/wiki/index.php/Multiple_Lans-route-push_route-iroute

Key points:

1. "route" in server config
2. "push route" in server config
3. "iroute" in ccd - iroute means "this client internally routes to this subnet" so prohibits adding redundent routing entries.阅读全文>

发表于 @ 2009年04月29日 14:01:00|评论(loading...)|举报|收藏

2009年03月03日

原创 Actions must be planned before carrying out!!


So the system yields that my / partition is full after I clone another Debian4 vm... and I just realized that I have been putting all the wastes on /new without actually mounting my shiny-new-1T-wastebin on that directory, so I'm dead. All 7 VMs are dead, including my DHCP vm that I used to substitute the DHCP service provided by my router.
Out of luck.
Next time, script checking, or a check-list is the must-have.阅读全文>

发表于 @ 2009年03月03日 00:57:00|评论(loading...)|举报|收藏

2009年03月02日

原创 Server status. Good job, friend!


ryan@ubuntu-server:~$ uptime 01:25:05 up 48 days, 4:24, 1 user, load average: 0.11, 0.12, 0.09
Will be shutdown in prior to power outage on Monday.阅读全文>

发表于 @ 2009年03月02日 01:29:00|评论(loading...)|举报|收藏

2009年02月26日

原创 Disable ethernet device renaming upon system cloning for Linux


1. Specify static address in prototype system
modify /etc/network/interfaces
auto lo eth0 iface lo inet loopback iface eth0 inet static address 172.19.10.11 netmask 255.255.255.0 gateway 172.19.10.1
2. Clear out already stored MAC-name mappings
modify
Debian 4: /etc/udev/rules.d/z25_persistent-net.rules
Ubuntu  : /etc/udev/rules.d/70-persistent-net.rules
delete all lines like
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{a阅读全文>

发表于 @ 2009年02月26日 14:45:00|评论(loading...)|举报|收藏

原创 Netcraft brain-dead

中国Web Server QZHTTP极速上升- 新闻Linux时代- 开源、自由、共享 ...中国Web Server QZHTTP极速上升- 新闻新闻Linux 技术文档.
linux.chinaunix.net/news/2009/02/25/1063236.shtml - 23小时前 - 类似网页中国Web Server QZHTTP极速上升- 开源业界与评论- Linux论坛2009年2月25日 ... Netcraft 2009年2月的Web Server调查显示,中国Web Server QZHTTP使用量 ... QQ是中国使用最广泛的IM工具,QZHTTP是QQ为旗下数百万Qzone网站使用的Web ...
linux.chinaunix.net/bbs/viewthread.php?tid=1063236 - 14小时前 - 类似网页
linux.chinaunix.net站内的其它相关信息 »




What does "Microsoft" / "Sun" mean, in 阅读全文>

发表于 @ 2009年02月26日 12:35:00|评论(loading...)|举报|收藏

2008年11月29日

原创 Ubuntu 更新问题解决……靠!

前两天整理服务器硬盘,失手把一个正在运行的dhcp/ddns服务器虚拟机文件全部删除了。。还好三个星期一直没有重启 vmware,否则我家里的网络算是毁了。昨天例行巡检时候发现了问题,一身冷汗,准备重新 build-up 一个 ddns server。但是从 template clone 出来的 vm,apt-get update 后装 bind9 / dhcp3-server 一直有问题,包版本冲突,诡异。。今天 Google 了半天才发现,我是在 /etc/apt/sources.list 里写了 gutsy 的源,而这个 vm 跑的是 Ubuntu 8.04,那帮非洲人把它叫 hardy 。。被玩死了。。阅读全文>

发表于 @ 2008年11月29日 18:39:00|评论(loading...)|举报|收藏

2008年11月21日

转载 Linux由谁编写?Be free, or to be served free?

http://news.csdn.net/n/20081111/120734.html
唔,
前十名看起来是:Red Hat,11.2%;Novell,8.9%;IBM,8.3%;Intel,4.1%;Linux基金会,2.6%;独立Linux顾问公司,2.5%;SGI,2.0%;MIPS Technology,1.6%;Oracle,1.3%和MontaVista,1.2%。就在这前十名底下,将发现占1.1%的Google。

除了一家主要的嵌入式Linux供应商MontaVista、一家实力强大的半导体OEM(原始设备制造商)MIPS和独立顾问公司之外,所有这些都是大的、十亿美元以上的美国公司。这听起来真的不像Linux是在地下作坊做出来的,不是吗?

so OSS kids, what are your hopes now?阅读全文>

发表于 @ 2008年11月21日 03:24:00|评论(loading...)|举报|收藏

2008年11月06日

原创 DDNS with BIND9 and DHCP3-Server notes

Setting up Dynamic DNS with bind9 and dhcp3-server1. Modify /etc/bind/named.conf.local, adding forward / reverse zones for local domaininclude "/etc/bind/rndc.key";controls {        inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };};zone "wwwolf.kmip.net" {        type master;        file "db.wwwolf.kmip.net";        allow-update { key "rndc-key"; };};zone "1.168.192.in-addr.arpa" {        type master;        file "db.1.168.192";        allow-update { key "rndc-key"; };};阅读全文>

发表于 @ 2008年11月06日 03:27:00|评论(loading...)|举报|收藏

2008年10月15日

原创 PAM auth with program supplied password

PAM Authentication with program supplied username / password pair.
In cases like "login" and "sudo", the use of PAM involves asking user for password on the terminal. This is a feature provided by the pam-misc library. PAM will require calling program to supply an "conversasion" callback, and pam-misc library provided "misc_conv" to enable this askpass feature. As vsftpd, program could provide customized pam conversasion. Sample code (largly based on vsftpd code snippet so Thanks to VSFTPD)阅读全文>

发表于 @ 2008年10月15日 10:30:00|评论(loading...)|举报|收藏

Csdn Blog version 3.1a
Copyright © 高远