Download Zarafa Collaboration Platform

Transcript
Rozdział 5. Configure 3rd Party Components
mkdir /var/lib/z-push /var/log/z-push
chown www-data:www-data /var/lib/z-push /var/log/z-push
The user and group name of Apache will differ per Linux distribution. The table below shows an
overview of the user and group names of the Apache process.
Tabela 5.2. User and groupnames per distribution
Distribution
Apache username
Groupname
Red Hat Enterprise Linux
apache
apache
SLES
wwwrun
www
Debian and Ubuntu
www-data
www-data
On systems with SELinux enabled the security context of these folders might need to be changed, e.g.
chcon -R -t httpd_sys_rw_content_t /var/lib/z-push
chcon -R -t httpd_sys_rw_content_t /var/log/z-push
Now, Apache must be configured to redirect the URL Microsoft-Server-ActiveSync to
the index.php file in the z-push directory. This can be done by adding the following line to the
httpd.conf file:
Alias /Microsoft-Server-ActiveSync /usr/share/z-push/index.php
Make sure that the line is added to the correct part of the Apache configuration, taking care of virtual
hosts and other Apache configurations.
Additional PHP Packages
To use the full featureset of Z-Push 2 and the z-push-top command line utility, additional php packages
are required. These provide SOAP support, access to process control and shared memory.
Tabela 5.3. Additional packages per distribution
Distribution
Package name
Red Hat Enterprise Linux*
php-cli php-soap php-process
SLES**
php53 php53-soap php53-pcntl php53-sysvshm
php53-sysvsem php53-posix
Debian and Ubuntu
php5-cli php-soap
• To install the php-process package you need to add an extra channel subscription from the RHEL
Server Optional channel.
• The PHP Posix package is included in the SLES SDK Repository.
WAŻNE
It is not possible to simply rename the Z-Push directory to Microsoft-Server-ActiveSync.
This will cause Apache to send redirects to the smartphone, which will prevent proper
synchronization.
Lastly, make sure that PHP has the following settings:
64