SysAdmin

共 249 篇文章。

You must do mount_devfs before jailing!

• Development

Today I start to build a package set for corporation’s production servers. However, perl 5.8 build was stopped with a strange error.

I went into investigating what is happening. Finally I found that I should have mount_devfs’ed before jailing the builder :-( What a shame…

参与评论

We're likely to cut 5.3-RELEASE one week later!!

• Development

Scott Long, the Release Engineering Team Lead, has announced the “Final MFC Call” which means we must MFC all changes in the next 24 hours. A Release Candidate would be tagged soon (in 1 day) by creating RELENG_5_3 branch.

Accroding to the historical release engineering practice, we will release at least two release candadites. However, the release engineering team thought that we have seven (7) beta releases and we may reduce the need of RC’s to only one.

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

A script to update site periodically through CVSup(R)

• Development

The script I am using for updating my own website(s) is not quite complex, it is here:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#!/bin/sh
# Detect and update the files
#
# $Phantasm$

CVSROOT="/home/ncvs"
SUPFILE="/home/delphij/cvsup/supfile-delphijweb"
LOCKFILE="/home/delphij/cvsup/cvsup-lock"

if [ -f ${CVSROOT}/CVSROOT/commitlogs/have_updates ]
then
	rm ${CVSROOT}/CVSROOT/commitlogs/have_updates
	cvsup -1gL 2 ${SUPFILE}
fi

Of course you need some CVSROOT scripts to get it work, but the idea is not too complex.

参与评论

beastie.frontfree.net is now running bind 9.3

• Networking

I finally got beastie.frontfree.net running bind 9.3 (as FreeBSD 5.3-BETA7 does, which is chroot’ed by default). While this is accomplished primarily with help of src/UPDATING’s instructions and Doug Barton’s excellent mergemaster(8). BIND stands for “Berkeley Internet Name Daemon” and is the de-facto standard of DNS implementation.

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

歇斯底里的Load

• Life

一台正常运行的*nix机器,在满负荷运转的时候的load是1.0。

我们这里有4台机器,负载是1000。

经过近乎疯狂的整治,第一天将负荷降到了0.7,但第二天终于还是绷不住了,基本维持在100左右。中秋节发短信的人真多啊……

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

Different _rc_subr_loaded approach adopted by FreeBSD and NetBSD

• Development

The RCng system was developed by NetBSD and FreeBSD have adopted it. _rc_subr_loaded is a flag that both system adopts to speed up the startup.

The FreeBSD approach is to determine whether to run for the whole rc.subr script, while NetBSD approach is to define it as a “:” so rc_subr won’t be loaded.

Which is better?

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

Getting overloaded

• HR Information

Good news is that the University has remembered to pay for a project, bad news are, I am looking for a person who is capable for maintaining Unix(R) Systems like FreeBSD and Linux, Solaris, and is knowledgable in scripting languages, etc (PHP, MySQL, etc) for the company I am working for, etc. Please let me know by sending your resume to delphij at delphij dot net.

参与评论

有感于放飞论坛出现了政治言论

• Life

吓了我一跳,立即删除了……没有任何人通知我,也没有人采取行动,就这么挂了4天,还好没有有关部门发现,坦率地说,这不是一件令人高兴的事情。

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