Custom Ubuntu Live CD

From CLUG Wiki

Jump to: navigation, search

newpage icon WARNING: This is a new page.

This is a new page, and might contain technically incorrect information. Please use at your own risk. If you are able to correct any errors or expand this document, please do so.

This describes the creation of a custom Ubuntu Live CD, for the purpses of demoing a web service.

Contents

Ubuntu Page

This document requires that you follow this ubuntu page on the subject. I'm only mentioning a few specific gotchas here.

Free some disk space

I removed these:

  • Openoffice.org
  • Evolution
  • Gaim
  • Sample Docs
  • Ekiga
  • Gthumb

Set the repository

If your CD is going to have limited distribution, it might be a good idea to set a local ubuntu repository in /etc/apt/sources.list

Now is also a good time to dist-upgrade to the lastest security updates, backports, etc.

Set up some "server" services

  • Install nullmailer, apache2, php5, mysql, etc.
  • Set DO_NOT_START=0 in /etc/default/apache2
  • Set up any php settings you need in /etc/php5/apache2/php.ini
  • Set up mysql databases, and create a user with a random password (although this will be static across all CDs)
  • Install your webapp, and give it some sensible default settings.
  • Edit /etc/apache2/sites-available/default, and add EnableSendfile Off. Unionfs doesn't currently support sendfile(). This may change in the future...

Desktop settings

Build

Cleanup, build, and test, as the ubuntu documentation describes