SysAdmin

共 249 篇文章。

How to remove a whole tree from CVS?

• Development

Sometimes CVS is very nasty when operating. For example, when you want to remove a whole tree (including zillion sub-directories and files) you may have to enter commit log (at least, confirm) for every directory, if you are going to do a “cvs ci” in the top level directory.

It is possible to solve this problem with simple Unix(R) commands:

阅读全文… ( 本文约 111 字,阅读大致需要 1 分钟 )

beastie.frontfree.net 总算活过来了

• Life

人生一课——当你配置一个系统的时候,绝不要让它自动清除任何目录,哪怕是临时目录。

一个错误的fstab,一组正确的系统配置,一个好的内核,一根不该接的硬盘线,于是beastie非常忠实地履行了其责任——rm -rf /tmp/*,然而,被rm掉的是/var……

参与评论

beastie.frontfree.net 活过来了

• Life

经历了更换硬盘打击之后的beastie总算活过来了(/var由于这次操作彻底消失了)。由于软件版本升级太多,考虑到综合成本,我部署了PhantasmMail 3.0-beta。目前尚需解决sasl的验证问题。

参与评论

忙活了一早上,最后我以前的调试经验还是帮了我的忙

• Life

另一个部门的同事说他们那里的 mysql 总是会在凌晨0:00-1:00这段时间发生诡异的问题,即CPU占用迅速升高,并停止响应。

重起mysql无效,但到1:00之后,只要重起mysql,就可以恢复正常。

为此,今天我做了一次非常冒险的在线调试工作,并最终解决了问题。

阅读全文… ( 本文约 331 字,阅读大致需要 1 分钟 )

cvs.freebsd.org.cn online again!

• Development

With alu@’s help, we have cvs.freebsd.org.cn online again! I have set up the CNPROJ branch in a similiar manner as `delphijfork'.

CNPROJ will then work under this branch. Later merge/commits will utilize another tag: CNPROJ_COMMITTED.

参与评论

New CVSWeb functionality

• Development

I have noticed that my newly deployed CVSWeb utility has shown a new feature: more detailed diff.

Consider the following situation:

You have a line:
Please help me. I am in a hurry going to the plane.

阅读全文… ( 本文约 82 字,阅读大致需要 1 分钟 )