thinkpad x200 ubuntu无线崩溃解决方案
Wednesday, September 30th, 2009 Posted in Linux, troubleshooting | No Comments »最近不知道为什么,我x200总是会出现无线崩溃的情况。就算你用下面这条命令,得到的居然是设备忙... $ sudo iwlist can lo Interface doesn't support scanning. eth0 Interface doesn't support scanning. pan0 Interface doesn't support scanning. wmaster0 Interface doesn't support scanning. wlan0 ...
在后台运行rtorrent
Wednesday, September 23rd, 2009 Posted in Linux | No Comments »本来一直是用transmission做PT的客户端的,但是transmission的功能实在是太弱了,web-gui显示的信息也实在是太有限。在别人的推荐下,总算下定决心换rtorrent+wtorrent来做PT客户端了。 说实在的,wtorrent的安装也还真不简单,零碎的步骤实在是太多了。不过,照着manual基本上是可以安装成功的。 以前也用过rtorrent,后来放弃,原因很多,主要是不知道要第三方的插件才能实现web-gui,第二就是这个程序必须要在前台运行。没有web-gui其实也好办,基本上可以自己写一个简单的ui,但是必须要在前台运行 就实在是太麻烦了。 以前没时间研究,就直接放弃了。这次看了看,原来还真可以让他在后台运行 的,只不过要借用一个叫 screen的工具。 首先,使用下面这个命令启动rtorrent screen rtorrent 启动之后,按组合键CTRL+A+D可以销毁屏幕,回到命令提示符下。之后你就可以退出了,但是程序还是不会停的。 运行下面这个命令,可以恢复之前的屏幕: screen -r 当然,也可以根据pid来恢复指定的程序的屏幕输出: screen -r pid.tty.host 参考:http://www.linuxquestions.org/questions/linux-software-2/rtorrent.-how-to-make-it-run-in-the-background-596041/
od_deflate has been requested but can not be built due to prerequisite failures
Wednesday, September 23rd, 2009 Posted in Linux | No Comments »在编绎apache时开启了--enable-deflate这个选项,结果就报了这个错 od_deflate has been requested but can not be built due to prerequisite failures 还好比较容易解决,只需要安装一个zlib-devel包就可以了。 只是在Mandriva Linux下安装这个费了点劲,购买的服务过期了,urpmi不能直接安装了,还好找到了包名,在网上一搜就找到一个可以下载的,也没花多少时间