安装内核源码 apt-cache search kernel-source uname -r 内核源文件: apt-get install linux-tree-xxxx apt-get install linux-source-xxxx 内核头文件: apt-get install linux-headers-xxxx 内核编译程序: apt-get install linux-kbuild-xxxx 内核镜像做成deb的工具 apt-get install kernel-package 制做initrd镜像 apt-get install initrd-tools 编译内核: make-kpkg --initrd --revision=custom.1.0 kernel_image debian kerne...
安装内核源码 apt-cache search kernel-source uname -r 内核源文件: apt-get install linux-tree-xxxx apt-get install linux-source-xxxx 内核头文件: apt-get install linux-headers-xxxx 内核编译程序: apt-get install linux-kbuild-xxxx 内核镜像做成deb的工具 apt-get install kernel-package 制做initrd镜像 apt-get install initrd-tools 编译内核: make-kpkg --initrd --revision=custom.1.0 kernel_image debian ker...
1)将debian的安装光盘作为源 apt-cdrom命令用于扫描debian安装光盘信息,也可以将安装光盘作为安装源添加到"sources.list"文件中。 apt-cdrom的命令格式为:apt-cdrom [选项] 命令 命令包括: add:增加一CDROM。 ident:报告CDROM的验证信息。 选项包括: -h:帮助。 -d:光盘挂载点。 -r:为一个已经识别的光盘改名。 -m:无挂载。 -f:快速模式,不检查软件包文件。 -a:完整扫描模式。 -c=?:读取配置文件。 -o=?:设置任意的配置选项,...
镜像同步的配置文件: #cat mirror.list set base_path /var/spool/apt-mirror/ deb http://ftp.us.debian.org/debian etch main contrib non-free deb http://security.debian.org/debian-security etch/updates main contrib non-free deb http://ftp.us.debian.org/debian etch main/debian-installer 运行: # apt-mirror Downloading 20 index files using 20 threads... Begin time: Sat Nov 29 21:52:27 2008 [2...
apt-get remove --purge obm-storage Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: obm-storage* 0 upgraded, 0 newly installed, 1 to remove and 89 not upgraded. 1 not fully installed or removed. After this operation, 9966kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 66335 files and...
之前一直使用Gentoo,最近因为工作需要要维护一台debian的服务器,对于debian的包管理机制有些糊涂,在这里请教一下。 首先,在做软件包更新的时候,会提示有一些package会被remove,开始以为是remove老版本的package,但仔细一看,其中有不少是正在使用的,并且是最新的软件包,不知道对于这样的情况,我应该如何理解和处理?e.g. apt-get install apapche2更新apache2服务器,但不知什么原因,却需要remove掉我的phpmyadmin... ...