Installation: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
==Backup== | |||
Cronjob | |||
* 4 * * * /bin/bash /root/backup.sh >/dev/null 2>&1 | |||
==Crontab== | |||
Die Logdatei fetchmail.log wird sehr gross, diese wird mittels Cronjob gelöscht -> Neu erstellt -> Rechte neu gesetzt. | |||
@monthly rm -r /var/log/fetchmail.log && echo '#new file' > /var/log/fetchmail.log && chmod 777 /var/log/fetchmail.log | |||
==z-Push== | ==z-Push== | ||
http://doc.zarafa.com/trunk/Administrator_Manual/en-US/html/_zpush.html | http://doc.zarafa.com/trunk/Administrator_Manual/en-US/html/_zpush.html | ||
| Zeile 21: | Zeile 27: | ||
ln -s /usr/share/z-push/z-push-admin.php /usr/sbin/z-push-admin | 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 | ln -s /usr/share/z-push/z-push-top.php /usr/sbin/z-push-top | ||
Testen | |||
https://<ActiveSyncServerURL>/Microsoft-Server-ActiveSync | |||
Aktuelle Version vom 17. November 2014, 11:15 Uhr
Backup
Cronjob
* 4 * * * /bin/bash /root/backup.sh >/dev/null 2>&1
Crontab
Die Logdatei fetchmail.log wird sehr gross, diese wird mittels Cronjob gelöscht -> Neu erstellt -> Rechte neu gesetzt.
@monthly rm -r /var/log/fetchmail.log && echo '#new file' > /var/log/fetchmail.log && chmod 777 /var/log/fetchmail.log
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
Testen
https://<ActiveSyncServerURL>/Microsoft-Server-ActiveSync