把Redhat linux9.0运行在486DX100上了

没有装X图形界面的原来装在K6-2 450,mvp3主板上的Redhat linux9.0的1.6G的硬盘,不经修改就挂到一台老掉牙的486DX100,24M内存的机器上了。可以运行字符界面下面的所有程序。包括:vi,w3m,emacs等等。

今天,就在这台机器上看了那本讲bash编程的电子书(老婆学会了上网聊天,这几天的兴趣正浓,把那台好点的机器给占了),现学现用,把zhcon命令加入到/etc/profile文件的结束处,用户登录后就自动进入zhcon中文的控制台环境了。这就是bash编程教程的第一个例程的功效,bash的最简单的作用就是把一组命令组合在一起来完成一个任务,以后执行这个任务就执行这个bash脚本就是了,不必单独的输入一个一个的命令。

另外,由于这台机器的内存太少了,参照前段时间收藏的一篇讲系统服务的文章把/etc/rc3.d里面不必要的服务的前面的S通通换成K,这样,前面是K的服务就不会启动了。

我的启动级别是3,rc3.d里面的内容如下:


K05kudzu      K13portmap  K24pcmcia   K50snmpd      K90crond    S12syslog

K05saslauthd  K14nfslock  K25netfs    K50snmptrapd  K90xfs      S17keytable

K08iptables   K20nfs      K26apmd     K55sshd       K95anacron  S56rawdevices

K09isdn       K20random   K28autofs   K56xinetd     K95atd      S85gpm

K10network    K24irda     K35winbind  K80sendmail   K97rhnsd    S99local

last week(Aug 12~18, 2006)

1.Irrigating for fighting dry wheather ended at last Friday. Most of my fellows which participating in the irrigating mission  came back from countryside. The dry and hot wheather is continuing. But we can feel a little cool in the morning. Maybe, the good thing is coming?

2.My k6-2 475 CPU was gone. And, with my mistake, it's mvp3 mainboard was also destroyed.

3.Listening 900 english sentences was going on. Now is listening part D.

4.Remove Ubuntu linux 6.0.6 from the p4 computer in company, and replace it with redhat linux9.0, the main reason for this is computer is old and I felt ubuntu isn't appropriate for me although it is a good new linux distribution. The best for others maybe isn't a best for me.

5.职称考试 register will begin at the end of Sept.

goodbye, my dear K6-2 machine

After working with me about 6 years, my K6-2 450 CPU and mvp3 mainboard has been burnt yestoday, it was really a  

 spirited burn. Many chips has been detroyed. One of them smoked when been burnt.

The awful thing began with auto halt of machine. Maybe it was caused by a defective K6-2 475, it can't work at its frequency a long time ago, but a less frequency of 450. At last, it came at its end yesterday.

For my mistake, this caused the destroy of mainboard, I found the fan didn't work when plus power pin onto mainboard. So, I removed one of two power pins from mainboard. The unfortunate thing happend: a little chip began smoking. Many chips was so burned. No any necessity to fix all of them, the mainboard repairer man told me. And the CPU is dead too.

I got a impress lesson, don't operate anything on computer hardware which you are not sure when the power is on!

vi/vim 键盘图 (转帖)

转自:http://blog.linuxsky.net/3000/viewspace_1278_aid_279.html



图片故事

原贴地址: http://www.linuxsir.org/bbs/showthread.php?t=257834

献给vi的初学者!

英文源文件来自: http://www.viemu.com/

请注意:

1、不能代替通过文档学习,因为图片无法涵盖vi的所有功能

2、无法用几个中文字表达#、*、t等功能键的用法,只能保留英文

3、由于制作工具原因,中文未选用合适的粗体,哪位有时间帮忙做一下

简体中文pdf下载

简体中文SVG文件下载 英文源图

对岸的jserv在此基础上又制作了繁体版,见这儿http://blog.linux.org.tw/jserv/

