TUTOS Homepage / Easy Installation
how to install TUTOS / the easy way
- If you are updating from an older relase. Make a copy of your [tutosdir]/php/config.pinc and [tutosdir]/apache.conf !
- get the latest tarball from TUTOS
Project. Go to the directory where you like to install the software.
- if you got the bzip version
tar xvIf tutos.....bz2
or
cat tutos.....bz2 | bunzip | tar xvf -
- if you got the gzip version
tar xvzf tutos.....gz
or
cat tutos.....gz | gunzip | tar xvf -
- Change to the newly created tutos directory
Note: That directory should be accessible by your webserver.
- look for patches that might be neccessary for your release
You will find patches at http://sourceforge.net/patch/?group_id=8047
- edit [tutosdir]/php/config.pinc according to your Database settings.
If you are not updating you could start a new config.pinc by making a copy of
config_default.pinc and keep only those values that you have
changed.
You should read the file config_default.pinc complete (!) and make all your
changes in your personal config.pinc.
TUTOS will always read config_default.pinc and after that config.pinc. So if you are satisfied with the defaults you don't have to copy it to your personal config.pinc.
- if you are updating: Read the [tutosdir]/ChangeLog file in your base directory and
call the http://[yourserver]/tutos/php/update.php?id=XX page where XX is
our database index from config.pinc (typically it is zero)
Updaters should stop here !
- You will need a database and a DB User.
Functions to create your empty database and setting up a user are not part of TUTOS
(but here's a hint).
- edit [tutosdir]/apache.conf and include it into your apache httpd.conf
a line like "Include /home/gero/src/tutos/apache.conf" will do it.
Restart apache !.
This step could be optional if you can already reach your TUTOS install dir using your apache.
Nevertheless have a look at this file (apache.conf) in order to see what we do there.
- run http://[yourserver]/tutos/php/scheme.php If this will not work (i.e. you are already logged in to a old TUTOS installation) you could run http://[yourserver]/tutos/php/scheme.php?id=XX where XX is your database index from config.pinc .
- depending on the number of steps you perform you will have a runable tutos installation afterwards
- with a superuser account (User: superuser Password: tutos CHANGE THIS !!)
- with some example users and data
- test everything
- Login at http://[yourserver]/tutos/php/mytutos.php with the above username and password
- remove [tutosdir]/php/scheme.php,[tutosdir]/php/update.php and [tutosdir]/php/ldap_getdata.php from your php subdir or at least disable it for public use!!!
Back to install page