分页: 1 / 3

大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-20 23:11
jandyzhu
大家都做定制版之UCK-Ubuntu Customization Kit

一、准备工具及资源:
1、UCK - Ubuntu Customization Kit:支持定制Ubuntu、Kubuntu、Xubuntu和Edubuntu。
下载地址:http://sourceforge.net/projects/uck/files/
2、Ubuntu原始iso文件。
注意:要定制的版本必须和你使用的系统版本是一致的。如,要定制Kubuntu 8.04,那么你使用的系统也必须是Kubuntu 8.04。
3、home目录要有5GB以上的可用空间。
4、规划要定制的设置和增删的软件。

二、用UCK进行中文以及其他个性化的设置

运行UCK:应用程序——系统工具——Ubuntu Customization Kit。
0908151030.png
注意看Requirements(要求),如:要求联网,并且软件源 "deb-src http://archive.ubuntu.com/ubuntu/jaunty main"可用。
然后点击关闭。

Please choose language packs to install.
从列表中选择zh,然后点确定。
注意:在这里你可以选择多种语言包,但后面启动引导器的语言只能选择一种。还有,所选择的启动引导器的语言必须是你所要定制的Ubuntu版本支持的语言,不然,Live CD会在编译时提示失败。
0908151031.png
Please choose language which will be used at boot of live CD.
从列表中选择zh_CN,点确定。
0908151032.png
Please choose desktop environments which will be present on customized CD.
选择桌面环境gnome,然后确定。
0908151033.png
Please choose an ISO image to be used as the basis for your live CD.
选择作为基版的Ubuntu ISO文件。
0908151034.png
Please enter the name for your CD.
输入光盘名称(最多32个字符),确定。
0908151036.png
Do you want to customize the CD manually during building (using package utilities, console, etc.)?
是否在构建系统时使用软件包管理器(新立得)和终端,选择“yes”并确定。
0908151037.png
Do you want to delete all windows-related files from the CD? These are files that will appear when you use the CD under Windows (wubi, autorun.inf, etc.)
是否删除所有Windows相关文件,如wubi、autorun.inf等,选择yes,确定。
0908151038.png
All the necessary information has been gathered.
所有所需信息已经收集完毕。点击“关闭”。
0908151039.png
在弹出的终端窗口输入密码并回车,开始创建。
然后查看 /home/yourname/tmp/ 文件夹里是否已经生成了remaster-root/ect/apt/sources.list文件,如果有的话,赶紧用你那里最快的源替换掉此sources.list文件,以加快下载软件包的速度。
如果不换源的话,默认是到Ubuntu的官方源下载文件,下载速度可能会很慢。

安装完中文环境后,弹出对话框问:
Run package manager(运行软件包管理器)
Run console application(运行终端)
Continue building(继续创建)
在这里选择Run console application。
44.png
然后在终端中进行定制,如:

更新系统和软件包
apt-get upgrade

安装Ubuntu维护的多功能包(包含多媒体包/Flash包/JAVA虚拟机包等)
apt-get install ubuntu-restricted-extras

在右键菜单添加“以管理员身份打开”选项
apt-get install nautilus-gksu

删除刚才下载的deb包以及apt的下载缓存
rm *.deb
apt-get clean

你也可以复制你定制好的文件到Live CD里。但要这样做,要打开另一个终端并进入~/tmp/remaster-root/目录。这个目录就是定制好的Live CD的根目录,这个目录下的结构和你系统中的目录结构是一样的。把要复制的文件放到相应的目录就可以了,例如,GNOME的桌面图片是在/usr/share/backgrounds/目录下的,如果想把桌面图片放进Live CD里,把桌面图片放到~/tmp/remaster-root/usr/share/backgrounds/目录下就可以了。

定制完毕,关闭终端,在弹出对话框选择 Continue building 继续创建。

直到显示“Building was successful!”创建即告结束。
新的ISO文件将会创建在 /home/yourname/tmp/remaster-new-files/livecd.iso。
处理过程的所有操作会被记录在 /home/yourname/tmp/build.log 里。

相关帖子:
《大家都做定制版之Reconstructor》 viewtopic.php?f=48&t=221900

参考文献:
http://www.acskey.cn/bbs/read.php?tid=41
http://blog.163.com/cn170355@126/blog/s ... 113157114/
http://wiki.ubuntu.org.cn/%E4%BD%BF%E7% ... ntu-livecd

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-21 0:00
photor
:em11 :em11 :em11

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-22 9:30
analyzer
真是好文章啊,谢谢楼主分享

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-22 21:28
wecing
别的发行版怎么办?

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-23 10:41
sammysun
:em11

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-25 12:15
rgwan
:em09 好东东!

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-25 14:06
ubuntuabc
wecing 写了:别的发行版怎么办?
好象Fedora也有一个定制工具,不过我没用过,不过功能如何,名字也不记得了。

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-25 18:36
rgwan
heihei :em05

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-25 21:38
guishugan
好东西 收藏了

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-26 3:16
mickeywaley
:em09 收藏

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-08-26 4:41
istartagain
开终端的时候
Running console application /usr/bin/gnome-terminal failed, error=1 :em23

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-10-16 11:59
zxpz0
谢谢楼主的帖子!

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-11-01 19:39
hyx728920
好,收藏 :em11

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-11-03 9:13
tearangel
知道支持9.10吗

Re: 大家都做定制版之UCK-Ubuntu Customization Kit

发表于 : 2009-12-10 18:28
soiamso
lz有个问题,顶制的系统可以安装到硬盘吗?