如何扫描检查Linux磁盘(转帖)

转自:http://kb.discuz.net/index.php?title=%E5%A6%82%E4%BD%95%E6%89%AB%E6%8F%8F%E6%A3%80%E6%9F%A5Linux%E7%A3%81%E7%9B%98

如何扫描检查Linux磁盘

Wikipedia,自由的百科全书

Linux提供了一个磁盘检查工具,当磁盘出现错误的时候可以使用fsck对磁盘进行扫描和修复。以下让我们看看如何使用

fsck来检查磁盘分区。

fsck使用很简单,首先让我们看看fsck常用的参数:

-t : 给出文件系统格式(例如:vfat,ext3等),如果文件系统格式在 /etc/fstab 中已经定义或 Kernel 本身已经支持,则无需使用参数。

-A : 对/etc/fstab 中所有挂载的分区进行检查。

-C : 显示完整的检查进度。

-d : 显示 e2fsck 的 Debug 结果。

-p : 如果使用 -A 参数,则同时有多个 fsck 扫描并行工作。

-R : 如果使用 -A 参数,则省略 / 分区不检查。

-V : 详细显示模式。

-a : 如果扫描发现错误则自动尝试修复。

-r : 如果扫描发现错误则提示用户,由用户决定是否修复(交互模式)。

举例:

需要对所有以挂载的分区进行扫描,并且让系统自动修复所有错误。

 # fsck -A -C -d -V -a

注意!

1. 如果磁盘含有NTFS分区,则不要对其进行扫描,否则有可能导致NTFS分区彻底损坏!

2. 建议在进行扫描前关闭所有服务!不要有磁盘写操作,否则可能导致磁盘分区检查失败甚至分区损坏!

总之,对于Linux系统经验相对较少的用户还是不推荐使用fsck进行检查的,fsck有一定的风险。如果磁盘分区出现异常最好还是求助于有经验的技术人员。

cheer! cool days

Since about two months' dry and hot wheather, temperature is above 37 usually, and it almost didn't rain totally.

But, a happy thing coming, we have two cool days since tommorow morning's thunder rain.

Big thunder, fire-flag, rain, and cool wind, these just are the best gifts that it gave us. It seems to say: oh, boys and girls, pigs and dogs, trees and flowers, anything under me, enjoy it, your bad days will become past, your good days is coming.

Wish it give us these gifts usually:), but, don't give us too much, especially, like flood.

Do I do need try many linux distribution versions?

I have tried Redhat linux9.0, Ubuntu linux6.0.6, and, I want to try some another versions, like: Debian, slackware, Gentoo, etc..

I ask myself, do I do need try these things?

Of course, I will encouter many questions when I try a new linux distribution version, just like I am being encountered  by trying ubuntu after I have being used Redhat linux9.0 some time, I resolved one by one matters, such as Chinese Input Method under Emacs, text console, compiling kernel, etc..

Now, I am aware of, that is, I have no need to try these things.

My goal is the jobs on the OS, not the OS itself.

Yes, I believe I can resolve all incoming matthers at last, I believe my ability. But, it really is a useless thing!

So, I stop this no end's action. I am back, back to my Redhat linux9.0, Ubuntu is a nice linux distribution, but it isn't a good choice for me: fisrt, my computer is too old, running it is a difficult thing; second, the high level auto installing software's style isn't prefer for me, I wish all the things is under control. when I runing: apt-get install ***, I can't know where my software to go? what place they go? third, there are always some little questions bother me, like chinese input method under text console and emacs, compiling kernel, etc..

So, ubuntu is a good but is a bit green apple for me, today, I have removed it from my computer, replace it by redhat linux9.0.

I think, I won't try other distribution versions, working on redhat9.0 is enough for me.

都市中遇到洪水怎么办(转帖)

