Category: linux

gentoo上mt-daapd的bug

25 二月, 2008 (00:41) | gentoo, linux

在家里的server上装了个mt-daapd来共享音乐,结果emerge之后却启动不起来,显示错误信息如下:
shushan music # /etc/init.d/mt-daapd start
mDNSResponder
* ERROR: Some services needed are missing. Run

pyblosxom 1.4 已经发布了

11 七月, 2007 (12:19) | linux, news

我今天刚刚看到,其实7月2号就已经发布了,前一段时间在家里的机器上装了一个,十分爱不释手。于是就有一段时间没在donews上写blog了,现在是先用emacs23+muse写好,svn 到家里的机器上发布...

小企鹅输入法终止开发

10 七月, 2007 (16:04) | linux, news

今天在Fcitx小企鹅输入法的主页上看到作者Yuking宣布停止开发了,作者还发了一篇文章做了解释。

从开始接触Linux开始就在用fcitx了,感觉非常顺手,现在停止开发了,真是可惜啊。不过...

有趣的shell脚本

10 七月, 2007 (15:47) | shell, linux

从ubuntu-cn irc 上看到的,非常好玩:

while : ;do for i in 0_0 o_O -_O -_o -_- o_- O_- O_o ; do clear;echo $i;sleep .1 ;done;done;

...

aptitude new options

7 七月, 2007 (13:12) | debian, linux

今天更新系统,发现用 aptitude update 的时候有提示说

W: The “upgrade” command is deprecated; use “safe-upgrade” instead.

原来最近aptitude升级到了0.4.5.4,用 safe-upgrade 代替了原来...

Gentoo的编译参数

3 七月, 2007 (23:28) | gentoo, linux

Gentoo一个最大的好处就在于其文档相当的全面,今天在maillist上看到有人提到这篇Compilation Optimization Guide,读过之后对gentoo系统的认识又深入了一点,记几点心得。

CFLAGS 是为编译C语言...

调整了一下硬盘的hdparm参数

2 七月, 2007 (01:26) | gentoo, debian, linux

今天调整了一下硬盘hdparm的参数,主要是因为在debian服务器上老是看到警告说:

Warning: The following devices contain databases and have write
caching enabled: /dev/hda
This could destroy the integrity of ...

debian的alternatives

3 五月, 2007 (14:57) | debian, linux

update-alternatives命令用来设置默认程序,如WWW浏览器,要更换系统默认的浏览器,可以用下面的命令:

update-alternatives -config x-www-browser

Debian系统的/etc/alternatives目录下,是所有的可...

测试网络的小脚本

24 四月, 2007 (13:29) | linux

最近家里的机器不太稳定,经常连不上,写了个小脚本,测试网络通不通:

#!/bin/bash […]

...

删除某个目录下所有文件的第一行

7 二月, 2007 (10:48) | linux

for f in *
do
sed -e ‘1d’ -i “$f”
done

原文来自linuxsir bbs论坛,ps 有时间还是要好好看看shell。

...