WenBin's Blog

Work hard.

Subscribe to RSS feed

Nice day

I'm Back Now.smile
I don't know why i can't log in these day, but now it's ok beer
Several days to see my friends here, let me say a word hi

My college

,

This is the college ---- Nankai University
Beautiful, isn't it?




Intel Cup National Multi-Core Programming contest

http://intel.csdn.net/contest/multicore
The subjects are interesting. I will do my best:D

How to delete the MSN share folder in MyComputer

We all know that when we install MSN, there will be a MSN share folder in MyComputer. How to remove it?

Read more...

recommend a nice site

http://www.clocklink.com/
There are lots of beautiful clocks in this site. You can put the HTML code in your blog/site.
Just have fun.

Beijing Olypics 2008

Yeah, it is already 2007. 2008, the Olympics Games will be hold in Beijing. I'm live in Tianjin, next to Beijing, I hope i can participate in it. And friends all over the world, welcome to Beijing, welcome to China

Now, i will use English to continue my blog.

I guess i will meet more friends in opera if i use English.
My MSN: wenbin87@gmail.com
GoogleTalk is the same.

一篇Debian学习笔记

如何编译Linux内核

,

linux的升级分2种,一是版本,二是内核我使用的是ubuntuedgy的内核是2.6.17,最新内核是2.6.20
升级内核即是消磨时间又是浪费家里的电的好东西,呵呵
废话不多说了,先下载新内核

趁下载的功夫我们安装些必备软件
sudo apt-get update
sudo apt-get install build-essential kernel-package libncurses5-dev build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev make automake
sudo apt-get -f install
sudo apt-get dist-upgrade
以上安装的软件是为了下一步正常的使用make xconfig命令

好了,现在开工
sudo mv linux-2.6.20.tar.bz2 /usr/src/
cd /usr/src/
sudo tar jxf linux-2.6.20.tar.bz2
cd inux-2.6.20
sudo vim Makefile
在EXTRAVERSION后面可以加上自己名字
sudo make xconfig
对内核选项进行配置。下面这篇文章详细介绍了各个模块的作用,配置的时候可以参考下。
配置好后,记得保存

然后就是制作成deb包了
sudo make-kpkg clean
sudo make-kpkg -initrd kernel_image kernel_headers
如果你的机器配置较好打包速度会在1小时之内完成的
反之则需要你漫长的等待了,呵呵
这时你可以看看电视,或者找你马子随便聊聊~~时间自由支配哈
经过漫长的等待后
cd ..
sudo dpkg -i *.deb

现在重启一下
如果顺利,grub会自动进入2.6.20-wenbin内核

ok,就算你是像俺一样的老菜,同样可以轻松升级内核
如果对新的内核不满意,想删掉的话,把上面的两个包卸掉就可以了,十分方便和安全。

参考了几位大牛的文章,在此谢过了

linux像老婆,windows像妓女

很早以前就看过了,感觉不错,呵呵,就贴过来了

1.首先,linux是免费的,和老婆上床当然不用要钱,妓女的windows都是要money的埃
2.linux入门比较难,就象你当初追你lp的那些日子,痛并快乐着。windows?傻子都会用,就象妓女,给钱就可以了,即使你阳痿她还可以用嘴哦,当然你得多付钱才可以
3.linux稳定,几乎不会传染病毒给你,windows么?还要带安全套--防毒软件才可以
4.虽然linux可以帮你完成绝大部分事情,但偶尔你想happy一下的时候还得找windows---linux下的游戏似乎差一些,就象你偶尔想找点儿刺激的话,只好花钱找小姐了。如果你实在不愿意找小姐,又想享受刺激的话可以用wine,酒精会让你老婆更激情 ,但感觉似乎还是不如职业小姐。