Ero sivun ”Installing horde on ubuntu” versioiden välillä

PiraattiWikistä
Siirry navigaatioon Siirry hakuun
pEi muokkausyhteenvetoa
pEi muokkausyhteenvetoa
Rivi 62: Rivi 62:
<pre>
<pre>
$conf['cookie']['path'] = '/';
$conf['cookie']['path'] = '/';
</pre>
Edit /etc/horde/horde3/prefs.php to look like following:<br><br>
twentyFour stanza:
<pre>
'value' => true,
</pre>
date_format stanza:
<pre>
'value' => '%Y-%m-%d',
</pre>
first_week_day stanza:
<pre>
'value' => '1',
</pre>
</pre>


Rivi 69: Rivi 83:
'webroot' => '',
'webroot' => '',
</pre>
</pre>
Now web-configure horde
<pre>
kronolith stanza:
kronolith stanza:
<pre>
<pre>
Rivi 84: Rivi 101:
<pre>
<pre>
'status' => 'active',
'status' => 'active',
</pre>
Edit /etc/horde/horde3/prefs.php to look like following:<br><br>
twentyFour stanza:
<pre>
'value' => true,
</pre>
date_format stanza:
<pre>
'value' => '%Y-%m-%d',
</pre>
first_week_day stanza:
<pre>
'value' => '1',
</pre>
</pre>

Versio 14. elokuuta 2009 kello 23.17

Dedicated vhost installation:

apt-get install turba2 kronolith2 mnemo2 nag2

Apache configuration file:

<VirtualHost *:80>

        ServerAdmin webmaster@localhost

        DocumentRoot /usr/share/horde3
        ServerName horde.example.com

        Alias /horde3 /usr/share/horde3

        <Directory /usr/share/horde3/>
                Options FollowSymLinks
                AllowOverride Limit
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/horde.example.com/horde.example.com-error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/horde.example.com/horde.example.com-access.log combined

</VirtualHost>

Get necessary sql creation scripts:

zcat /usr/share/doc/horde3/examples/scripts/sql/create.pgsql.sql.gz > create.pgsql.sql
cp /usr/share/doc/turba2/examples/scripts/sql/turba.pgsql.sql .
cp /usr/share/doc/kronolith2/examples/scripts/sql/kronolith.pgsql.sql .
cp /usr/share/doc/mnemo2/examples/scripts/sql/mnemo.sql .
cp /usr/share/doc/nag2/examples/scripts/sql/nag.sql .

Edit beginning of create.pgsql.sql to read:

CREATE USER horde;
ALTER USER horde WITH PASSWORD 'password';

As postgresql superuser, run:

psql < create.pgsql.sql
psql horde horde < kronolith.pgsql.sql
psql horde horde < turba.pgsql.sql
psql horde horde < mnemo.sql
psql horde horde < nag.sql

Edit /etc/horde/horde3/conf.php ; remove first echo and exit lines. Then do the following change:

$conf['cookie']['path'] = '/';

Edit /etc/horde/horde3/prefs.php to look like following:

twentyFour stanza:

'value' => true,

date_format stanza:

'value' => '%Y-%m-%d',

first_week_day stanza:

'value' => '1',

Edit /etc/horde/horde3/registry.php to look like following:

horde stanza:

'webroot' => '',

Now web-configure horde

kronolith stanza:
<pre>
'status' => 'active',

turba stanza:

'status' => 'active',

menemo stanza:

'status' => 'active',

nag stanza:

'status' => 'active',