· To solve sevel issues of the yardvps
· festival
· support COW by vdi of virtualbox
2011-8-30 18:44:12 阅读15 评论0 302011/08 Aug30
To solve an issue when running apt-get upgradefor xen vps
http://www.linuxquestions.org/questions/debian-26/update-problem-870114/
This was a tricky one, but the thing is that your /boot/grub/device.mapprobably contains "(hd0) /dev/sda", while your root fs is at /dev/xvda1(and swap at /dev/xvda2).
To update the kernel, you will need to:
1) Edit /boot/grub/device.map
2011-8-24 16:40:12 阅读11 评论0 242011/08 Aug24
2. 主键与外键
一般而言,一个实体不能既无主键又无外键。在E—R 图中, 处于叶子部位的实体, 可以定义主键,也可以不定义主键(因为它无子孙), 但必须要有外键(因为它有父亲)。
主键与外键的设计,在全局数据库的设计中,占有重要地位。当全局数据库
2011-8-9 18:07:12 阅读13 评论0 92011/08 Aug9
A utility which can read the plain text by human voice, seems not bad.
http://ubuntuforums.org/showthread.php?t=918099
http://ubuntuforums.org/showthread.php?t=751169
2011-7-1 19:53:12 阅读5 评论0 12011/07 July1
想根据gdb的反汇编来修改一个内核模块的汇编,没发现上面方便的工具,就直接用二进制编辑器来改了一下,还好是个简单的整型参数,该起来还比较简单。下面是用到的命令。
1. 这两个命令都可以以十六进制打印输出 二进制文件内容。可以指定偏移和打印格式等
hexdump xxd
2。 Vim 可以用来查看和编辑二进制文件
vim -b egenea-base.ko 加上-b参数,以二进制打开
然后输入命令 :%!xxd -g 1 切换到十六进制模式显示
0000000: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 .ELF............
2011-7-1 16:22:12 阅读12 评论0 12011/07 July1
windows 重启:
shutdown -r -t 0
linux下的vnc 客户端连接windows的服务器:
xtightvncviewer -truecolour -passwd ~/.vnc/passwd <ip>
linux下的remote desktop 客户端连接windows:
#!/bin/bash
rdesktop <ip> -u administrator -p <password> -K -a 16 -N -g 320x256 &
linux下的remote desktop 客户端连接windows,并全屏显示:
#!/bin/bash
rdesktop
2011-6-22 1:44:12 阅读3 评论0 222011/06 June22
Pidgin旧版QQ协议长期没有维护,所支持的QQ2008也在2011年1月10日左右终止了登录。为了能使喜欢Pidgin的朋友继续可以使用QQ,由爱好者基于原有LibQQ代码,并采用全新的2010版QQ协议重新开发一个可用的Pidgin下的QQ插件。该插件相对linux qq来说也算完美了,不会掉线也不会崩溃,占用很小内存,完美支持好友分组和QQ群,并且能显示好友备注名称,聊天时不能传送图片或者文件,也不支持视频和语音,更不能显示好友头像,有待广大爱好者来完善该功能了,目前该插件已开源,具体
2011-6-14 14:33:12 阅读14 评论0 142011/06 June14
my cpu is a little old and it won't support hardware level virtualizaiton, so, virtualbox is the only choice. but is there any method to support Copy-On-Write by the virtualbox image type vdi? I've found a post at google group, copy it to here to avoid google groups will be blocked by the G.F.W. someday.
---------------
Idea: immutable base-disk images and per-VM differencing images
2011-6-10 22:09:12 阅读10 评论0 102011/06 June10
Debian从lenny升级到squeeze及常用的源
http://www.voland.com.cn/debian-lenny-upgrade-to-squeeze-from-a-common-source-and
How To Upgrade Debian Lenny (Debian 5.0) To Squeeze (Debian 6.0) On Xen VPS
http://www.howtoforge.com/how-to-upgrade-debian-lenny-debian-5.0-to-squeeze-debian-6.0-on-xen-vps
2011-6-10 20:05:12 阅读10 评论0 102011/06 June10
http://www.linux.com/archive/feed/44366
20 Linux System Monitoring Tools Every SysAdmin Should Know http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html