Muokataan sivua Horde Debian-pohjaisissa jakeluissa
Siirry navigaatioon
Siirry hakuun
Kumoaminen voidaan suorittaa. Varmista alla olevasta vertailusta, että haluat saada aikaan tämän lopputuloksen, ja sen jälkeen julkaise alla näkyvät muutokset.
Nykyinen versio | Oma tekstisi | ||
Rivi 1: | Rivi 1: | ||
Horde on php-pohjainen ohjelmistoalusta, johon on mahdollista asentaa erilaisia lisätoiminnallisuuksia tarjoavia moduuleita. | |||
Seuraavassa kuvataan Horden ja tärkeiden lisämoduuleiden asentaminen virtuaalidomainin alle. | Seuraavassa kuvataan Horden ja tärkeiden lisämoduuleiden asentaminen virtuaalidomainin alle. Asennus toimii ainakin Ubuntu Server 9.04 (64bit) -versiossa. Tietokantaratkaisuna käytössä on PostgreSQL. | ||
Aptilla liikkeelle: | |||
<pre> | |||
apt-get install turba2 kronolith2 mnemo2 nag2 | |||
</pre> | |||
Komento asentaa osoitekirja-moduulin, kalenterin, muistikirjan ja TODO-listan. Dependencyt (mukaanlukien Horden peruspaketti) asennetaan automaattisesti tarvittaessa. | |||
Apache kannattaa konfiguroida esimerkiksi seuraavasti (käytössä virtuaalihosti nimeltään horde.example.com): | |||
< | <pre> | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
Rivi 33: | Rivi 38: | ||
</VirtualHost> | </VirtualHost> | ||
</ | </pre> | ||
Muista luoda myös tarvittava logihakemisto, esim. /var/log/apache2/horde.example.com/ | Muista luoda myös tarvittava logihakemisto, esim. /var/log/apache2/horde.example.com/ ! | ||
Tarpeelliset tietokantaskriptit kannattaa kopioida samaan paikkaan (seuraavassa käytetty PostgreSQL:ää):<br> | Tarpeelliset tietokantaskriptit kannattaa kopioida samaan paikkaan (seuraavassa käytetty PostgreSQL:ää):<br> | ||
<pre> | |||
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 . | |||
</pre> | |||
Muokkaa create.pgsql.sql lukemaan seuraavasti (PostgreSQL:n tapauksessa, muilla tietokannoilla käytäntö saattaa vaihdella. Käytä oikeaa salasanaa.): | Muokkaa create.pgsql.sql lukemaan seuraavasti (PostgreSQL:n tapauksessa, muilla tietokannoilla käytäntö saattaa vaihdella. Käytä oikeaa salasanaa.): | ||
Rivi 48: | Rivi 56: | ||
ALTER USER horde WITH PASSWORD 'salasana'; | ALTER USER horde WITH PASSWORD 'salasana'; | ||
</pre> | </pre> | ||
Generoi tyhjä tietokanta SQL-pääkäyttäjänä (anna edellämainittu salasana kysyttäessä). Seuraavassa on käytetty PostgreSQL:ää: | Generoi tyhjä tietokanta SQL-pääkäyttäjänä (anna edellämainittu salasana kysyttäessä). Seuraavassa on käytetty PostgreSQL:ää: | ||
Rivi 64: | Rivi 73: | ||
Muokkaa /etc/horde/horde3/prefs.php seuraavasti:<br><br> | Muokkaa /etc/horde/horde3/prefs.php seuraavasti:<br><br> | ||
twentyFour | twentyFour stanza: | ||
<pre> | <pre> | ||
'value' => true, | 'value' => true, | ||
</pre> | </pre> | ||
date_format | date_format stanza: | ||
<pre> | <pre> | ||
'value' => '%Y-%m-%d', | 'value' => '%Y-%m-%d', | ||
</pre> | </pre> | ||
first_week_day | first_week_day stanza: | ||
<pre> | <pre> | ||
'value' => '1', | 'value' => '1', | ||
</pre> | </pre> | ||
Edit /etc/horde/kronolith2/prefs.php to loog like following:<br><br> | |||
week_start_monday | week_start_monday stanza: | ||
<pre> | <pre> | ||
'value' => '1', | 'value' => '1', | ||
</pre> | </pre> | ||
Edit /etc/horde/horde3/registry.php to look like following:<br><br> | |||
horde | horde stanza: | ||
<pre> | <pre> | ||
'webroot' => '', | 'webroot' => '', | ||
</pre> | </pre> | ||
Change config directory permissions: | |||
<pre> | |||
chown www-data:www-data /etc/horde/ -R | |||
</pre> | |||
Web-configure horde from http://horde.example.com<br><br> | |||
Now edit /etc/horde/horde3/registry.php again to look like following:<br><br> | |||
kronolith | kronolith stanza: | ||
<pre> | <pre> | ||
'status' => 'active', | 'status' => 'active', | ||
</pre> | </pre> | ||
turba | turba stanza: | ||
<pre> | <pre> | ||
'status' => 'active', | 'status' => 'active', | ||
</pre> | </pre> | ||
mnemo | mnemo stanza: | ||
<pre> | <pre> | ||
'status' => 'active', | 'status' => 'active', | ||
</pre> | </pre> | ||
nag | nag stanza: | ||
<pre> | <pre> | ||
'status' => 'active', | 'status' => 'active', | ||
</pre> | </pre> | ||
Now configure horde again, for horde set $conf[share][no_sharing] to OFF and $conf[share][any_group] ON. Also, configure the permissions system; add kronolith , turba, mnemo and nag to the permissions system. For all the aforementioned apps, grant Show and Read permissions for 1) "All Authenticated Users" and 2) "Guest Permissions".<br> | |||
Now every user can configure sharing of his/her calendar, address book, etc. For example, to share one's calendar, select Calendar app, "Manage Calendars" and select the "keys" icon, then check Show and Read permissions for "Guest Permissions". | |||
=== SyncML synchronization to mobile phone === | |||
The best thing with the setup, IMHO, is the ability to synchronize all the data to a SyncML capable mobile phone. I use Nokia E51, and the synchronization just works. To setup synchronization on phone, do the following: | |||
1. Select Tools => Sync => Options => New sync profile (don't copy values). Name the profile as Horde. | |||
2. Select Connection settings and set: | |||
* Server version "1.2" (I don't really know what this does, but 1.2 has worked for me) | |||
* Server ID "horde.example.com" (substitute your own server here) | |||
* Data bearer "Internet" | |||
* Access point "Always ask" | |||
* Host address "http://horde.example.com/rpc.php" (susbsitute your own server) | |||
* Port "80" | |||
* User name "(your horde username)" | |||
* Password "(your horde password)" | |||
* Allow sync requests "Yes" | |||
* Accept all sync requests "No" | |||
* Network authentication "No" | |||
3. From Horde profile menu, select Applications | |||
* | * Select Contacts and set: | ||
* " | ** Include in sync "Yes" | ||
** Remote database "contacts" | |||
** Synchronization type "Both ways" | |||
* Select Calendar and set: | |||
** Include in sync "Yes" | |||
** Remote database "calendar" | |||
** Synchronization type "Both ways" | |||
* Select Notes and set: | |||
** Include in sync "Yes" | |||
** Remote database "notes" | |||
** Synchronization type "Both ways" | |||
=== Notes: === | |||
* Make sure, php has at least 32 MB's of memory | |||
* Preference system should be used with the 'SQL database' option |