欢迎来到天天文库
浏览记录
ID:9732103
大小:66.50 KB
页数:7页
时间:2018-05-06
《使用官方ubuntu软件库构建dvd镜像》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、使用官方Ubuntu软件库构建DVD镜像 1PreliminaryNote Thistutorialon/ubuntu-dvd-en.SomanythankstoRamonAcedo(theoneadethisHosomeeforyou. 2Introduction ThishopleagesofDebianorUbuntuhttp/ftprepositories. Ubuntudoesn'tofferDVDsreadytodoain,universe,multiverseand/orrestrictedrepositor
2、ies.irror:sudoapt-getinstalldebmirror Noplebeloain,universeandmultiversesectionsoftherepositoryinthei386architecture. debmirror--nosource-m--passive--host=archive.ubuntulinux.org--root=ubuntu/--method=ftp--progress--dist=dapper--section=main,multiverse,universe--arch=i38
3、6ubuntu/--ignore-release-gpg Youcouldchangetheoptionsbeloirrorlocally. --arch-thearchitectureofyourbox. 4SeparatingthearchiveintoDVD-sizeddirectories TherepositoriestoaDVDsointovolumes. Thetooldebpartialakethedirectoryeskdirubuntu-dvd andakeittoconstructthepackagedes
4、criptorstoeveryvolume. debpartial--nosource--dirprefix=ubuntu--section=main,universe,multiverse--dist=dapper--size=DVDubuntu/ubuntu-dvd/ Noirrorandubuntu-dvd/*arethedirectoriesreadytohosttheneakesoftlinksfromthepleterepositoryinsteadofcopyingthepackageswecancalldebcopywi
5、ththeoption-l: ruby-ldebcopyubuntu/ubuntu-dvd/ubuntu0 ruby-ldebcopyubuntu/ubuntu-dvd/ubuntu1 ruby-ldebcopyubuntu/ubuntu-dvd/ubuntu2 Noages Togetthedirectoriesubuntu0,ubuntu1,ubuntu2intoanisoimagereadytoburnkisofs: mkisofs-f-J-r-oubuntu-dvd-0.isoubuntu-dvd/ubuntu0 mk
6、isofs-f-J-r-oubuntu-dvd-1.isoubuntu-dvd/ubuntu1 mkisofs-f-J-r-oubuntu-dvd-2.isoubuntu-dvd/ubuntu2 Noagesormountthem.Addthemtothe/etc/apt/source.listand: sudoapt-cdromadd Noeone.-lcreatessymboliclinks# insteadofcopyingfiles.##Copyright(C)2002 MasatoTaruishi## Thisprogra
7、misfreesoftodify# itunderthetermsoftheGNUGeneralPublicLicenseaspublishedby# theFreeSoftisdistributedinthehopethatitpliedoredetails.## YoushouldhavereceivedacopyoftheGNUGeneralPublicLicenseon-licenses/GPL;# ifnot,plePlace,# Suite330,Boston,MA 02111-1307 USA#require'geto
8、ptlong'require'zlib'require'ftools'$link=falsedefusage $stderr.putsUs
此文档下载收益归作者所有