\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
+Installation

Horde Groupware requires some prerequisite software before you can use it. In addition, there are other software packages which, while<br />
not required, are recommended as without them you will experience very limited functionality. The following helps you to<br />
install the required and recommended software packages on a Debian Etch (4.0) System.

*There is also a Horde 'Groupware Webmail Edition' this will not be the part of this how to*<br />
*This how to will not cover your mailserver setup.*

*Note: this how to is just a draft and not really perfect - feel free to edit it and make it better*

\part{Debian specific}
I started with a new and fresh Debian(openvz-image)<br />
You should update your system.

<pre><code>
apt-get update \&\& apt-get dist-upgrade
</code></pre>
+Install Apache and php and modules

<pre><code>
apt-get install libapache2-mod-php5 apache2 apache2-mpm-prefork
</code></pre>
You need the cli for the horde setup script!

<pre><code>
apt-get install php5-cli
</code></pre>
These php modules are needed for horde Groupware

<pre><code>
apt-get install php-pear php5-gd php5-ldap php5-mcrypt php5-memcache 
</code></pre>
For webmail you need the imap extension

<pre><code>
apt-get install php5-imap
</code></pre>
If you want to use mysql as Database backend, you should install the php5-mysql extension

<pre><code>
apt-get install php5-mysql
</code></pre>
If you want to you postgresql as Database backend install php5-pgsql

<pre><code>
apt-get install php5-pgsql
</code></pre>
+Install Database<br />
For Mysql

<pre><code>
apt-get install mysql-server
</code></pre>
You will be asked for a mysqlroot password - don't forget it ;)<br />
After that you need to create a user and create grants.

<pre><code>
mysql -p -e 'CREATE USER HORDE ...'
</code></pre>
<pre><code>
mysql -p -e 'grant all on horde.* to horde@localhost identified by "horde";'
</code></pre>
+Install Horde Groupware<br />
Download and unpack it

<pre><code>
wget [tarball]
cd /root
tar -xvf horde-webmail-1.0.1.tar.gz
</code></pre>
copy to /var/www and change owner

<pre><code>
cp -r /root/horde-webmail-1.0.1 /var/www/horde
chown -r www-data:www-data horde
</code></pre>
with php5-cli start the setup script

<pre><code>
php5 -q /var/www/horde/scripts/setup.php
</code></pre>
\end{document}
