
Sunday, May 31st, 2009
5/22,周五在 XP 无意中下载 Flash Player 而遭遇 BOSD 以后,决定安装 Windows 7 ,向同事借来 Win7 64-Bit 的版本安装,非常顺利。然而到5/27晚上,在运行公司 web conference 和 Skype 拨入会议的同时,大概持续了10分钟,再次遭遇 BOSD。很可能的原因是系统盘硬盘空间缺少。本来计划买一个 4GB U盘通过 U 盘来安装,然而第二天端午节的早上,马路上的光盘摊依然开张,Win7 的 DVD 光盘只要 5 元钱,感叹盗版工厂的厉害,微软确实要感谢这些盗版工厂为推广这些 RC 版软件而做出的努力。
Read the rest of this entry »

No Comments
Posted by albertxu in Uncategorized 

Sunday, May 31st, 2009
系统里面安装的插件有多少, profile 目录下每个目录对应的插件是什么,很多时候都很难确定。用 FEBE 里的 debug 功能,就可以轻松把这些文件导出成 TXT 格式,晒一下我安装的插件:
Read the rest of this entry »

No Comments
Posted by albertxu in FOSS 

Monday, May 18th, 2009
用低成本的办法建设一个稳健的,高效的邮件系统应该是每个系统管理员的梦想。现实中太多企业的 IT 人员喜欢采用商业的解决方案了。 在调试反垃圾系统的过程中,再次温习 dsn(delivery status notifications) 的含义。
Read the rest of this entry »

1 Comment
Posted by albertxu in Uncategorized 

Sunday, May 17th, 2009
最近收到的垃圾邮件还是比较多,检查了一下系统设置,做了这些修改。
Read the rest of this entry »

No Comments
Posted by albertxu in Uncategorized 

Tuesday, May 12th, 2009
ZFS 是 Solaris 10 的主要特性。现在 Linux 上也可以拥有和 ZFS 类似的文件系统了。这就是 btrfs 。

No Comments
Posted by albertxu in Linux 

Tuesday, May 12th, 2009
服务器使用 OpenDNS 的时候解析有些网站比较慢,想到用 DNS 缓冲服务。自然就想到了 djbdns 。
首先安装 djbdns。需要先安装 daemontools 和 ucspi-tcp。
在 RHEL 上编译以上三个软件包时,必须先运行
echo gcc -O2 -include /usr/include/errno.h > conf-cc
然后配置为内部转发服务器。
echo 208.67.222.222 > /etc/dnscache/root/servers/@
echo 1 > /etc/dnscache/env/FORWARDONLY
查看服务状态:
svstat /service/dnscache
查看 DNS 日志:
tail -f /service/dnscache/log/main/current
启停服务:
- svc -h /service/yourdaemon: sends HUP
- svc -t /service/yourdaemon: sends TERM, and automatically restarts the daemon after it dies
- svc -d /service/yourdaemon: sends TERM, and leaves the service down
- svc -u /service/yourdaemon: brings the service back up
- svc -o /service/yourdaemon: runs the service once

No Comments
Posted by albertxu in DNS 

Saturday, May 9th, 2009
PHP Programming with PEAR
这本书介绍的是XML, Data, Dates, Web Services, 和 Web APIs 方面的。
对于用 PEAR 来开发 Web Service 应用的程序员而言值得一读。

No Comments
Posted by albertxu in PHP 

Tuesday, May 5th, 2009
快捷键的含义就是永远比鼠标点击快,需要用鼠标在菜单之间点来点去的操作,只需要一次按键即可实现,Geek 的感觉就是这样妙。
| 快捷键 |
功能 |
说明 |
| Shift + F3 |
大小写切换 |
非常有用哦! |
| Ctrl + Shift + N |
使用普通格式 |
如果格式选错了,可以直接按这个快捷键来恢复到普通格式 |
| Ctrl + Shift + C |
拷贝选中文字的格式 |
要不断的用格式刷来刷新么?用 Ctrl-Shift-C ,然后 Ctrl-Shift-V 吧! |
| Alt + F9 |
切换域代码 |
|
| F4 |
重复最近的操作 |
|
| Ctrl + H |
查找替换 |
|
| Ctrl + drag text or an object |
复制选中的文字或对象 |
同时按住 Shift 和 Ctrl 拖放的话,还会和原来的文字对齐 |
| Ctrl + Q |
删除段落格式 |
Ctrl + 空格可以删除字符格式 |
| Ctrl + 0 (zero) |
在当前段落上方,添加或者删除12 点的行距 |
|
| Alt + drag the mouse vertically |
垂直选择文本 |
|
有一个不是快捷键,但是值得分享的功能是把文字转化为表格,在 WORD 2007 中,选中文字,然后去菜单选插入表格,在表格图标下拉中,选择把文字转化为表格,Word 会根据文字内容自动把文字转化为表格。

No Comments
Posted by albertxu in Uncategorized 

Sunday, May 3rd, 2009
IT for most ordinary people, including those called themselves in the industry, may still had the complexity. Different version, different platform.
在这个五一小长假里,做的一件有意义的事情就是把机器里的 VirtualBox 从 2.2.0 升级到 2.2.2 ,因为看到 2.2.0 上的那些 GuestOS 运行起来都有问题。
然后,安装了 Ubuntu 9.0.4 的 Desktop 版本到 VBox 上。安装的过程有点慢,特别是配置 apt-get 镜像的时候,那个时候,必须断开一下网络,重新连接,否则网络的 timeout 估计遥遥无期了。断开的方式很简单,在 VBox 的右下菜单右键点击那个网卡按钮,不选中网卡即可。
网络上的文章谈到的不能安装 Guest ,恐怕是不对的,我的机器上安装了 Guest Edition ,没有看到不稳定的情形。显卡的 3D 加速功能也很正常。
Read the rest of this entry »

No Comments
Posted by albertxu in Linux 