6.0.0-git
2024-04-30

Diff for FC4InstallationNotes between 14 and 15

+ Installation



++ SQL



+++ !MySQL



<code>

yum install php-mysql mysql-server

</code>

(You might need more packages depending your installation.)



//OR//



+++ !PostgreSQL



<code>

yum install postgresql-server php-pgsql postgresql-libs mod_auth_pgsql postgresql

</code>



++ PEAR



<code>

pear install -f Net_IMAP Log Mail_Mime File Date Console_Getopt

</code>



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:

<code>

pear install http://www.iptp.net/files/File-1.2.1.tgz

</code>



++ Other Packages

<code>

yum install php-xml php-imap cvs

</code>



++ Horde



<code>

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

pear channel-discover pear.horde.org

php install-packages.php

mkdir -p /var/horde/vfs

chown -R apache:apache /var/horde

</code>



+ Configuration



++ SQL



<code>

mysqladmin -u root password 'password'

mysqladmin -u root -h your.host.name password 'password'

</code>





++ Creating the MySQL Database



<code>

cd /var/www/html/horde/scripts/sql

vi create.mysql.sql

</code>

Then change the database password



<code>

mysql -u root -p < create.mysql.sql

</code>





++ 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):



<code>

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

</code>



and then set the correct file permissions:



<code>

cd /var/www/html

chown -R apache:apache horde

chmod -R o-rwx horde

</code>



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//