(转自:http://www.gov.cn/yjgl/2005-08/03/content_19229.htm)

                                       都市中遇到洪水怎么办

                                                 _

                                                 _

           中国政府门户网站 www.gov.cn   2005年08月03日  来源:国务院应急管理办公室

                               【字体:大中   [打印本页] [关闭窗口]

                                       小】

                                                 _

             都市中遇到洪水最先采取的措施就是迅速登上牢固的高层建筑避险,而后要与救援

           部门取得联系。同时,注意收集各种漂浮物,木盆、木桶都不失为逃离险境的好工具。

           分析洪水中人员失踪的原因,一方面是洪水流量大,猝不及防;另一方面也是因为有的

           人不了解水情而涉险渡水。所以,洪水中必须注意的是,不了解水情的人一定要在安全

           地带等待救援部门的救援。

             1.避难所一般应选择在距家最近、地势较高、交通较为方便处,并有上下水设施,

           卫生条件较好。在城市中大多是高层建筑的平坦楼顶,地势较高或有牢固楼房的学校、

           医院等。

             2.将衣被等御寒物放至高处保存;将不便携带的贵重物品做防水捆扎后埋入地下或

           置放高处,票款、首饰等物品可缝在衣物中。

             3.扎制木排,并搜集木盆、木块等漂浮材料加工为救生设备以备急需;洪水到来时

           难以找到适合的饮用水,所以在洪水来之前可用木盆、水桶等盛水工具贮备干净的饮用

           水。

               4.准备好医药、取火等物品;保存好各种尚能使用的通讯设施,可与外界保持良好

           的通讯、交通联系。

向google反馈广告过滤清单的广告频繁出现得到回复

我在广告过滤名单上已经添加了某个广告有大概2个月了吧。前几天,此广告频繁在 首页上出现。我通过广告左下角反馈链接向google反映。

两天后的星期一,google回信,意思是查看某处帮助,实际上帮助我早就看了,原来虽然我按照帮助上的作法把这个广告加入过滤名单,但是仍然出现了上面说的情况。

我估计是可能这个广告主的出价比较高,它在众多广告的优先级也较高,这样,google通过广告提成的收入也要多点。这种收入上占的权值高于了过滤广告的权值,于是,这个广告就出现了。

当然,现在学习日记访客少得可怜,根本不对google adsense的收入有影响,我说的是一种猜测的google的广告投放算法,也不能确定事实就是如此,也许是基于服务器资源开销的考虑,因为投放广告时还要访问数据库进行过滤会增加服务器的开销和网络资源的开销?

但是,反馈信息后的这一周时间里,这个广告基本上没有在本站出现了。

我也在思考过滤某些广告是否是正确的作法?大海之所以深沉,是因为它“海纳百川”;大地之所以厚重,是因为它能承载一切,好的,坏的,美的,丑的...

我不是圣贤,我很迷惑。不只是广告。。。

女儿趣事趣话各一则

最近1个月,虽然天气持续的高温和干旱,但是女儿的身心状态一直还不错,现在又是放暑假,成天玩得有点“忘乎所以”了,我的第一感觉就是:快乐的童年。

趣事一则,也不算是什么趣事,反而是她的恶作剧行为。

有一天,她婆婆骗她说我在楼上,实际上我在单位上班。她喊了几声喊不答应,气急败坏的冲楼上喊:“疯子爸爸”。“疯子”一词是她从某处学到的骂人的话,这不行,得告诉她这不文明,要改。

这样喊了好像还不解气,也许是报复?也许是好玩?搞不懂。她拖起一柄扫院子的很脏的扫帚,在一桶她婆婆晒的辣椒酱上扫来扫去,扫了一会儿,就又跑去玩了。这下可好,扫帚上满是辣椒酱,地上也是,那桶辣椒酱也是一踏糊涂...

趣话一则。

一天,女儿到她小姨家玩,看到一个大金鱼缸,惊呼道:看呀,鱼摆摆在生鸡蛋!

原来是金鱼缸下面放的白色的鹅卵石。