e87a8bd319
Approved by: portmgr blanket
63 lines
2.4 KiB
Text
63 lines
2.4 KiB
Text
|
|
Preparing the database
|
|
---------------------------------------------
|
|
|
|
Connect to your MySQL database server using your favorite client. Create a
|
|
database with UTF8 charset and connect user with the data you had entered
|
|
into the 'database' array of your 'config.inc.php':
|
|
|
|
mysql> CREATE DATABASE tine20db DEFAULT CHARACTER SET 'UTF8';
|
|
mysql> GRANT ALL PRIVILEGES ON tine20db.* TO 'tine20user'@'localhost'
|
|
IDENTIFIED BY 'tine20pw';
|
|
|
|
The first command creates the database 'tine20db'. The second one adds an
|
|
user 'tine20user' with password 'tine20pw' and all privileges on the previously
|
|
created database. Connections of that user are allowed only from from localhost.
|
|
|
|
|
|
Start the setup GUI
|
|
---------------------------------------------
|
|
|
|
Open your favorite web browser and go to:
|
|
|
|
http://your_webserver/path_to_tine/setup.php
|
|
|
|
Log in with the username/password you filled into
|
|
the 'setupuser' array of your config.inc.php.
|
|
|
|
|
|
%%DISTNAME%% has been installed into:
|
|
|
|
%%WWWDIR%%
|
|
|
|
Example Apache config:
|
|
|
|
Alias /tine20/ "%%WWWDIR%%/"
|
|
|
|
<Directory "%%WWWDIR%%/">
|
|
Options none
|
|
AllowOverride Limit
|
|
|
|
Order Deny,Allow
|
|
Deny from all
|
|
Allow from 127.0.0.1 .example.com
|
|
</Directory>
|
|
|
|
# if you wish to serve ActiveSync request (mobile devices), add this:
|
|
RewriteRule /Microsoft-Server-ActiveSync(.*) %%WWWDIR%%/index.php?frontend=activesync [E=REDIRECT_ACTIVESYNC:true,E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
|
|
|
# if you wish to serve CalDAV requests (thunderbird lighting), add this:
|
|
RewriteCond %{REQUEST_METHOD} !^(GET|POST)$
|
|
RewriteRule ^/tine20/$ %%WWWDIR%%/index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
|
RewriteRule ^/tine20/addressbooks %%WWWDIR%%/index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
|
RewriteRule ^/tine20/calendars %%WWWDIR%%/index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
|
RewriteRule ^/tine20/principals %%WWWDIR%%/index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
|
RewriteRule ^/tine20/webdav %%WWWDIR%%/index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
|
|
|
More information on how to setup ActiveSync can be found here:
|
|
|
|
https://wiki.tine20.org/Admins/Synchronisation
|
|
|
|
More information on how to setup CalDAV can be found here:
|
|
|
|
https://wiki.tine20.org/Admins/Thunderbird-Synchronisation
|