1. Kevin Veroneau
  2. Python Web Development LiveDVD


Kevin Veroneau  committed 70fd4ff

Initial release of Debian Live Squeeze web development system for Python.

  • Participants
  • Branches default

Comments (0)

Files changed (19)

File README.txt

View file
+This is a Debian live-build, version 2.0.12-1 build system files for a Web Development Environment
+Before proceeding to build the system, please do the following(or you will not have a proper system):
+Change your preferred username under "auto/config", also change the username in "config/chroot_local-hooks/enable-login.sh"
+If you wish to re-enable the Debian Live's ability to auto-login, remove the following files:
+Feel free to also custom any of these hooks to your specific requirements.
+In order to properly install both Eclipse and the latest version of Firefox(not iceweasel), please read the following readme file:
+If you wish to use Chrome, download the DEB package from Google.com/Chrome and place it into the following directory:
+You can customize any of the packages by creating a new list file in the following directory:
+Existing lists are already there, however refrain from editing those as an "hg update" may wipe your changes.
+After creating a new custom list file, add this file to your "auto/config" file.
+To start the actual build, run the following as the "root" user: lb build
+This will create an ISO binary image by default, you can change this in the "auto/config" file.
+This is for the live-build system shipped with "Debian Squeeze", and may not work with other versions of live-build.
+I may release a newer version of this build system for "Debian Wheezy" at a future date.

File webdev/auto/build

View file
+lb build noauto "${@}" 2>&1 | tee binary.log

File webdev/auto/clean

View file
+lb clean noauto "${@}"
+rm -f config/binary config/bootstrap config/chroot config/common config/source
+rm -f binary.log

File webdev/auto/config

View file
+lb config noauto \
+	-b iso \
+	--includes none \
+	--username kveroneau \
+	--binary-indices false \
+	--apt-recommends false \
+	--memtest none \
+	--iso-volume "WebDev" \
+	--iso-preparer "Kevin Veroneau" \
+	--iso-publisher "Kevin Veroneau Consulting" \
+	--hostname "webdev" \
+	--bootappend-live "toram" \
+	--archive-areas "main contrib non-free" \
+	--packages-lists "icewm webdev" \
+	"${@}"
+# Move this right below packages-lists and uncomment to enable the live system to work better with VirtualBox.
+#	--packages "virtualbox-ose-guest-x11" \

File webdev/config/chroot_local-hooks/eclipse.sh

View file
+chown -R 1000:1000 /opt/eclipse
+ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse

File webdev/config/chroot_local-hooks/enable-console.sh

View file
+rm -rf /lib/live/config/012-xinit

File webdev/config/chroot_local-hooks/enable-login.sh

View file
+rm -rf /lib/live/config/016-sysvinit
+adduser kveroneau
+passwd root

File webdev/config/chroot_local-hooks/firefox.sh

View file
+chown -R 1000:1000 /opt/firefox
+ln -s /opt/firefox/firefox /usr/local/bin/firefox

File webdev/config/chroot_local-hooks/rhc.sh

View file
+gem install rhc
+ln -s /var/lib/gems/1.8/bin/rhc /usr/local/bin/rhc
+return 0

File webdev/config/chroot_local-includes/etc/X11/icewm/preferences

View file
+LockCommand="xset dpms force off"
+ShutdownCommand="sudo halt"
+RebootCommand="sudo reboot"
+WorkspaceNames=" 1 ", " 2 ", " 3 ", " 4 "

File webdev/config/chroot_local-includes/etc/X11/icewm/toolbar

View file
+prog XTerm xterm x-terminal-emulator
+prog "Firefox" iceweasel firefox
+prog "Xfe" xfe xfe
+prog "Eclipse" /opt/eclipse/icon.xpm eclipse

File webdev/config/chroot_local-includes/etc/bash.bashrc

View file
+# System-wide .bashrc file for interactive bash(1) shells.
+# To enable the settings / commands in this file for login shells as well,
+# this file has to be sourced in /etc/profile.
+# If not running interactively, don't do anything
+[ -z "$PS1" ] && return
+# check the window size after each command and, if necessary,
+# update the values of LINES and COLUMNS.
+shopt -s checkwinsize
+# set variable identifying the chroot you work in (used in the prompt below)
+if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
+    debian_chroot=$(cat /etc/debian_chroot)
+# set a fancy prompt (non-color, overwrite the one in /etc/profile)
+PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
+# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
+# If this is an xterm set the title to user@host:dir
+#case "$TERM" in
+#    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
+#    ;;
+#    ;;
+# enable bash completion in interactive shells
+if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
+    . /etc/bash_completion
+# if the command-not-found package is installed, use it
+if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found ]; then
+	function command_not_found_handle {
+	        # check because c-n-f could've been removed in the meantime
+                if [ -x /usr/lib/command-not-found ]; then
+		   /usr/bin/python /usr/lib/command-not-found -- $1
+                   return $?
+                elif [ -x /usr/share/command-not-found ]; then
+		   /usr/bin/python /usr/share/command-not-found -- $1
+                   return $?
+		else
+		   return 127
+		fi
+	}

File webdev/config/chroot_local-includes/etc/hosts

View file
+	localhost webdev
+# The following lines are desirable for IPv6 capable hosts
+::1     ip6-localhost ip6-loopback
+fe00::0 ip6-localnet
+ff00::0 ip6-mcastprefix
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters

File webdev/config/chroot_local-includes/etc/skel/.icewm/theme

View file

File webdev/config/chroot_local-includes/opt/README.txt

View file
+This directory should contain the following:
+eclipse/      -  The extracted Eclipse IDE files.
+firefox/      -  The extracted Firefox binary distribution
+python/       -  Several virtualenvs for Python development
+wallpaper.jpg -  Your favorite wallpaper which will be automatically set for the LiveDVDs desktop

File webdev/config/chroot_local-packageslists/icewm.list

View file
+#include <standard-x11>

File webdev/config/chroot_local-packageslists/webdev.list

View file

File webdev/config/chroot_local-preseed/passwd.preseed

View file
+debconf passwd/user-default-groups string audio cdrom dialout floppy video plugdev netdev powerdev fuse

File webdev/config/chroot_local-preseed/sun-java6-jdk.preseed

View file
+sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true