如何使我自己的Ubuntu最小安装?

我已经在ubuntu之上构build了一个完整的应用程序解决scheme。

现在我已经准备好了; 我正在寻找使我自己安装的Ubuntu(最小的足迹可能只有我的应用程序需要的非常简单的包)。

我的应用程序主要由mysql服务器,php,proftp和nginx(加上一些其他的bash脚本)组成。

这个想法将是一个干净和精益的安装程序,将安装一切,以便我可以重新分配这个“应用程序”与一个简单的安装光盘(最终用户更容易)。

我偶然发现了Ubuntu Minimal Remix( http://www.ubuntu-mini-remix.org/ )

这似乎是一个很好的起点; 但它是一个现场的CD; 我可以安装我的整个应用程序框架,没有问题。 但是,我不知道如何做一个安装程序或如何build立实际上将安装我的“设备”的ISO。

我会很感激任何简单的指导方针或方向让我开始。

我花了相当一段时间来弄清楚重新安装是如何工作的。 我终于得到了它的诀窍,并写下用安装程序创build我的第一个现场CD的步骤。 我想感谢Pilolli Pietro为这个谷歌代码维基页面: http : //code.google.com/p/ardesia/wiki/Create_a_live_distro 。

这一行专门用来添加一个安装程序(从remix的上下文执行):

// check the dependencies of that package to find out what other // flavors you could use. apt-get --with-install-recommends install ubiquity-frontend-kde 

我采取的所有步骤如下。 我知道一些东西是不存在的,但是更多地了解它是如何工作的。

 // get a util to help with creating the image sudo apt-get install uck // clean any previous stuff sudo uck-remaster-clean // unpack the iso sudo uck-remaster-unpack-iso /mnt/iso/ubuntu-mini-remix-12.10-i386.iso // unpack the root fs sudo uck-remaster-unpack-rootfs // change focus to the root fs sudo uck-remaster-chroot-rootfs // make repositories available (uncomment all universe and multiverse entries) nano /etc/apt/sources.list // update apt apt-get update // disable automatic suggestions (--with-install-recommends can temporary enable them) nano /etc/apt/apt.conf //-- contents APT::Install-Recommends "false"; APT::Install-Suggests "false"; //-- // install kde desktop apt-get install plasma-desktop // install ltsp client and kubuntu theme for ldm apt-get install ltsp-client ldm-kubuntu-theme // install basic applications apt-get install dolphin kdesdk-dolphin-plugins kdepasswd kfind konsole kwrite kompare plasma-widget-folderview // install browser apt-get install chromium-browser // install package manager apt-get install muon muon-updater muon-notifier // add an installer apt-get --with-install-recommends install ubiquity-frontend-kde // remove any leftovers of installed and then uninstalled packages (should not do anything) apt-get autoremove // clean the cache apt-get clean // change focus exit // pack the root fs sudo uck-remaster-pack-rootfs // create an iso sudo uck-remaster-pack-iso ubuntu-mini-kde-12.10-i386.iso //copy the iso cp ~/tmp/remaster-new-files/ubuntu-mini-kde-12.10-i386.iso /mnt/iso/