ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using and Customizing Knoppix
Subject:   Tomcat
Date:   2004-04-28 04:09:56
From:   author_robert
Response to: Tomcat

You need to configure tomcat prior to committing it to the CD. Here's a snippet of a script that I wrote for installing PostgreSQL onto my own knoppix CD. It is part the standard Debian, init script except that it copies the database cluster over to the RAM drive so it can become writable after the CD has loaded the OS

##########################################################################
# code added by Robert Bernier, December 2003
#
if [ -h /var/lib/postgres/dumpall/unknown/psql ]; then
echo -n Replacing symbolic links with hard links for PostgreSQL/knoppix adaption; ech
o
rm -rf /var/lib/postgres
cp -Lfr /KNOPPIX/var/lib/postgres /var/lib/
chown -R postgres:knoppix /var/lib/postgres/data
else
echo This is not a knoppix CD
fi
#
##########################################################################

1 to 1 of 1
  1. Tomcat
    2004-04-30 07:16:43  gianfranco [View]

1 to 1 of 1