++ SQL
+++ !MySQL
yum install php-mysql mysql-server
(You might need more packages depending your installation.)
//OR//
+++ !PostgreSQL
yum install postgresql-server php-pgsql postgresql-libs mod_auth_pgsql postgresql
++ PEAR
pear install -f Net_IMAP Log Mail_Mime File Date Console_Getopt
Read the note: http://pear.php.net/bugs/bug.php?id=5113
If you've faced this problem then you can download a patched file:
pear install http://www.iptp.net/files/File-1.2.1.tgz
++ Other Packages
yum install php-xml php-imap cvs
++ Horde
cd /var/www/html
cvs -d :pserver:cvsread@anoncvs.horde.org:/repository login
Password: horde
cvs -d :pserver:cvsread@anoncvs.horde.org:/repository checkout horde
cd horde
cvs -d :pserver:cvsread@anoncvs.horde.org:/repository checkout framework imp kronolith mnemo nag passwd turba ingo
cd framework
php install-packages.php
mkdir -p /var/horde/vfs
chown -R apache:apache /var/horde
++ SQL
mysqladmin -u root password 'password'
mysqladmin -u root -h your.host.name password 'password'
++ Creating the MySQL Database
cd /var/www/html/horde/scripts/sql
mysql -u root -p < create.mysql.sql
++ Horde
Firstly you need to install the distribution default configuration files, present in the config subdirectory within each Horde application (including the base Horde library itself):
cd /var/www/html/horde
for a in . mnemo nag turba imp ingo kronolith passwd; do cd /var/www/html/horde/$a/config; for f in *.dist; do cp $f basename $f .dist; done; done
and then set the correct file permissions:
cd /var/www/html
chown -R apache:apache horde
chmod -R o-rwx horde
You now need to configure all the Horde applications. Log in to your Horde installation, at http://your.host.name/horde/. Once you're in, click on the {{Administration}} link on the sidebar, then the {{Setup}} sub-option. Default Administrator password is mailadmin. You should see a list of available Horde applications in the main frame - you now need to go through this list and configure each Horde application as you please. Click on an entry in this list; you should be brought to a configuration screen. Go through each tab within this screen (if there are multiple tabs; otherwise there will just be a single page) and change any settings as you see fit (although the default options are usually sufficient if you don't feel comfortable editing all the available variables). Once you have finished configuring an application, click on the {{Generate XXX Configuration}} button at the bottom of the page to auto-generate the relevant {{conf.php}} file for the specific application. Repeat this process for every application in the {{Setup}} page.
//v at kangin dot org//