Women in Technology

Hear us Roar



Article:
  Using and Customizing Knoppix
Subject:   Tomcat
Date:   2004-04-28 03:51:55
From:   gianfranco
Hi Robert,


I've costumazed my knoppix LiveCd by using your howto. Now I have a question for you. Do you know how I can configure and run Tomcat web server in my liveCd?


thank you

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Tomcat
    2004-04-28 04:09:56  author_robert [View]

    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
    #
    ##########################################################################
    • Tomcat
      2004-04-30 07:16:43  gianfranco [View]

      Ok, I see. Now I try to do it.

      Thank you very much.