本文详细介绍使用官方Ubuntu软件库构建DVD镜像
--host - the URL of the repository.
--dist - the distro of your OS (dapper, edgy, sarge, ... ).
--section - the section you want to mirror locally.
--arch - the architecture of your box.
4 Separating the archive into DVD-sized directories
The repositories we got are too big (about 30Gb) to burn them to a DVD so we have to separate them into volumes.
The tool debpartial will do it for us.
sudo apt-get install debpartial
We make the directory where the volumes will reside.
mkdir ubuntu-dvd
and we make it to construct the package descriptors to every volume.
debpartial --nosource --dirprefix=ubuntu --section=main,universe,multiverse --dist=dapper --size=DVD ubuntu/ ubuntu-dvd/
Now we have to put the packages into the directories debpartial has just created. The script debcopy which also comes with the debpartial package will do it. The script needs ruby.
sudo apt-get install ruby
If everything is ok...
ruby debcopy ubuntu/ ubuntu-dvd/ubuntu0
ruby debcopy ubuntu/ ubuntu-dvd/ubuntu1
ruby debcopy ubuntu/ ubuntu-dvd/ubuntu2
Where ubuntu/ is the directory with the complete repository created with debmirror and ubuntu-dvd/* are the directories ready to host the new DVD-ready repository.
If we want to make soft links from the complete repository instead of copying the packages we can call debcopy with the option -l:
作者:ginocic 责编:豆豆技术应用
- Linux/Unix新闻
- Linux/Unix入门
- Linux/Unix命令
- Linux/Unix安装
- Linux/Unix编程
- Linux/Unix管理
- Linux/Unix桌面
- Linux/Unix内核
- Linux/Unix软件
- Linux/Unix发行版
- redhat/Fedora
- IBM AIX
- FreeBSD
- Solaris
- NetBSD
- SCO Unix
- Ubuntu下智能拼音输入法
- Ubuntu Linux下WPA无线上网
- Ubuntu Linux系统的目录结构
- Locale下使用中文输入法
- 使用QQ、MSN的方法
- Ubuntu下安装AVG杀毒
- Ubuntu自启动选项的设置方法
- Ubuntu操作系统进行彻底优化
- 在Ubuntu系统下安装*.bin程序
- 找不到Makefile的解决办法
- find基本用法
- ldd命令原理及用法例子
- su和sudo命令的区别与使用技巧
- Linux操作系统下的dd命令技巧
- 关于Top命令的参数详解
- 关于Tar命令的使用
- SSH实用技巧及常用命令使用
- Linux后台执行命令
- VI命令使用技巧集锦
- Vmstat命令列出的属性详解
- 如何查看及修改文件读写权限
- 最大可存储的单文件容量
- ext2/ext3文件系统介绍
- 常用压缩格式的压缩解压方法
- Linux系统的引导过程详细解析
- Configure参数解释说明
- Linux下硬盘和分区的命名方法
- 硬链接与软链接的区别
- 权限和所有权模型
- 存储设备的两种表示方法