6.0.0-git
2024-05-19
Last Modified 2005-01-11 by Guest

I wrote this some weeks ago for remembering and reducing trouble for next installation of HORDE etc.

Almost all should be done with copy&paste. I assume you have read the docs coming with the Horde-modules. I also assume you are using mysql for storing data and you are able to edit several files in horde/config and other modules to match your environment.

I also want to mention that the following code is quick and dirty pasted from my install which was done with RedHat 7.3 and Fedora Core 1, but should work at least with all other compatible distributions. I am running this for private uses and at university I am working for, both without trouble.

So let's go on:

Open a bash or similar:

cd to your webserver's document-tree

export CVSROOT=:pserver:cvsread@anoncvs.horde.org:/repository

cvs login: (pw= horde)

cvs co horde

cd horde

cvs co framework (!!!!)

cd scripts/db

mysql -u root -p <mysql_create.sql

mysql -u root -p horde <auth_initial_user.sql (creates admin:admin)

mysql -u root -p horde <sessionhandler.sql

.... same procedure with token.sql, log.sql etc. if you want to use these ....

cd ../../config/

for foo in *.dist; do cp $foo `basename $foo .dist`; done

vi conf.php (edit: auth, category, session etc.)

change auth to this:

$conf['auth']['admins'] = array('admin');

Open your Browser: http://your.domain.tld/horde/test.php

PEAR is missing something? Okay:

cd ../framework/

./install-packages.php

Looks better, if there are missing packets do "pear install x_y"

Then login to http://your.domain.tld/horde/ as admin:admin and go to Administration--> users --> only if you did install turba (see below)

Lean back, get a cool beer or somewhat else conveniant:

cd /path/to/horde/

cvs co imp kronolith nag mnemo trean jonah rakim klutz etc.pp., all modules you want to have to be installed. See:

( http://wiki.horde.org/display.php?page=Modules )

Then for each module:

cd <modulename>/config/

for foo in *.dist; do cp $foo `basename $foo .dist`; done

cd ../scripts/drivers (could vary, e.g. scripts/database)

mysql -u root -p horde <modulename.sql

Horde-->login-->Configuration--> <modulename> creates a conf.php, copy this to horde/<modulename>/config/conf.php

Repeat this for each module you did install. Some don't need doing the foo-ing or inserting to mysql.

So you are nearly done. The menubar can be configured through horde/config/registry.php

To add users via the GUI:

cd /path/to/horde/ (for easier creation of new users)

cvs co turba

cd turba/config

for foo in *.dist; do cp $foo `basename $foo .dist`; done

cd ../scripts/drivers

mysql -u root -p horde <turba.sql wedding.sql(?)

edit turba/config/sources.php: (I only use

$cfgSources['localsql'] = array(

'title' => _("My Addressbook"),

'type' => 'sql',

................

............... )

Like I said before, this is a quick and dirty manual. You _really_ should have read the docs before trying this, I wrote this stuff for just remembering myself.

Andy

andy at stronzo.d2g.com