Zum Inhalt springen

Installation

Aus Computech CMS Wiki

z-Push

http://doc.zarafa.com/trunk/Administrator_Manual/en-US/html/_zpush.html

tar zxvf z-push-<version>.tar.gz -C /usr/share/
mkdir /var/lib/z-push mkdir /var/log/z-push
chmod 755 /var/lib/z-push /var/log/z-push chown www-data:www-data /var/lib/z-push /var/log/z-push
chcon -R -t httpd_sys_rw_content_t /var/lib/z-push chcon -R -t httpd_sys_rw_content_t /var/log/z-push

httpd.conf --> /etc/apache2/

Alias /Microsoft-Server-ActiveSync /usr/share/z-push/index.php

Lastly, make sure that PHP has the following settings:

php_flag magic_quotes_gpc = off php_flag register_globals = off php_flag magic_quotes_runtime = off php_flag short_open_tag = on

Set this in the php.ini or in a .htaccess file in the root directory of Z-Push.If you have several php applications on the same system, you could specify the z-push directory so these settings are considered only there.<Directory /usr/share/z-push> php_flag magic_quotes_gpc off php_flag register_globals off php_flag magic_quotes_runtime off php_flag short_open_tag on</Directory>

To use the Z-Push 2.X command line tools, access the installation directory /usr/share/z-push and execute: ./z-push-top.php

./z-push-admin.php
ln -s /usr/share/z-push/z-push-admin.php /usr/sbin/z-push-admin
ln -s /usr/share/z-push/z-push-top.php /usr/sbin/z-push-top