[cvs] [Wiki] changed: HordeHEADHowTo
Wiki Guest
wiki at wiki.horde.org
Mon Jan 10 19:37:41 PST 2005
guest [65.214.38.219] Mon, 10 Jan 2005 19:37:41 -0800
Modified page: http://wiki.horde.org/display.php?page=HordeHEADHowTo
New Revision: 26.0
@@ -1,59 +1,71 @@
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.
+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
+cd to your web server's document-tree
+<code>
export CVSROOT=:pserver:cvsread at anoncvs.horde.org:/repository
-cvs login: (pw= horde)
+cvs login (password: "horde")
cvs co horde
cd horde
- cvs co framework (!!!!)
+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 ....
+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
+</code>
+.... same procedure with token.sql, log.sql etc. if you want to use these ....
+
+<code>
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');
+for foo in *.dist; do cp $foo `basename $foo .dist`; done
+vi conf.php (edit: auth, category, session etc.)
+</code>
+
+change auth to this:
+$conf['auth']['admins'] = array('admin');
Open your Browser: http://your.domain.tld/horde/test.php
PEAR is missing something? Okay:
+<code>
cd ../framework/
- ./install-packages.php
+./install-packages.php
+</code>
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:
+<code>
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 )
+cvs co imp kronolith nag mnemo trean jonah rakim klutz ...
+</code>
+
+all modules you want to have to be installed. See: ((Modules))
Then for each module:
+<code>
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
+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
+</code>
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.
@@ -61,23 +73,27 @@
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(?)
+<code>
+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(?)
+</code>
- edit turba/config/sources.php: (I only use
- $cfgSources['localsql'] = array(
- 'title' => _("My Addressbook"),
- 'type' => 'sql',
- ................
- ............... )
+edit turba/config/sources.php: (I only use
+<code>
+$cfgSources['localsql'] = array(
+ 'title' => _("My Addressbook"),
+ 'type' => 'sql',
+ ................
+ ................ )
+</code>
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
More information about the cvs
mailing list