|
|
第 121 帖 | |
|
|
看完了,不好意思拍屁股走 ..
#4 mount squashfs , live-cd 上的 squashfs 文件系统,适合误删除 /bin 之类的情况 sudo mount -o loop -t squashfs ./filesystem.squashfs /mnt/squashfs #adjust crt , lin/win 下屏幕偏移不一致 sudo xvidtune #mp3 ID3 tag 乱码 sudo apt-get install python-mutagen find . -iname “*.mp3” -execdir mid3iconv -e GBK {} \; mid3iconv -e GBK *.mp3 #uuid ls -l /dev/disk/by-uuid #恢复/备份 MBR dd if=disk.mbr of=/dev/sda bs=446 count=1 # rename # 把所有文件的后辍由rm改为rmvb rename "s/.rm$/.rmvb/" * # 把所有文件名中的大写改为小写 rename "tr/A-Z/a-z/" * #查看包在服务器上面的地址 apt-get -qq --print-uris install ssh | cut -d\' -f2 #改ip_forward ... 重定向方式的 permission denied echo 1|sudo tee /proc/sys/net/ipv4/ip_forward #forcefsck , 下次重启 sudo touch /forcefsck #axel 带 login/pass axel -a -n10 http://user ass@server/url/file#vi-cp936 vi 看gbk的文件 :edit ++enc=cp936
__________________
Ubuntu Gutsy / XP-sp2 / Gentoo / Arch pentium E2160 / intel 945G / 1G / ST160G Gnome 2.18 |
|
|
|
|
|
|
|
第 122 帖 | |
|
|
安装debfoster来卸载软件以及相关有依赖关系的包。详见
http://moto.debian.org.tw/viewtopic.php?p=40372 |
|
|
|
|
|
|
|
第 123 帖 | ||
|
|
/etc/sudoers配置
引用:
__________________
Debian的知识库:http://debian.linuxsir.org || http://www.debsir.org ------------------ Seeking Freedom,pure Freedom! [url]http://etony.9966.org/[/url] |
||
|
|
|
||
|
|
第 124 帖 | ||
|
|
卸载debian gnome桌面自带的游戏
引用:
|
||
|
|
|
||
|
|
第 125 帖 | |
|
|
标题: (未解决)如何测试安装deb包呢? 就是不安装的情况下怎么知道deb包安装后文件都被拷贝到哪些目录呢? @eTony: 请问如何测试安装deb包呢? 就是不安装的情况下怎么知道deb包安装后文件都被拷贝到哪些目录呢? 谢谢!
update: deb包解开后里面有两个文件夹"CONTENTS"和"DEBIAN",其中"DEBIAN"下有两个文件分别是“CONTROL”和一个md5校验码文件, CONTENTS下面的文件和文件夹是和系统文件夹一样的编排,我想CONTENTS下文件在那个文件夹下在安装后也会被拷贝到响应的系统文件夹下,对么? 另外这个过程都是在CONTROL的文件控制下么?用文本编辑器打开CONTROL内容很精简貌似没有什么有着控制功能的代码。 此帖于 08-02-17 00:26 被 fenglu 编辑. |
|
|
|
|
|
|
|
第 126 帖 | ||
|
|
引用:
dpkg-deb -c xxxxxxxxxxxxxxxx.deb 参阅: http://www.debsir.org/main/?q=node/121 |
||
|
|
|
||
|
|
第 127 帖 | ||
|
|
dpkg -deb -c就是查看deb包内的内容。 请问我在125楼的update中的理解对么?就是说安装dpkg安装deb包其实就是按照包内的文件结构向系统内响应文件夹自动拷贝文件?从里论坛上说我手工复制各个文件夹也能实现相同的安装效果只是卸载的时候无法用dpkg -P来自动完成? 请问这样理解正确么?谢谢!
引用:
此帖于 08-02-17 22:44 被 fenglu 编辑. |
||
|
|
|
||
|
|
第 128 帖 | ||
|
|
修改系统动态参数
编辑 /etc/sysctl.conf 文件 加入对应设置即可 如: 引用:
|
||
|
|
|
||
|
|
第 129 帖 | ||
|
|
引用:
from http://wiki.debian.org/PPPoE How to enable PPPoE for an already installed system In order to make PPPoE run on a Debian station you should follow the following steps: * install a Linux kernel which has: o ppp and pppoe support enabled (module or built-in). Kernels compiled by Debian have them. o Ethernet driver for the interface on which you expect to connect using PPPoE * install pppoeconf (it will pull ppp and optionally pppoe ) * Run pppoeconf to generate and/or modify /etc/ppp/peers/dsl-provider, /etc/ppp/*ap-secrets files and /etc/network/interfaces. It is best, in most cases, to keep the suggested answers auto eth0 iface eth0 inet manual auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up provider dsl-provider |
||
|
|
|
||
|
|
第 130 帖 | ||
|
|
引用:
from http://wiki.debian.org/PPPoE How to enable PPPoE for an already installed system In order to make PPPoE run on a Debian station you should follow the following steps: * install a Linux kernel which has: o ppp and pppoe support enabled (module or built-in). Kernels compiled by Debian have them. o Ethernet driver for the interface on which you expect to connect using PPPoE * install pppoeconf (it will pull ppp and optionally pppoe ) * Run pppoeconf to generate and/or modify /etc/ppp/peers/dsl-provider, /etc/ppp/*ap-secrets files and /etc/network/interfaces. It is best, in most cases, to keep the suggested answers auto eth0 iface eth0 inet manual auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up provider dsl-provider 此帖于 09-04-21 19:46 被 wangtwo 编辑. 原因: 网络错误 重复发帖 |
||
|
|
|
||