|
|
第 91 帖 | ||
|
|
引用:
# /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a "#", and everything on the line after them are ignored. ide-cd ide-disk ide-generic psmouse 感觉里面没有呀
__________________
Debian Testing Dell D630 2G RAM Nvidia Quadro NVS 135m display card |
||
|
|
|
||
|
|
第 92 帖 | |
|
|
设置屏幕分辨率和刷新率
dpkg-reconfigure xserver-xorg 还不行的话,继续 apt-get install xdebconfigurator xdebconfigurator
__________________
开源传万世,因有我参与! linuxsir.org,我心中最好的社区. E6300+P43+POV GT9800节能版+2G RAM+HD 500G |
|
|
|
|
|
|
|
第 93 帖 | |
|
|
好贴,有张见识了。
__________________
Knowledge is power! |
|
|
|
|
|
|
|
第 94 帖 | |
|
|
调整分辨率和刷新率
#aptitude install xdebconfigurator #xdebconfigurator 获取硬件信息 根据所得信息调整/etc/X11/xorg.conf中的参数
__________________
Debian的知识库:http://debian.linuxsir.org || http://www.debsir.org ------------------ Seeking Freedom,pure Freedom! [url]http://etony.9966.org/[/url] |
|
|
|
|
|
|
|
第 95 帖 | |
|
|
编译内核
需要安装 gcc libncurses5-dev libc6-dev linux-kernel-headers |
|
|
|
|
|
|
|
第 96 帖 | |
|
|
自建debian源
假定匿名ftp服务器的跟目录是/home/ftp (1) 建立pool目录 $ cd /home/ftp $ mkdir debian $ cd debian $ mkdir pool (2) 复制debian包 $ cd pool $ cp /var/cache/apt/archives . (3) 建立目录结构 $ cd .. $ install -d dists/testing/main/binary-i386 (4) 生成包信息 $ ls -l pool | sed 's/_.*$/ priority section/' | uniq >override $ dpkg-scanpackages pool override | gzip > dists/testing/main/binary-i386/Packages.gz (5) 建立发行文件 $ cat > dists/testing/main/binary-i386/Release << EOF Archive: testing Component: main origin: Debian Label: Debian Architecture: i386 EOF (6) 客户端sources.list设置 deb ftp://<ftp服务器地址>/share/debian testing main 说明:添加新包时,只需要将新的deb包复制到pool目录,重新进行第(4)步即可。 缺点:未建立包认证信息,安装时会提示认证错误,不过可以使用。 那位大虾如果知道怎么解决这个问题,请帮忙贴出来。 |
|
|
|
|
|
|
|
第 97 帖 | |
|
|
有个地方错了,纠正一下
(6) 客户端sources.list设置 deb ftp://<ftp服务器地址>/debian testing main |
|
|
|
|
|
|
|
第 98 帖 | |
|
|
设定fsck前mount的次数:
colinux:~# tune2fs -l /dev/cobd0|grep -i "mount count" Mount count: 20 Maximum mount count: 38 colinux:~# tune2fs -c 10 /dev/cobd tune2fs 1.39 (29-May-2006) Setting maximal mount count to 10 colinux:~# tune2fs -l /dev/cobd0|grep -i "mount count" Mount count: 20 Maximum mount count: 10 永远不自检: colinux:~# tune2fs -c -1 /dev/cobd0 此帖于 06-07-30 22:20 被 eTony 编辑. |
|
|
|
|
|
|
|
第 99 帖 | |
|
|
调整分¨率和刷°率
#aptitude install xdebconfigurator #xdebconfigurator ·Ö硬öá息 根据所á息调整/etc/X11/xorg.conf中的Â数 #dexconf |
|
|
|
|
|
|
|
第 100 帖 | |
|
|
设置xwindow下鼠标速度
使用xset m n命令,下面是速度列表: "Very Fast" xset m 7 10 & "Normal(Fast)" xset m 3 10 & "System Default" xset m default & "Glacial" xset m 0 10 & |
|
|
|
|
|
|
|
第 101 帖 | |
|
|
非常好的东西,如果以后多了可以做成电子书,一句话技巧之类的。
|
|
|
|
|
|
|
|
第 102 帖 | |
|
|
设置bash提示符颜色,示例是绿色:
PS1="\[\033[0;32m\]\u@\h \w \$ \[\033[0m\]" 可以用下面程序选择字节喜欢的颜色: for(i = 0; i < 70; i++){ for(j = 0; j < 70; j++){ printf("\33[%d;%d;1m you favourite color?\33[0m value: %d, %d\n", i, j, i, j); } } 用"i;jm" 替代上面的0;32m |
|
|
|
|
|
|
|
第 103 帖 | |
|
|
修改未登录系统前的提示:
/etc/issue |
|
|
|
|
|
|
|
第 104 帖 | |
|
|
控制键盘指示灯的命令:
setleds +num|-num setleds +caps|-caps setleds +scroll|-scroll 注意:上述命令只能在Shell下执行,不能在X下执行。
__________________
终身学习,独立思考 http://blog.sina.com.cn/u/1233552064 |
|
|
|
|
|
|
|
第 105 帖 | |
|
|
控制键盘指示灯的命令:
setleds +num|-num setleds +caps|-caps setleds +scroll|-scroll 注意:上述命令只能在Shell下执行,不能在X下执行。 |
|
|
|
|
|