TUTOS Homepage / Installation Basics
how to install TUTOS / basics
- get the latest tarball from TUTOS Project
- if you got the bzip version
tar xvIf tutos.....bz2
or
cat tutos.....bz2 | bunzip | tar xvf -
- Change to the newly created tutos directory
- if you are updating: Read the ChangeLog file in your base directory
- look for patches that might be neccessary for your release
You will find patches at http://sourceforge.net/patch/?group_id=8047
- 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.
- continue with the steps necessary for
your flavour of TUTOS
PHP version
- 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.
- edit [apacheinstalldir]/conf/httpd.conf
Add a line like this at the end of the file.
Include [tutosdir]/apache.conf
- restart apache
/usr/local/apache/bin/apachectl configtest
/usr/local/apache/bin/apachectl restart
- 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.
- 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
- 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