TUTOS Homepage / Installation Basics how to install TUTOS / basics

  1. get the latest tarball from TUTOS Project
  2. if you got the bzip version
    tar xvIf tutos.....bz2
    or
    cat tutos.....bz2 | bunzip | tar xvf -
  3. Change to the newly created tutos directory
  4. if you are updating: Read the ChangeLog file in your base directory
  5. look for patches that might be neccessary for your release
    You will find patches at http://sourceforge.net/patch/?group_id=8047
  6. prepare your database
    edit shellfunc.sh (edit the ariables DBNAME , DBHOST , DBUSER etc.)
    run createdb.sh POSTGRES|MYSQL [CREATE|DROP]
    for ORACLE consult the oracle docs.
  7. continue with the steps necessary for your flavour of TUTOS
    PHP version
  8. edit [tutosdir]/apache.conf
    Change the lines begining with Alias and <Directory that they point to your [tutosdir]
    Fix the line Allow from to meet your security needs.
  9. edit [apacheinstalldir]/conf/httpd.conf
    Add a line like this at the end of the file.
    Include [tutosdir]/apache.conf
  10. restart apache
    /usr/local/apache/bin/apachectl configtest /usr/local/apache/bin/apachectl restart
  11. initialize the TUTOS database
    cd [tutosdir]
    ./scheme.sh POSTGRES|MYSQL|ORACLE   <--- select the approbiate database vendor
    You may have to change shellfunc.sh to use your database (see DBNAME DBHOST carg1 variables)
    scheme.sh deletes all previous tables and data, this leads to some error messages
    Don't care about this.
    If somethings goes wrong ,please read the note at the end of your output. Mainly MySQL chages its behaviour between the different releases and you need to modify the script.
  12. fill the database
    cd [tutosdir]
    If you want some data to test then
    ./example.sh POSTGRES|MYSQL|ORACLE   <--- select the approbiate database vendor
    If you want a superuser account only
    ./inittuos.sh POSTGRES|MYSQL|ORACLE   <--- select the approbiate database vendor
  13. use TUTOS
    The testdata from example.sh has some functional accounts:
    User linus and billgates both with password guest.
    The superuser in the example dataset is gero with password guest.
    The Superuser account from the inittutos.sh script has the account superuser and the password tutos.
    ( Please change that passwort at http://[yourhost]/tutos/php/user_new.php?id=100 )

    With PHP Version:
    To login point your browser to http://[yourhost]/tutos/php/calendar.php or any other page like
    http://[yourhost]/tutos/php/address_select.php or
    http://[yourhost]/tutos/php/bug_select.php or
    http://[yourhost]/tutos/php/product_select.php or

    With Servlet Version:
    To use TUTOS point your browser to:
    http://[yourhost]/tutos/servlets/Bugparade or
    http://[yourhost]/tutos/servlets/Calendar

    TUTOS will ask for a login whenever you come in new or your old login timed out.

Back to install page